able-script/src/brian.rs

14 lines
410 B
Rust
Raw Normal View History

2021-05-04 22:23:17 -05:00
// NOTE(Able): This is the brain fuck interface
use brainfuck::program::Program;
use brainfuck::tape::ArrayTape;
use brainfuck::Interpreter;
pub fn bff_eval(function: String, args: String) {
let mut stdout = "";
let program = Program::parse("++>+.").unwrap();
/* This failes currently I guess
let mut interp = Interpreter::<ArrayTape>::new(program, &mut stdin, &mut stdout);
*/
}