Changelog
1.3.7 (2023-06-22)
Fix a bug where the parser could skip characters while tokenizing in a local token group.
Changelog
1.3.6 (2023-06-02)
Fix an issue where context-tracking parsers, in specific circumstances, could create incorrectly nested trees.
Changelog
1.3.5 (2023-05-25)
Fix an issue where some grammars could make the parser unable to force reductions on invalid input, leading to trees that were missing some wrapping nodes around the broken input.
Changelog
1.3.4 (2023-04-24)
Fix tokenizing of @else
tokens that span separate input ranges.
Changelog
1.3.3 (2023-02-02)
Fix a crash when parsing a non-atomic skippable at the top of a nested parse.
Fix a bug that caused the tree-depth limit on left-associative rules to be applied to rules generated for repeat operators.
Changelog
1.3.2 (2023-01-31)
Place a limit on the amount of (non-recovering) parse stacks active at the same time to avoid exponential slowdown on inputs that nest ambiguous constructs.
Reduce the maximum left-associative nesting depth, since the old value could still cause Chrome (but not Firefox) to overflow its call stack.
Changelog
1.3.1 (2023-01-13)
Fix a bug that could corrupt the parse stack when parsing a non-single-token skippable expression from the initial parse state.
Changelog
1.3.0 (2023-01-09)
Avoid the problem of huge numbers of repeated left-associative operator applications creating a stack too deep to recurse on by detecting such parses and force-reducing out of them.
Add support for grammars that use @local tokens
declarations.
Changelog
1.2.5 (2022-11-16)
Fix a bug that made Stack.canShift
incorrectly return true in some circumstances.