Idea detail
grammar_and_parser
reqlan rq/core-architecture.rq:103
block
Summary
Grammar is Langium ( Chevrotain ), not tree-sitter.
Main `.rq` grammar: reqlan.langium. Comment-token grammar for `rq:…` in non- `.rq` sources: reqlan-comment.langium.
`langium generate` produces AST / grammar modules and TextMate JSON; TextMate is patched and copied into the extension at build time per build_prepare.
Syntax requirements that the grammar must satisfy live in syntax.rq; conceptual units in idea, ideaset, reference, import_statement.
Services are wired in reqlan-module.ts.
Attributes
No attributes declared.
Ancestor context
No ancestor chain recorded.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| file_reference | comment_grammar | packages/language/src/reqlan-comment.langium | reqlan-comment.langium |
| file_reference | language_module | packages/language/src/reqlan-module.ts | reqlan-module.ts |
| file_reference | reqlan_grammar | packages/language/src/reqlan.langium | reqlan.langium |
| file_reference | syntax | reqlan rq/language/syntax.rq | syntax.rq |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| ideaset_member | language_runtime | reqlan rq/core-architecture.rq | — |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | build_prepare | build_prepare | |
| references | idea | idea | |
| references | ideaset | ideaset | |
| references | import_statement | import_statement | |
| references | reference | reference |
Initialising graph…