Skip to main content

catallaxy_runtime/
lib.rs

1//! Runtime object model for Catallaxy: NaN-boxed [`Value`]s, class descriptors, heap object
2//! layouts, the three ownership states (owned, frozen, shared) and structural operations.
3//!
4//! All `unsafe` code in the language implementation lives here and in `catallaxy-gc`.
5
6pub mod buf;
7pub mod class;
8pub mod dict;
9pub mod fmtspec;
10pub mod mutator;
11pub mod object;
12pub mod ops;
13pub mod ownership;
14pub mod stack;
15pub mod symbol;
16pub mod value;
17
18pub use class::{class_of, Class, ObjKind, BUILTINS};
19pub use mutator::{
20    check_alloc, note_external, panic, refused, try_collect, try_push, try_string, try_vec, Handle, HandleScope, Local,
21    Mutator, RtResult, Trap,
22};
23pub use ops::Interop;
24pub use symbol::{intern, Sym};
25pub use value::Value;