A brainfuck
interpreter written in Rust.
Tinybrain is a small interpreter to execute brainfuck
code. To learn more about brainfuck
, please visit https://en.wikipedia.org/wiki/Brainfuck
use tinybrain;
fn main() {
let result = tinybrain::process(
"
++++++++[>++++[>++>+++>+++>+<<<<-]
>+>+>->>+[<]<-]>>.>---.+++++++..++
+.>>.<-.<.+++.------.--------.>>+.
".to_owned(),
);
println!("{}", String::from_utf8(result).unwrap());
}