clm-kernel 0.0.2

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
use std::path::Path;
use std::sync::RwLock;

pub mod types;
pub mod sys_ffi;
pub mod token_ops;
pub mod invariants;
pub mod zta;
pub mod binding;
pub mod engine;

pub type EvalCallback = fn(
    &Path,
    Option<&str>,
    Option<&str>,
    Option<i32>,
    bool,
    Option<&str>,
) -> Result<i32, String>;

pub static EVAL_CALLBACK: RwLock<Option<EvalCallback>> = RwLock::new(None);

pub use engine::petri_run_net;
pub use types::{hash_string, pcard_hash_placeholder};