peggyjs / peggy

Peggy: Parser generator for JavaScript
https://peggyjs.org/
MIT License
906 stars 64 forks source link

Add minor modern features to the example Javascript grammar #448

Closed frostburn closed 6 months ago

frostburn commented 8 months ago

List of improvements:

for (foo of bar) ... is a handy iterator to have when deriving from the example.

hildjj commented 8 months ago

Can we just have one larger open issue with "rewrite JS grammar to current spec"?

frostburn commented 8 months ago

Sure!

hildjj commented 6 months ago

I'm going to close all feature requests for the JS parser, in favor of a new project that should track the modern spec.