Every syntax addition must include:
- an official upstream language reference;
- the exact parser version and grammar-manifest change;
- semantic node/category handling;
- stable feature mapping;
- positive and negative fixtures;
- source-span, template, visitor, and printer coverage;
- a compatibility note and changelog entry.
Run:
npm run grammar
npm run build
npm run pack:checkParser upgrades are reviewed through grammar-manifest.v1.json; new or renamed
grammar nodes must never enter through a loose dependency range.