Validation and Compilation
ByteOr pipelines pass through a structured validation and compilation pipeline before execution. The OSS crate workspace owns the canonical lowering path.
Canonical shared reference
This page provides the OSS-focused view. The full validation and compilation reference is shared across all product surfaces in the Core Concepts section.
Pipeline Overview
- Parse — decode the source plan
- Structural validation — required fields, types, references
- Semantic validation — target-specific rules for SingleRing or LaneGraph
- Lowering — deterministic compilation into the canonical execution format
- Emit — produce the immutable pipeline version plus compile report
Key Properties
- Lowering is deterministic — the same validated plan always produces the same execution format
- The compiler may insert bridges, routers, and merges during LaneGraph lowering
- Compile reports include structured diagnostics for every compiler action
OSS Crate Surface
byteor-pipeline-lower— validation and lowering implementationbyteor-pipeline-spec— spec model, validation rulesbyteor-pipeline-wasm— WASM compilation path used by Cloud