A brainfuck interpreter and debugger written in rust. See the Esolang Wiki entry for more information on the language.
To execute a program, use the bf-rs binary:
bf-rs [program file]
To provide input, you can either pipe data into the interpreter process or pass the -i flag
echo "input" | bf-rs [program file]
bf-rs -i input.txt [program file]
The -d flag enables basic debugging functionality, including stepping through the program and breaking on the special break character #.
bf-rs -d -i input.txt [program file]
Some of the comamnds are:
re: run to the end of the programrle: run to the end of the current looprli: run to the end of the current loop iterationr<#>: run the specified number of steps before breaking. For exmaple,r30would run 30 steps.s: step to the next command.