orbit-ir 0.5.0

ORBIT typed intermediate representation (orbit-ir/1), payload validation and expression evaluation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! ORBIT typed intermediate representation, `orbit-ir/1`.
//!
//! Shared by the compiler (which produces it) and the runtime (which executes
//! it). Contains resolved types with payload validation, the pure expression
//! language with its evaluator, and the workflow document with invariant checks.

// `Action::Task` is the common case; boxing it would penalise every access.
#![allow(clippy::large_enum_variant)]

pub mod expr;
pub mod testing;
pub mod types;
pub mod workflow;

pub use expr::{eval, BinOp, EvalError, Expr, ObjectField, Scope, UnOp};
pub use types::{FieldType, Type, ValidationError};
pub use workflow::*;