Chevrotain/chevrotain
Parser Building Toolkit for JavaScript observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4158
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
2797 stars · 221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Chevrotain is a fast, feature-rich parser building toolkit for JavaScript with built-in LL(K) grammar support. Grammars are written as pure JavaScript/TypeScript source without a code generation phase, usable from simple config files to full programming languages.
Use cases
- build a parser for a custom DSL in JavaScript
- write a lexer and tokenizer for a new language
- parse configuration files with a custom grammar
- build an interpreter or compiler frontend in TypeScript
- implement syntax highlighting by tokenizing source code
- replace parser generators with a no-codegen parsing library
When to choose
- you need high-performance parsing in JavaScript or TypeScript
- you want grammars as plain code without a code generation build step
- you need fine control over lexer and parser error recovery
When to avoid
- you prefer declarative grammar files with generated parsers (e.g., ANTLR)
- you need PEG or GLR parsing rather than LL(K)/LL(*)
- you are not working in a JavaScript runtime
Facets
library · maturity stable
parser compiler developer-tools parsers programming-languages developer-tools browser lexer tokenizer ll-k grammar dsl syntax-analysis no-code-generation nodejs javascript typescript
2 sources
- readme: https://github.com/Chevrotain/chevrotain · fetched 2026-08-28 · 20806ae2434e
- homepage: https://chevrotain.io · fetched 2026-08-29 · 44136fa355b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Chevrotain/chevrotain | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="Chevrotain/chevrotain")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem