Validation and Compilation

ByteOr pipelines pass through a structured validation and compilation pipeline before execution. The OSS crate workspace owns the canonical lowering path.

Pipeline Overview

  1. Parse — decode the source plan
  2. Structural validation — required fields, types, references
  3. Semantic validation — target-specific rules for SingleRing or LaneGraph
  4. Lowering — deterministic compilation into the canonical execution format
  5. 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 implementation
  • byteor-pipeline-spec — spec model, validation rules
  • byteor-pipeline-wasm — WASM compilation path used by Cloud

Canonical Published Surfaces

Provenance
Need the canonical source?
Use the public hub to orient yourself, then jump to repo-owned docs or rustdoc when you need contract-level detail.