lib/python/src/runtime/root.zig
daab053ee43316e1809a84551d573ddd1e5bf3d2
1 //! The package's last stage runs a compiled program and hands its value back to the caller. A
2 //! caller wants one call that takes source text and returns the program's value, with the memory
3 //! behind that value freed in one step.
4 //!
5 //! The namespace re-exports the file `vm` and its `Vm`, `Error`, `Result` and `execute`. A caller
6 //! runs a program with `execute` and frees the result with `deinit`.
7 pub const vm = @import("vm.zig");
8
9 pub const Vm = vm.Vm;
10 pub const Error = vm.Error;
11 pub const Result = vm.Result;
12 pub const execute = vm.execute;