A minimal brainfuck interpreter in Rust. It was built purely for fun.
Note
Brainfuck, language itself, is a Turing-complete language created by Urban Müller. The language only consists of 8 operators, yet with the 8 operators, <>+-[],.
you are capable of writing almost any program you can think of.
To learn more:
- Clone this repo and
cd
into it:
git clone https://github.com/PraneshASP/brainfuck-rs.git && cd brainfuck-rs
- Run example:
cargo run ./examples/hello-world.bf
$ > cargo run ./examples/sierpinski.bf
*
* *
* *
* * * *
* *
* * * *
* * * *
* * * * * * * *
* *
* * * *
* * * *
* * * * * * * *
* * * *
* * * * * * * *
* * * * * * * *
* * * * * * * * * * * * * * * *