Printable idea sheet
grammar_and_parser
reqlan rq/core-architecture.rq:103
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.
Interactive page: grammar_and_parser