David Majda
|
56ffa94cc7
|
PEG.buildParser reports left recursion (both direct and indirect).
|
15 years ago |
David Majda
|
3a65316416
|
PEG.buildParser reports missing referenced rules.
|
15 years ago |
David Majda
|
6bbd88088b
|
Implemented and used PEG.ArrayUtils.each.
|
15 years ago |
David Majda
|
eae48caf91
|
Regenerated the grammar parser.
|
15 years ago |
David Majda
|
6f510a0336
|
The cache does not remember match length but next position after the match.
This leads to simpler and faster code because it avoids one addition and
subtraction.
|
15 years ago |
David Majda
|
796c98bf8e
|
Changed order of parameters in the SyntaxError constructor to make creating error with unknown location easier. Also fixes bug with reporting of invalid ranges such as [b-a] in the metagrammar.
|
15 years ago |
David Majda
|
00a258d246
|
Renamed "humanName" to "displayName".
|
15 years ago |
David Majda
|
a43d1b33e3
|
Bootstrapped the grammar parser, yay! I should have done this long ago.
|
15 years ago |
David Majda
|
636ceb2719
|
Metagrammar recognizes JavaScript-like comments.
|
15 years ago |
David Majda
|
7bf51eddf0
|
Removed trailing commas in object initializers (Google Closure does not like them).
|
15 years ago |
David Majda
|
452243d450
|
Improved error reporting for predicates a bit.
|
15 years ago |
David Majda
|
69906e9730
|
Do not recognize \uFEFF as whitespace in the metagrammar since it does not work with Rhino.
|
15 years ago |
David Majda
|
bddb65ab9b
|
Improved & simplified error handling code.
|
15 years ago |
David Majda
|
b86a219c86
|
Ensure that the same grammar and start rule always generate exactly the same parser.
|
15 years ago |
David Majda
|
c3dd696a3e
|
Initial commit.
|
15 years ago |