Rewrite the interpreter into small-step, then write a wrapper that repeatedly makes steps until a value or error is encountered.
Rewrite the interpreter into small-step, then write a wrapper that repeatedly makes steps until a value or error is encountered.