pub fn execute_program(program: Rc<Program>) -> Result<Value, VmError>Expand description
Executes a validated program’s entry function.
Programs produced by crate::vm::compile_source are already
validated; callers constructing programs by hand must run
[crate::vm::validate] first. Either way the machine reports
VmError rather than panicking on malformed state. When no
namespace registry is active the program runs against a throwaway
user registry, so same-program def/defn/defstruct can intern
without touching caller state (issue #223).