Skip to main content

yulang_vm/
lib.rs

1//! VM execution for Yulang runtime IR.
2//!
3//! This crate owns VM value containers, host request handling, and both the
4//! tree-walking VM and compact control VM. It consumes monomorphized
5//! `yulang-runtime` modules instead of participating in runtime lowering or
6//! specialization.
7
8pub mod host;
9pub mod runtime;
10pub mod vm;
11
12pub use host::{HostRunOutput, eval_root_with_basic_host, eval_roots_with_basic_host};
13pub use vm::{
14    CONTROL_VM_ARTIFACT_VERSION, ControlVmModule, VmError, VmModule, VmProfile, VmRequest,
15    VmResult, VmValue, compile_control_vm_module, compile_vm_module,
16};