make brainfuck2d
./brainfuck2d programs/hello.bf
Standard Brainfuck programming applies, with two extra opcodes:
/
Move up one space on the 2D tape
\
Move down one space on the 2D tape
#
Debug: Print the grid surrounding the tape head
$
Debug: Print the value of the current cell
~
Debug: Exit the program