orbit_ir/lib.rs
1//! ORBIT typed intermediate representation, `orbit-ir/1`.
2//!
3//! Shared by the compiler (which produces it) and the runtime (which executes
4//! it). Contains resolved types with payload validation, the pure expression
5//! language with its evaluator, and the workflow document with invariant checks.
6
7// `Action::Task` is the common case; boxing it would penalise every access.
8#![allow(clippy::large_enum_variant)]
9
10pub mod expr;
11pub mod testing;
12pub mod types;
13pub mod workflow;
14
15pub use expr::{eval, BinOp, EvalError, Expr, ObjectField, Scope, UnOp};
16pub use types::{FieldType, Type, ValidationError};
17pub use workflow::*;