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 10d7a6aded Simplify the arithmetics example grammar
The arithmetics example grammar is the first thing everyone sees in the
online editor at the PEG.js website, but it begins with a complicated
|combine| function in the initializer. Without understanding it it is
impossible to understand code in the actions. This may be a barrier to
learning how PEG.js works.

This commit removes the |combine| function and gets rid of the whole
initializer, removing the learning obstacle and streamlining action
code. The only cost is a slight code duplication.
9 years ago
..
arithmetics.pegjs Simplify the arithmetics example grammar 9 years ago
css.pegjs Quote |class| object literal key 9 years ago
javascript.pegjs Update character categories in grammars to Unicode 8.0.0 9 years ago
json.pegjs Complete rewrite of the JSON example grammar 10 years ago