NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2809 most downloaded on npm
Chevrotain is a high performance fault tolerant javascript parsing DSL for building recursive decent parsers
Last release 1 months ago
01 Aug 2026
Ships unpredictably
gaps range from 2 weeks to 2.4 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
11 years old
175 releases · first in 2015
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Template to generate railroad syntax diagrams in local development.
Rule production not visited in GAstVisitor.
Improve in rule repetition re-sync recovery..
Detect parsers with anonymous constructors.
Javascript exceptions could have been swallowed during parser error recovery.
Enable name mangling in minified bundled version.
Expose cache reset function in the public API.
Dependency to lodash has been removed. Chevrotain now has no dependencies.
Fix to expose minified version in bower.
Minified version available on all release channels (npm/bower/github).
Bug in analysis of ES2015 Arrow functions.
incorrect error message for alternation empty alternatives error.
Detection of an alternation (OR) empty alt which is not the last alternative
Empty alternative in DSL OR parsing rule
Clearer interface for parsing errors.
Automatic detection of left recursion in implemented grammars. If detected an error will be thrown when attempting to initialize the implemented parse
Automatic detection of left recursion in implemented grammars. If detected an error will be thrown when attempting to initialize the implemented parser.
typo fixes in OR error message.
typo fixes in OR error message.
OR (alternation) parsing DSL method no longer requires an error message description argument. It is now an optional argument.
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: ...."
A new Parser public member/constructor argument: "isErrorRecoveryEnabled". This flag will completely disable the error recovery(fault tolerance) capab
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.
Updated links in Docs as github-pages url has changed from chevrotain.github.io --> sap.github.io/chevrotain.
Updated links in Docs as github-pages url has changed from chevrotain.github.io --> sap.github.io/chevrotain.
Bug in Error recovery for repetition with separators
New convenience parsing DSL rules for repetitions with separators.
New convenience parsing DSL rules for repetitions with separators.
Fixed a bug in error recovery for AT_LEAST_ONE DSL rule.
Ability to defer Parser definition errors handling.
Support for deferred error handling on lexer creation.
Added 'length' property for lexingErrors.
Improved in-repetition (MANY/AT_LEAST_ONE) fault tolerance
expose version number at runtime
Fixes for bower release to only include generated artifacts
- Bower release - Branch coverage now 100%
expose the Parser exceptions as part of the public API
fixes for Typescript definitions file creation and content.
Aligned internal and external APIs so the Typescript definition file (chevrotain.d.ts) is now correct.
fix multiple NA patterns detected as duplicates by the Lexer
support $ as namespace for parsing tokens/rules.
fix for a release packaging issue.
fix for a release packaging issue.
fix a bug with duplicates production validation when using anonymous Tokens
extendToken utility https://github.com/SAP/chevrotain/commit/987666bcf7cb4aa9e41aaa896d6a678c92e278be
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →