Expand description
Public library API for the OMG runtime.
This exposes the VM, bytecode loader, and core types so downstream crates can embed the runtime or run precompiled bytecode.
Re-exports§
pub use crate::bytecode::parse_bytecode;pub use crate::bytecode::Function;pub use crate::bytecode::Instr;pub use crate::error::ErrorKind;pub use crate::error::RuntimeError;pub use crate::value::Value;pub use crate::vm::run;
Modules§
- bytecode
- OMG Bytecode Format & Decoder
- error
- Error Handling for the OMG VM
- repl
- OMG Language REPL
- value
- Value Representation for the OMG VM
- vm
- Stack-Based Bytecode Virtual Machine (Runtime)
Functions§
- run_
omgb - Run a compiled
.omgbblob with optional program args.