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 27c2d26203 PEG.js grammar: More JavaScript-like initializer/rule separation
Initializer and rules are now separated in a similar way as JavaScript
statements -- either by a semicolon or a line terminator, possibly with
whitespace and comments mixed in.

One consequence is that the grammars like this are now illegal:

  foo = "a" bar = "b"

A semicolon needs to be inserted between the rules:

  foo = "a";bar = "b"

I consider this a good change as the now-illegal syntax was somewhat
confusing.
10 years ago
..
compiler PEG.js grammar: Disallow empty sequences 10 years ago
compiler.js .jshintrc: Add the "forin" option & fix fallout 11 years ago
grammar-error.js Git repo npmization: Make the repo a npm package 12 years ago
parser.js PEG.js grammar: More JavaScript-like initializer/rule separation 10 years ago
peg.js Update version to 0.8.0 11 years ago
utils.js .jshintrc: Add the "forin" option & fix fallout 11 years ago