Skip to main content

Generator CLI

Use the generator to lower FlowLog programs into Timely/Differential Cargo projects.

cargo run -p generator -- <PROGRAM> [OPTIONS]
FlagDescriptionRequiredNotes
PROGRAMPath to a .dl file. Accepts all/--all to iterate over every program in example/.YesParsed relative to the workspace unless absolute.
-F, --fact-dir <DIR>Directory containing input CSVs referenced by .input.When .input uses relative pathsPrepends <DIR> to every filename= parameter.
-o, --output <NAME>Override the generated Cargo package name.NoDefault derives from <PROGRAM> and writes to ../<NAME>.
-D, --output-dir <DIR>Location for .output relations.When relations use .outputPass - to print tuples to stderr.
--mode <MODE>Execution semantics: batch (default) or incremental.Noincremental switches the diff type to isize.
-h, --helpShow full Clap help text.NoIncludes extra examples and environment variables.