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.
27c2d26203
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. |
11 years ago | |
---|---|---|
.. | ||
compiler | 11 years ago | |
compiler.js | 11 years ago | |
grammar-error.js | 12 years ago | |
parser.js | 11 years ago | |
peg.js | 11 years ago | |
utils.js | 11 years ago |