Function brainfuck::eval_file
[−]
[src]
pub fn eval_file<P: AsRef<Path>>(path: P) -> Result<(), Error>
Parse a program from the given file path and run it.
This uses the dynamic VecTape
implmentation, and reads and writes
to STDIN
and STDOUT
. This covers the most common use case for brainfuck.
use brainfuck; brainfuck::eval_file("fixtures/helloworld.rs");