Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

14.1 Pipeline overview

Resolution, assembly, parse, mods, semantic analysis, lowering, JIT or AOT.

Pipeline overview

Mirror of the normative Build pipeline overview—same flow, book voice.

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
StagePrimary crates
Resolution / graphbeskid_analysis (projects), beskid_cli
Parse / syntaxbeskid_analysis (syntax, parser)
Mod hostbeskid_analysis (mod_host)
Semantic rulesbeskid_analysis (analysis)
Loweringbeskid_codegen
JITbeskid_engine, beskid_runtime, beskid_abi
AOTbeskid_aot
Phase IDsbeskid_pipeline

beskid build, beskid run, beskid analyze orchestrate subsets—contract: Build / analyze / run.

LSP analysis should match CLI phases for the same snapshot (LSP diagnostics).

Front-end