Use std::convert::From to construct VM from a Vec
Add more rustdoc documentation
Fix unit tests
I've started this project to learn Rust. If the code is not idiomatic, it's because I'm still learning.
When this interpreter loads a Brainfuck program, it translates [
and ]
operations to jumps, so it doesn't need to search for matching brackets. In
other words: when the program is "compiled", target Instruction Pointer is
tracked and used to set up conditional jump instructions.