hello_world/
hello_world.rs

1use brainfuck::context::Context;
2use brainfuck::parser;
3
4fn main() {
5    let hello_world = parser::CompleteByteSlice(include_bytes!("hello_world.bf"));
6    let mut ctx     = Context::new();
7    let block       = parser::parse(hello_world).expect("Failed parsing input file");
8    ctx.run(&block);
9}