brainfuck2wasm

0.1.1 • Public • Published

Brainfuck to WebAssembly Compiler

Binaryen based compiler from brainfuck to WebAssembly (Wasm).

Usage

# install:
$ npm install brainfuck2wasm -g

# from source code:
$ npm install
$ npm link

# write some brainfuck code:
$ echo ">,[>,]<[.<]" > reverse.b

# compile it:
$ brainfuck2wasm reverse.b

# run wasm:
$ node index.js reverse.wasm ABCD
DCBA

License

MIT

/brainfuck2wasm/

    Package Sidebar

    Install

    npm i brainfuck2wasm

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    9.43 kB

    Total Files

    8

    Last publish

    Collaborators

    • ttulka