This is a really simple Brainfuck interpreter written in Bah. This was made in 15 minutes so may not be the mose complexe interpreter.
To interpret a brainfuck program, use ./main <file>
.
./main helloworld.bf
To interpret a file in debug mode, use ./main <file> -debug
.
You will need to press any key to interpret the next instruction.
./main helloworld.bf -debug
This will output the following:
To compile the interpreter, do bah main.bah
.