Another Brainfuck Interpreter, written in Rust
You can execute a Brainfuck source file by passing the path as the first argument, e.g.
brainfuck hello.bf
You can also execute a Brainfuck script directly with the -e
flag, e.g.
brainfuck -e ">++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<++.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-]<+."
Output:
Hello, World!