Expand description
vibe-bc-0.1 bytecode compiler, VM, and binary codec.
Stack-based bytecode for VibeScript 0.1. Compiles a checked Program
AST into a Chunk, which can be executed by the Vm or serialized
to/from bytes.
§Module layout
Re-exports§
pub use codec::decode_chunk;pub use codec::encode_chunk;pub use codec::ChunkDecodeError;pub use compiler::compile;pub use compiler::compile_expr;pub use compiler::CompileError;pub use op::Chunk;pub use op::Const;pub use op::FuncMeta;pub use op::Op;pub use op::MAGIC;pub use op::MAX_CODE;pub use op::MAX_CONSTANTS;pub use op::MAX_FUNCTIONS;pub use op::VERSION;pub use vm::Vm;pub use vm::VmError;