Some functions for compiling and running schelme scripts.
given a namespace (for instance Prelude.prelude) and a state (see examples), and a schelme program, run the program to completion, emitting an updated namespace, state, and final Term
The way to go for incremental execution. Given an EvalBodyStep (the normal top level of a running schelme program), execute it up to /count/ evals, returning the last EvalBodyStep state.
starting with an EvalBodyStep, run to completion
continue execution of an EvalBodyStep, returning the final Term and number of evals used.
run a schelme EvalBodyStep with a max number of evals, erroring out if the max is reached.
run a schelme program, emitting the usual products but also the number of evals taken
run a schelme program with a max number of evals, erroring out if the max is reached.
find a schelme function by name and run it, with the passed list of args.
run a function to completion, returning updated namespace, state, and result term
parse a string, emitting a series of Terms, which will hopefully be a valid schelme program.