Function brainfuck::interpret [] [src]

pub fn interpret<I, O, F>(
    inp: I,
    out: O,
    program: Vec<Instruction>,
    callback: F
) where
    I: Read,
    O: Write,
    F: FnMut(InterpreterState), 

callback is called after each instruction