Expand description
Rule library and indexes for compiler knowledge-base rules.
A RuleLibrary owns validated rules, assigns stable RuleId values,
and precomputes the metadata and first-instruction index needed by matchers. DSL
parsing remains in rule_dsl; this module only delegates to it.
Structs§
- RuleId
- Stable identifier assigned to a rule when it is inserted into a library.
- Rule
Library - Validated rule collection with indexes for matcher candidate lookup.
- Rule
Metadata - Precomputed metadata used by rule selection and diagnostics.
Enums§
- Rule
Kind - Coarse compiler use-case for a rule.
- Rule
Library Error - Errors produced while building or extending a rule library.