Expand description
AST for Cozo scripts, for generating Cozo scripts programmatically.
NOTE! This is unstable, the AST structure and method signatures may change in any release. Use at your own risk.
Structs§
- Imperative
Stmt Clause - Imperative
Sysop - Source
Span - Span of the element in the source script, with starting and ending positions.
Enums§
- Cozo
Script - This represents a full Cozo script, as you’d pass to
run_script. - Imperative
Stmt - Rule
Functions§
- parse_
script - This parses a text script into the AST used by Cozo.
Type Aliases§
- Imperative
Program - This is a chained query,
a series of
{}queries possibly with imperative directives like%ifand%loop.