Parser Building Toolkit for JavaScript
2,801
stars
1,716
commits
TypeScript
primary language
Sep 10, 2026
updated
Chevrotain is a blazing fast and feature rich Parser Building Toolkit for JavaScript with built-in support for LL(K). Grammars and 3rd party plugin for LL(*) grammars. It can be used to build parsers/compilers/interpreters for various use cases ranging from simple configuration files, to full-fledged programming languages.
Grammars are written as pure JavaScript sources without a code generation phase,
A more in depth review of Chevrotain can be found in this great article on: Parsing in JavaScript: Tools and Libraries.
npm install chevrotainhttps://unpkg.com/chevrotain/lib/chevrotain.mjshttps://unpkg.com/chevrotain/lib/chevrotain.min.mjshttps://unpkg.com/chevrotain@13.2.0/lib/chevrotain.mjshttps://unpkg.com/chevrotain@13.2.0/lib/chevrotain.min.mjsChevrotain supports modern JavaScript runtimes: the Node.js versions declared
in the published package's package.json engines field, and current evergreen
browsers.
Chevrotain may rely on modern standard library APIs. Check the relevant
tsconfig*.json files and package engines fields for exact runtime
requirements.
Legacy runtimes are not supported. If you need to support older browsers, transpilation and polyfills may be required.
Contributions are greatly appreciated. See CONTRIBUTING.md for details.
A small-curated list:
(top 30 of 64)
1,251 commits
108 commits
99 commits
79 commits
TypeScript
83.8%
JavaScript
14.5%
HTML
1.3%
Parser Building Toolkit for JavaScript
2,801
stars
1,716
commits
TypeScript
primary language
Sep 10, 2026
updated
Chevrotain is a blazing fast and feature rich Parser Building Toolkit for JavaScript with built-in support for LL(K). Grammars and 3rd party plugin for LL(*) grammars. It can be used to build parsers/compilers/interpreters for various use cases ranging from simple configuration files, to full-fledged programming languages.
Grammars are written as pure JavaScript sources without a code generation phase,
A more in depth review of Chevrotain can be found in this great article on: Parsing in JavaScript: Tools and Libraries.
npm install chevrotainhttps://unpkg.com/chevrotain/lib/chevrotain.mjshttps://unpkg.com/chevrotain/lib/chevrotain.min.mjshttps://unpkg.com/chevrotain@13.2.0/lib/chevrotain.mjshttps://unpkg.com/chevrotain@13.2.0/lib/chevrotain.min.mjsChevrotain supports modern JavaScript runtimes: the Node.js versions declared
in the published package's package.json engines field, and current evergreen
browsers.
Chevrotain may rely on modern standard library APIs. Check the relevant
tsconfig*.json files and package engines fields for exact runtime
requirements.
Legacy runtimes are not supported. If you need to support older browsers, transpilation and polyfills may be required.
Contributions are greatly appreciated. See CONTRIBUTING.md for details.
A small-curated list:
(top 30 of 64)
1,251 commits
108 commits
99 commits
79 commits
TypeScript
83.8%
JavaScript
14.5%
HTML
1.3%