You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 18f92c5647 Complete rewrite of the JavaScript example grammar
This is a complete rewrite of the JavaScript example grammar. It is now
based on ECMA-262, 5.1 Edition and the generated parser builds a syntax
tree compatible with Mozilla SpiderMonkey Parser API. There is also a
number of cleanups, formatting changes, naming changes, and bug fixes.

Beside this, the rewrite reflects how I write grammars today (as opposed
to few years ago) and what style I would recommend to others.
10 years ago
..
arithmetics.pegjs Complete rewrite of the arithmetics example grammar 10 years ago
css.pegjs Example grammars: Improve |parseInt| invocations 11 years ago
javascript.pegjs Complete rewrite of the JavaScript example grammar 10 years ago
json.pegjs Complete rewrite of the JSON example grammar 10 years ago