Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Build pipeline

Platform spec area

Build pipeline

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Scope

This area specifies the reference compiler workspace (compiler/ in the Beskid repository): which stages exist, their ordering, observable CLI behaviour, and where JIT and AOT diverge. It does not redefine language semantics; those remain in Language meta.

Execution host details (runtime ABI chapters, long-form IR narrative) continue to live under Execution where noted; this area links to them from backend features.

Pipeline overview

The diagram below mirrors the primary data flow: project resolution (optional) supplies source_path and source text; lowering (beskid_codegen::lower_source) performs parse, semantic rules (when enabled), HIR, resolution, typing, and Cranelift lowering into a CodegenArtifact; JIT (beskid_engine::run_entrypoint) or AOT (beskid_aot::build) consumes that artifact.

flowchart TB
  resolve[Project resolution]
  assemble[program.assemble]
  parse[Parse and syntax diagnostics]
  mods[Mod host optional]
  semantic[Semantic rules and composition.resolve]
  hir[HIR resolve and type-check]
  lower[lower_program to CodegenArtifact]
  jit[JIT run_entrypoint]
  aot[AOT build and link]
  resolve --> assemble --> parse --> mods --> semantic --> hir --> lower
  lower --> jit
  lower --> aot

Feature index

Use the tiles below for normative feature contracts (each page declares status and owner metadata).

Features