Separated orchid-host and orchid-extension

This is an architectural change that allows me to implment specifics first and generalize along observed symmetries in orchid-base
This commit is contained in:
2024-05-01 21:20:17 +02:00
parent aa3f7e99ab
commit bc3b10674b
25 changed files with 562 additions and 357 deletions

View File

@@ -2,10 +2,10 @@ use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, RwLock};
use hashbrown::HashMap;
use lazy_static::lazy_static;
use orchid_api::expr::ExprTicket;
use crate::host::AtomHand;
use lazy_static::lazy_static;
use crate::extension::AtomHand;
#[derive(Clone, Debug)]
pub struct RtExpr {
@@ -36,6 +36,6 @@ impl Drop for RtExpr {
}
}
lazy_static!{
lazy_static! {
static ref KNOWN_EXPRS: RwLock<HashMap<ExprTicket, RtExpr>> = RwLock::default();
}