Closed elgertam closed 1 year ago
I have added preliminary grammars for all JavaScript releases from ES2015 through ES2022
generate-ecmascript-grammar.mjs
grammarkdown.ohm
extract-grammarkdown.mjs
dedent.py
override.json
Module
I've merged into a branch for now, so we can both collaborate on that: https://github.com/ohmjs/ohm/tree/elgertam-ecmascript
I have added preliminary grammars for all JavaScript releases from ES2015 through ES2022
generate-ecmascript-grammar.mjs
andgrammarkdown.ohm
have been updated to parse later ES specsextract-grammarkdown.mjs
anddedent.py
have been included to create a clean Grammarkdown grammar from an ES specgenerate-ecmascript-grammar.mjs
to anoverride.json
file, along with productions containing reserved wordsModule