script/gen/grammars.ts writes assets/queries from parsers-config.ts and @opentui/core's bundled queries. It reads Core's query cache first, as Core does, and applies Core's #lua-match? rewrite, so the files hold what Core compiles.