MORK.jl
A Julia implementation of the MORK metagraph rewriting engine — the high-performance, trie-native substrate for symbolic computation, built on PathMap.jl.
MORK is an independent Julia port of the Rust MORK kernel, hardened by a deep Rust→Julia porting audit (intern races, numeric-primitive width, COW discipline, operator-precedence transpilation defects).
Features
- Expression engine — byte-encoded s-expressions over a
PathMap{UnitVal}substrate, with prefix-scoped multi-space queries. - Transform / exec — pattern→template rewriting, sinks (Count/Head/AU/…), and the metta-calculus step.
- Concurrent symbol interning — thread-safe bucket-map symbol table.
- Numeric primitives — full u8…u128 / i8…i128 / f32 / f64 op suite.
Installation
using Pkg
Pkg.add(url="https://github.com/CognitiveSubstratesAI/MORK")