Expand description
Datalog lacegram parsing, validation, and canonicalization.
Parses rule lines per docs/spec/030-DATALOG.md, checks safety and stratification, and assigns strata.
Structs§
- Canonical
Lacegram - Canonical text and its already parsed, validated Datalog program.
Functions§
- canonicalize_
lacegram_ rules - canonicalize_
lacegram_ source - Canonicalize and compile Lace Datalog source without accepting semantic sugar.
- parse_
lacegram - Parse a canonical lacegram text into a compiled
Lacegram. - parse_
rule - Parse a single rule line.
- predicate_
variable_ kinds - Variable kinds that preserve complete candidate tuples in generated rules. Generic positions use text variables so record-shaped values are not required.
- prepare_
lacegram_ rules - Canonical preparation retaining typed resource-limit failures.
- render_
rule_ line