Skip to main content

dataflow_rs/program/
mod.rs

1//! Programs: a definition compiled for execution.
2//!
3//! A [`Compiler`] comes from a [`Registry`](crate::Registry), and compiles one
4//! workflow at a time, so a host owns quarantine: a Rejected issue rejects only
5//! its own workflow.
6
7mod checks;
8mod compile;
9mod fingerprint;
10mod link;
11mod lower;
12mod ops;
13
14pub use crate::base::{
15    AuthoredPath, IssueCode, ParseIssueCodeError, ParsePathError, PathSeg, ProgramId, Severity,
16    StepKind, TaskIx, WorkflowIx,
17};
18pub(crate) use checks::Checks;
19pub(crate) use compile::{CalleeAt, compile_callee, refused};
20pub use compile::{CompileOptions, Compiled, CompiledWorkflow, Compiler, ResourceOracle};
21pub use fingerprint::{Fingerprint, ParseFingerprintError};
22pub use link::{Program, TaskInfo, WorkflowInfo};
23pub(crate) use ops::{CallSite, Callee, CondKind, FanSite, LoopSite, Op, Policy};