/rsbf

a little brainfuck interpreter I wrote for fun

Primary LanguageRust

rsbf

This is a Brainfuck interpreter that I wrote in Rust as well as a (currently very sketchy) setup for running it in the browser via wasm.

To build and run the rust part:

cargo build

then you can

cargo run -- --help

there are some example programs in examples/ which you can run, for instance you could run a 'hello world' program like so:

cargo run -- examples/hello_world.brainfuck

There's also a (crappy) web frontend. After building the rust code you can run it like so:

pnpm i
npm run build:wasm
npm run dev