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 class;
7pub mod dict;
8pub mod mutator;
9pub mod object;
10pub mod ops;
11pub mod ownership;
12pub mod symbol;
13pub mod value;
14
15pub use class::{class_of, Class, ObjKind, BUILTINS};
16pub use mutator::{note_external, panic, Handle, HandleScope, Local, Mutator, RtResult, Trap};
17pub use ops::Interop;
18pub use symbol::{intern, Sym};
19pub use value::Value;