Compile and run a loaded module body on the VM, one top-level form at a
time so a defmacro / nested load that registers a macro is visible to
later forms before they compile. env is the caller’s shared global env, so
defines land in the global scope (matching load semantics). Returns the
value of the last form (nil for an empty body).
VM-native evaluation for callback consumers (e.g. sema-llm tool handlers):
macro-expand, compile, and run expr on a fresh bytecode VM rooted at env.
This is the VM-backed counterpart of eval_value, used to keep the
eval-callback path off the tree-walker (M5 / Phase 1c). Each call builds a
throwaway VM over a clone of env (sharing its bindings), so it is suited to
one-shot evaluation rather than a persistent define-accumulating session.
Register __vm-* native functions that the bytecode VM calls back into
the tree-walker for forms that cannot be fully compiled.
Load built-in macros (threading, when-let, if-let) into the global environment.