OpenSymbolicRules.jl
Documentation for OpenSymbolicRules.jl.
OpenSymbolicRules.jl is a zero-overhead, highly pedagogical rule engine client for the language-agnostic Open Symbolic Rules JSON format. It integrates directly with SymbolicUtils.jl to provide both blazingly fast simplifications and step-by-step educational tracing.
Features
- AOT Compilation: Parses JSON rules at macro expansion time (
@load_osr) to emit pure Julia code with zero runtime overhead. - Unified Engine: Combines rules from different domains (Algebra, Trigonometry, Calculus) into a single rewrite engine.
- Observable Tracing:
mode=:tracerecords every rewrite with its stable OSR rule name;on_stepcan send those events to a notebook, logger, or user interface.