~pfm/bf

A brainfuck interpreter in Rust
Use std::convert::From to construct VM from a Vec
Add more rustdoc documentation

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~pfm/bf
read/write
git@git.sr.ht:~pfm/bf

You can also use your local clone with git send-email.

#bf --- a Brainfuck interpreter in Rust

I've started this project to learn Rust. If the code is not idiomatic, it's because I'm still learning.

#Implementation notes

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.

#See also

Do not follow this link