Skip to main content

interpret

Function interpret 

Source
pub fn interpret(program: &Program) -> Box<dyn TupleStream>
Expand description

Interpret a compiled Program and return the result stream. Per spec §9.1 the final opcode must be Op::Dispense; if it’s missing the function panics (programs not produced by the compiler are caller-error).