xqvm 0.1.0

X-Quadratic Virtual Machine — bytecode interpreter for the XQuad Toolchain
Documentation
// `opcodes!` is defined inside `types::table` with `#[macro_export]`, so it
// lands at the xqvm crate root automatically.
#[macro_use]
pub(super) mod types;
pub(super) mod builder;
pub mod codec;
pub mod error;
pub(super) mod jump_table;
pub(super) mod program;
pub(super) mod stream;

// ---------------------------------------------------------------------------
// Public API re-exports
// ---------------------------------------------------------------------------

pub use builder::{InstructionBuilder, LabelId};
pub use jump_table::JumpTable;
pub use program::Program;
pub use stream::InstructionStream;
pub use types::{Instruction, Opcode, Register, RegisterEffect};