Expand description
The production compiler: a validated arena SchemaIR is lowered directly to a byte-level
pattern and handed to the shared anchored-DFA builder. It consumes the typed nodes; it never
re-parses JSON and never transports a regex string across the FFI.
Structs§
- Compile
Counters - Aggregate compiler work counts. Counters that a backend cannot expose remain zero.
- Compile
Profile - Named summary profile for regular IR compilation.
- Phase
Durations - Nanoseconds indexed by
CompilePhase. Unobserved phases remain zero. - Retained
Bytes - Retained and temporary byte accounting for one compile.
Enums§
- Compile
Phase - Named compilation phases reported by the feature-gated profiling API.
Functions§
- compile_
ir - Compiles an IR into the anchored byte engine. An
Unsupportedoccurrence fails the compile with its diagnostic; a structured-backend schema fails fast with an actionable message instead of a slow, cryptic elimination blow-up; otherwise the arena is lowered and built into a DFA. - compile_
ir_ timed - Compatibility timing wrapper returning
(route_analysis_ns, materialization_ns).