The tree-walking evaluator: interpreter.run(ast, opts) executes a parsed program against a realm, resolving scopes and closures, driving statements and expressions, and enforcing the per-run step budget.
interpreter.run(ast, opts)