OneSadCookie / bf2wasm

Compile Brainfuck to WebAssembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Compile Brainfuck to WebAssembly

License:MIT License


Languages

Language:Rust 92.3%Language:JavaScript 6.4%Language:Brainfuck 1.2%