Interpreters for the brainfuck language in multiple programming languages
Do not hesitate to add your own implementations through pull requests !
If the interpreter is a compiled binary file, it should be used like this :
./interpreter ../examples/helloworld.b
./interpreter .../examples/fibonacci.b
./interpreter ../examples/life.b
python interpret.py brainfuck-source-file
ghc interpret.hs
./interpret brainfuck-source-file
gcc interpreter.c -o interpreter
./interpret brainfuck-source-file
g++ interpreter.cpp -o interpreter
./interpret brainfuck-source-file
rustc interpret.hs
./interpret brainfuck-source-file
- Python
- C
- C++
- Haskell
- JavaScript
- Rust
- OCaml
- Ruby
- C#