A Brainfuck interpreter with a REPL, written in x86-64 NASM assembly for Linux.
For a detailed tutorial on assembly language and building this interpreter, visit sidstuff/learnasm. |
Clone the repository. To assemble from source, run ./bld
To run a Brainfuck program, say code.b
, run ./bf code.b
To start the language shell, simply run ./bf
.
To exit, press โ Enter when prompted for a command.
Note
Within a session, the position of the data pointer, as well as the data itself, is preserved across commands.
Click here for some sample Brainfuck programs and other information.