New macro system and stdlib additions

This commit is contained in:
2025-11-21 14:25:03 +01:00
parent b77653f841
commit 603efef28e
230 changed files with 3033 additions and 16640 deletions

View File

@@ -18,7 +18,7 @@ pub struct CtxData {
pub spawn: Spawner,
pub systems: RwLock<HashMap<api::SysId, WeakSystem>>,
pub system_id: RefCell<NonZeroU16>,
pub common_exprs: ExprStore,
pub exprs: ExprStore,
pub root: RwLock<WeakRoot>,
}
#[derive(Clone)]
@@ -43,7 +43,7 @@ impl Ctx {
i: Interner::default(),
systems: RwLock::default(),
system_id: RefCell::new(NonZero::new(1).unwrap()),
common_exprs: ExprStore::default(),
exprs: ExprStore::default(),
root: RwLock::default(),
}))
}