Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Primary contract for Program assembly

Platform spec ADR

Primary contract for Program assembly

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This feature hub defines how the reference compiler turns a resolved CompilePlan plus effective (materialized-first) source roots into a ProgramAssembly: discovered .bd units, a shared ModuleIndex for cross-module resolution, and a single front-end spine consumed by CLI, LSP, analyze, and codegen. JIT and AOT backends consume CodegenArtifact only and do not re-run assembly.

The reference compiler must implement Program assembly as documented in this feature hub and its article bundle.

Changes require hub/ADR updates and verification anchor extensions.

  • compiler/crates/beskid_analysis/