/bf2wasm

Compile Brainfuck to WebAssembly

Primary LanguageRustMIT LicenseMIT

bf2wasm

Compile Brainfuck to WebAssembly using Rust and Walrus.

Usage

Install Node to run the compiled WebAssembly. You can install it with Homebrew if you're on macOS.

cargo run -- -i hello.bf -o target/bf.wasm
node index.js

Note

Currently pointing to my own fork of Walrus due to a bug. Any release newer than 0.8.0 should include the fix.