Releases: Chevrotain/chevrotain
Releases · Chevrotain/chevrotain
v0.5.11
v0.5.10
v0.5.9
v0.5.8
v0.5.7
- Clearer interface for parsing errors.
- Upgrade to TypeScript 1.6
v0.5.6
v0.5.5
v0.5.4
OR (alternation) parsing DSL method no longer requires an error message description argument.
It is now an optional argument.
so:
$.OR([
{ALT: function(){ $.CONSUME(GreaterThan)}},
{ALT: function(){ $.CONSUME(LessThan)}}
], "error message description here");
becomes:
$.OR([
{ALT: function(){ $.CONSUME(GreaterThan)}},
{ALT: function(){ $.CONSUME(LessThan)}}
]);
And the error message will be computed automatically:
"expecting one of: <GreaterThan, LessThan> but found: ...."
v0.5.3
A new Parser public member/constructor argument: "isErrorRecoveryEnabled".
This flag will completely disable the error recovery(fault tolerance) capabilities of the parser,
which means the parser will fail fast on the first error without any attempt to run
the error recovery heuristics.