Expand description
Native implementations of the Catallaxy standard library.
Each native receives the calling thread’s Vm and its arguments (the receiver first for
methods). A missing optional argument arrives as the empty marker; use [opt].
Statics§
- ARGS
- Command-line arguments passed to the program (after the script path).
Functions§
- flush
- Flushes buffered standard output (at exit, before reading input, before errors).
- lookup
- Looks up a native implementation by name: the standard library, then extensions.
- register_
native - Registers a native function implemented by a Rust extension crate. Catallaxy code declares it
with
native fn name(...) -> T(a top-levelnative fnuses its plain name; anative fnin a classCusesC.name). Must be called before the program is loaded. - write_
out - Writes to the buffered standard output.