javacc/javacc
JavaCC - a parser generator for building parsers from grammars. It can generate code in Java, C++ and C#. observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 28
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3696
- days_rel: n/a
- days_push: 435
- n_releases_24m: 0
Adoption not part of the score
1278 stars · 252 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
JavaCC is a parser generator that reads grammar specifications and generates recursive-descent parsers in Java, C++, or C#. It includes supporting tools like JJTree for tree building and requires no runtime dependency once parsers are generated.
Use cases
- generate a parser for a custom DSL in Java
- build a compiler frontend from a grammar file
- parse a custom configuration or query language
- generate a lexer and parser for a programming language
- create an AST builder for a structured text format
- port a grammar to C++ or C# parser code
When to choose
- you need a pure-Java parser with no runtime dependency
- you want top-down recursive-descent parsing with LL(k) lookahead
- you need to generate parsers in Java, C++, or C# from one grammar
- you want mature, well-documented tooling with tree building included
When to avoid
- you need bottom-up LALR parsing like YACC/Bison provides
- your grammar relies heavily on left recursion
- you need parsers in languages other than Java, C++, or C#
- you want a parser combinator library embedded in host code rather than generated code
Facets
cli-tool · maturity stable
parser compiler developer-tools parsers programming-languages developer-tools compilers jvm cross-platform cli parser-generator javacc recursive-descent ll-k grammar jjtree code-generation
1 source
- readme: https://github.com/javacc/javacc · fetched 2026-08-28 · 46b0722d9ce7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| javacc/javacc | main | 35 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem