N NezamDocumentation

Compiler pipeline#

The Business Language compiler pipeline is grammar-driven. Shared language packages must not add domain-specific behavior or fallback paths for the business package.

Source of truth#

Grammar and lowering assets remain under:

text
packages/business/language/grammar/

Public language documentation remains under:

text
packages/business/language/

Strict parsing policy#

Bundle and spec parsing must be strict. Required bundle.lowering.spec directives must be present. The compiler must not use lowering.map, editor.run_args, or manifest as fallback sources for missing lowering spec directives.

Parser ownership#

Do not manually edit generated parser artifacts. Parser shim and C integration changes belong in parser generator templates and generator code, followed by regeneration.

Shared package boundary#

The shared language packages stay language-agnostic and grammar-driven:

  • packages/codegen-wasm
  • packages/language-lowering
  • packages/language-resolver
  • packages/runtime-wasm
  • packages/parser-gen
Source: packages/business/docs/reference/compiler-pipeline.md