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#
packages/business/language/grammar/Important files include:
| File | Purpose |
|---|---|
BusinessLanguage.g4 | Parser entry grammar |
BusinessLanguageLexer.g4 | Lexer grammar |
business-language.manifest.yaml | Language manifest |
editor.json | Editor metadata |
language_config.json | Language configuration |
lowering/ | Lowering configuration and generated bundle inputs |
Public docs path#
Authored documentation pages live directly under:
packages/business/language/*.mdThe docs website intentionally ignores:
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.