Skip to main content

Crate haskelujah_runtime

Crate haskelujah_runtime 

Source

Re-exports§

pub use eval_chirho::ArgSourceChirho;
pub use eval_chirho::CodeChirho;
pub use eval_chirho::EvalErrorChirho;
pub use eval_chirho::MachineChirho;
pub use ffi_chirho::FfiCallConvChirho;
pub use ffi_chirho::FfiErrorChirho;
pub use ffi_chirho::FfiSafetyChirho;
pub use ffi_chirho::FfiTypeChirho;
pub use ffi_chirho::FfiValueChirho;
pub use ffi_chirho::ForeignImportChirho;
pub use ffi_chirho::ForeignTableChirho;
pub use gc_chirho::extract_roots_from_stack_chirho;
pub use prim_chirho::PrimErrorChirho;
pub use prim_chirho::apply_prim_binop_chirho;
pub use stack_chirho::FrameChirho;
pub use stack_chirho::PrimOpKindChirho;
pub use stack_chirho::StackChirho;

Modules§

eval_chirho
STG Evaluation Loop
ffi_chirho
Foreign Function Interface
gc_chirho
Garbage collector
heap_chirho
Heap — the closure store
prim_chirho
Primitive operations
stack_chirho
Evaluation stack
value_chirho
Runtime values and closure representation

Structs§

ClosureChirho
A closure on the heap: info table + payload (free variables / fields).
CodePtrChirho
Unique identifier for a code entry point (function / thunk body).
DataConTagChirho
Constructor tag for algebraic data types.
GcConfigChirho
Configuration for the garbage collector.
GcStateChirho
The garbage collector state, maintained across collections.
GcStatsChirho
Statistics from a single GC cycle.
HeapAddrChirho
Address of a closure on the heap (index into the heap array).
HeapChirho
The heap: a flat array of closures indexed by HeapAddrChirho.
InfoTableChirho
The info table for a heap closure. Every closure on the heap starts with a pointer to its info table (or, in our model, stores it inline).
RuntimePlanChirho

Enums§

ExecutionModeChirho
InfoTagChirho
Tag distinguishing the kind of closure on the heap.
ValueChirho
A runtime value — the universal type that flows through the STG machine.

Functions§

extract_roots_from_values_chirho
Extract all heap addresses from a set of values (the root set).