Nevermore: a Poet's Mantra

    jbfc

    1.0.0 • Public • Published

    jbfc

    Jack's BF Compiler written in OCaml

    Description

    Jack's BF Compiler is written in OCaml, and is transpiled to JavaScript using js_of_ocaml.

    JBFC will transpile your BF code into unoptimized C code.

    Installing

    Requirements:

    • nodejs
    • npm

    To install the CLI of JBFC, run this:

    # Install the command line tools
    $ npm install --global jbfc

    When you have installed JBFC as a command line tool, you are already done.

    You can just run jbfc from the command line.

    Building from source

    Requirements:

    • ocaml
    • dune
    • js_of_ocaml

    Please clone the git repository, and make sure to set permissions for the *.sh files (I did chmod +x build.sh).

    To build and test the JS application, just execute ./build.sh. The JS application will not run if you do not have node installed in your system.

    To make a production build, run ./production.sh and a jbfc.js file should be created in the root directory.

    Install

    npm i jbfc

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.76 MB

    Total Files

    12

    Last publish

    Collaborators

    • jackprograms