Re-exports§
pub use kstring::KString;pub use bytecode::CostModel;pub use bytecode::Module;pub use bytecode::NOMINAL_COST_MODEL;pub use bytecode::VALUE_SLOT_SIZE_BYTES;pub use bytecode::Value;pub use bytecode::nominal_op_cycles;pub use marshall::IntoFallibleNativeFn;pub use marshall::IntoNativeFn;pub use marshall::KeleusmaType;pub use vm::NativeCtx;pub use vm::VmError;
Modules§
- ast
- audio_
natives - Built-in audio and math native functions.
- bytecode
- compiler
- kstring
- Arena-backed dynamic-string handle for the Keleusma runtime.
- lexer
- marshall
- Static marshalling between Rust types and the runtime
Valueenum. - monomorphize
- Compile-time monomorphization for generic functions.
- parser
- target
- Target descriptor for cross-architecture portability.
- token
- typecheck
- Static type checker for Keleusma source programs.
- utility_
natives - verify
- visitor
- AST visitor traits with default-implemented structural walks.
- vm
Structs§
- Arena
- A dual-end bump-allocated arena.
- Arena
Handle - Lifetime-free safe handle to a value stored in an arena.
- Bottom
Handle - Allocation handle for the bottom end of an arena.
- Budget
- A worst-case memory usage budget.
- Epoch
Saturated - Hard halt error returned by
Arena::resetwhen the epoch counter would saturate. - Stale
- Error returned by
ArenaHandle::getwhen the arena has been reset since the handle was issued. - TopHandle
- Allocation handle for the top end of an arena.
Derive Macros§
- Keleusma
Type - Derive
keleusma::KeleusmaTypefor a struct or enum.