David Majda
|
491106c347
|
Report left recursion and infinite loops only as "possible"
A semantic predicate can prevent the parser to actually enter infinite
recursion or loop. This is undetectable at compile-time.
|
2015-09-11 14:58:53 +02:00 |
|
David Majda
|
ebf5d969b2
|
s/alwaysAdvancesOnSuccess/alwaysConsumesOnSuccess/
Matches terminology change from the previous commit.
|
2015-09-04 17:35:37 +02:00 |
|
David Majda
|
130cbcfaa3
|
Rename asts.matchesEmpty to alwaysAdvancesOnSuccess and negate it
This makes it more clear that the function isn't about the input the
expression *matched* but about the input it *consumed* when it matched.
Based on a comment by @Mingun:
https://github.com/pegjs/pegjs/pull/307#issuecomment-89512575
|
2015-07-31 13:48:46 +02:00 |
|
Arlo Breault
|
12c169e7b5
|
Convert PEG.js code to strict mode
* Issues #323
|
2015-06-12 17:34:59 -07:00 |
|
David Majda
|
eaca5f0acf
|
Add location information to |GrammarError|
This means all errors thrown by |PEG.buildParser| now have associated
location information.
|
2015-04-06 17:34:37 +02:00 |
|
David Majda
|
d7fc0b5c3b
|
Implement infinite loop detection
Fixes #26.
|
2015-04-01 12:21:43 +02:00 |
|