A simple Brainfuck interpretation library
The library exposes the [BrainfuckVM] trait, representing an object
that is able to run Brainfuck programs either from source code represented
as a string, or from a Brainfuck source file.
In addition to this general trait, it also provides the [VMBuilder] struct,
that can be used to create a Brainfuck VM that is customizable through various
means.
Examples
To simply create a basic spec-compliant Brainfuck runner, and run some Brainfuck code:
let code = "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.";
let vm = new.build;
vm.run_string;