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 symbol;
15pub mod value;
16
17pub use class::{class_of, Class, ObjKind, BUILTINS};
18pub use mutator::{
19 check_alloc, note_external, panic, refused, try_collect, try_push, try_string, try_vec, Handle, HandleScope, Local,
20 Mutator, RtResult, Trap,
21};
22pub use ops::Interop;
23pub use symbol::{intern, Sym};
24pub use value::Value;