mtots_core 0.1.2

Core implementation of the mtots scripting language
Documentation
//! Builtin native modules and bindings

use crate::Globals;
mod bytes;
mod encoding;
mod env;
mod fs;
mod math;
mod os;
mod procc;
mod time;

pub use encoding::Encoding;

impl Globals {
    pub fn add_builtin_native_libraries(&mut self) {
        self.add(bytes::new()).unwrap();
        self.add(env::new()).unwrap();
        self.add(fs::new()).unwrap();
        self.add(math::new()).unwrap();
        self.add(os::new()).unwrap();
        self.add(procc::new()).unwrap();
        self.add(time::new()).unwrap();
    }
}