A Brainf interpreter written in Java.
Most of my inspiration when I was writing this actually came from resources available on the original Brainf*ck Website.
- I still need to make more tests, as there are probably some programs in standard Brainf*ck that doesn't work well with this implementation.
- Create a compiler
- That compiles to Java Bytecode
- That compiles to native machine code
- Make this implementation embeddable so you can execute Brainf*ck programs inside another app.
You can build and run the interpreter like any other Maven project:
mvn package
java -jar target/bf.jar <program name>.b
The following programs were tested successfully:
- Conway's Game of Life (life.b)
- Number prettifier (numwarp.b)
- TicTacToe (tictactoe.b)
- Sierpiński triangle (sierpinski.b)
These all came from the Brainf*ck Website..