Tracker
Roadmap search
Versions, deliverables, workstreams, tasks, and pages
Syntax domain model generation - Flow and algorithm
articleStandard
src/content/docs/platform-spec/compiler/compiler-mods/syntax-domain-model-generation/flow-and-algorithm.mdx
import SpecArticleChrome from '@beskid/beskid-ui/platform-spec/SpecArticleChrome.astro';
<SpecArticleChrome />This article documents flow and algorithms for Syntax domain model generation.
Primary flow
- Materialize or refresh the syntax snapshot for the active compilation generation.
- Classify meta contributors vs read-only inspectors (language-meta classification carries through here).
- Execute host policy checks before surfacing Mod SDK calls.
- Commit outputs atomically per scheduling round (see incremental scheduling feature).
Ordering constraints
- No meta body runs before a parseable syntax model exists for its lexical scope.
- Semantic queries that depend on staged rules must declare the minimal snapshot version they require; the host may defer or rerun automatically.