Skip to main content

Module locy_program

Module locy_program 

Source
Expand description

Top-level Locy program executor.

LocyProgramExec orchestrates the full evaluation of a Locy program: it evaluates strata in dependency order, runs fixpoint for recursive strata, applies post-fixpoint operators (FOLD, PRIORITY, BEST BY), and then executes the program’s commands (goal queries, DERIVE, ASSUME, etc.).

Structs§

DerivedStore
Simple store for derived relation facts across strata.
LocyProgramExec
DataFusion ExecutionPlan that runs an entire Locy program.

Functions§

stats_schema
Schema for the stats batch returned when no commands are present.