Expand description
Logic engine trait and paradigm enumeration.
Every logic paradigm in the system is represented by a Paradigm variant
and implemented by a type that satisfies LogicEngine. The meta-engine
(Figure 26) uses the engine registry to route AST nodes to the correct
evaluator at runtime without allocation.
Structs§
- Engine
Id - Stable integer identifier for an engine instance. Used in logic traces so the trace is self-describing.
- Eval
Context - Opaque evaluation context passed through the pipeline.
Enums§
- Context
Value - Values that can appear in evaluation context slots.
- Engine
Error - Errors that a logic engine can return.
- Paradigm
- All supported logic paradigms, ordered for stable bit-mapping.
Traits§
- Logic
Engine - The core trait every logic engine must implement.