pub fn run<F, D>( program: &Program<F>, context: &mut D) -> Result<VM<F, D>, Error> where F: VMFunc<F> + VMData<F, D>,
Runs the given compiled program.
The name of the entry function must be main. See VM for more control about running a program or build_str for an example that uses the run function.
main
run