N NezamDocumentation

Grammar reference#

The public language docs are Markdown files in packages/business/language. The compiler grammar source lives beside the authored language docs, under the grammar asset tree.

Grammar path#

text
packages/business/language/grammar/

Important files include:

FilePurpose
BusinessLanguage.g4Parser entry grammar
BusinessLanguageLexer.g4Lexer grammar
business-language.manifest.yamlLanguage manifest
editor.jsonEditor metadata
language_config.jsonLanguage configuration
lowering/Lowering configuration and generated bundle inputs

Public docs path#

Authored documentation pages live directly under:

text
packages/business/language/*.md

The docs website intentionally ignores:

text
packages/business/language/grammar/
packages/business/language/scripts/

Those directories are compiler assets, not public documentation pages.

Ownership rule#

Do not manually edit generated parser output. Change parser generator templates or source grammars, regenerate artifacts, and commit the generated output only through the approved workflow.

Source: packages/business/language/grammar-reference.md