2024-02-23 19:54:34 +00:00
|
|
|
use talc_lang::{symbol::{symbol, Symbol}, Vm};
|
|
|
|
|
|
|
|
pub mod num;
|
|
|
|
pub mod io;
|
|
|
|
pub mod iter;
|
|
|
|
pub mod exception;
|
|
|
|
|
|
|
|
pub fn load_all(vm: &mut Vm) {
|
|
|
|
num::load(vm);
|
|
|
|
io::load(vm);
|
|
|
|
iter::load(vm);
|
|
|
|
exception::load(vm);
|
|
|
|
}
|
|
|
|
|
|
|
|
lazy_static::lazy_static! {
|
|
|
|
pub static ref SYM_IO_ERROR: Symbol = symbol!(io_error);
|
|
|
|
}
|