Crate glyph_runtime

Crate glyph_runtime 

Source
Expand description

Glyph Runtime VM

Stack-based virtual machine for executing Glyph bytecode with capability-based security and immutable-first design.

Re-exports§

pub use capability::Capability;
pub use capability::CapabilitySet;
pub use compiler::compile;
pub use compiler::compile_and_run;
pub use compiler::compile_and_run_with_config;
pub use compiler::CompileError;
pub use compiler::CompiledProgram;
pub use instruction::Instruction;
pub use vm::VMConfig;
pub use vm::VMError;
pub use vm::VM;

Modules§

ast_to_ir
AST to IR transformation
capability
Capability-based security system for Glyph runtime
compiler
High-level compiler that orchestrates the compilation pipeline
frame
instruction
VM instruction set for Glyph runtime
ir
Intermediate Representation (IR) for Glyph programs
ir_to_bytecode
IR to bytecode compiler
memory
Memory management for the Glyph VM
stack
Stack implementation for the Glyph VM
vm
Virtual Machine implementation for Glyph

Enums§

RuntimeError
Value
Runtime values in Glyph