No description
Find a file
2024-09-09 20:28:48 +02:00
src create README 2024-09-09 20:28:48 +02:00
.gitignore init; implement bf interpreter with basic controls 2023-12-03 00:59:22 +01:00
Cargo.lock add memory watchers and better output 2023-12-06 22:46:06 +01:00
Cargo.toml add memory watchers and better output 2023-12-06 22:46:06 +01:00
demo.png create README 2024-09-09 20:28:48 +02:00
README.md create README 2024-09-09 20:28:48 +02:00
rustfmt.toml init; implement bf interpreter with basic controls 2023-12-03 00:59:22 +01:00

bf-debugger

An interactive brainfuck executor and debugger. It allows setting memory and code breakpoints, step a number of times, view the memory state and output.

screenshot

usage

Specify a source file and optionally an input file:

brainfuck path/to/program.bf [path/to/input.txt]

Code breakpoints:

The ! character will be treated as a breakpoint, stopping execution

Command list:

[brackets] are optional parameters.

  • step [n]
    • Step the progam n times (this is the default behavior when pressing enter with no command)
  • run
    • Run the program until the end
  • watch <cell> <value>
    • Create a breakpoint. Execution will stop when has
  • quit | q | exit
    • Exit the debugger