Skip to content
CAI
Produce a survey ↗Verify a survey

antlr/antlr4

This system is the ANTLR 4 parser generator and its associated multi-language runtime libraries. It provides the core tooling to parse and transform grammars, alongside comprehensive runtime implementations for Java, C++, C#, Dart, Go, JavaScript, Python, Swift, and TypeScript. The codebase includes utilities for tree traversal, pattern matching, and error handling, ensuring consistent behavior across all supported targets.

60.2

Adequate · 6 August 2026

41k

lines of production code

Java

with C#, Swift, Dart, Go, JavaScript, Python

3

bus factor · 438 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2010–2013 · ANTLR v4 architecture and runtime

This period marks the comprehensive development of the ANTLR v4 tooling and Java runtime, introducing a new parsing infrastructure, code generation pipeline, and parse tree API. The work includes the removal of legacy v3 components, the implementation of left-recursion handling, and the addition of multi-language support for C#, Swift, and others.

32 changes

2014–2016 · multi-target runtime expansion

This period focused on significantly expanding ANTLR 4's language support by introducing new code generation templates and complete runtime implementations for Python 3, JavaScript, C++, Swift, and TypeScript. The work involved building out the full stack for these targets, including error handling, tree traversal, and build system integration, while also modernizing the existing Java and Go runtimes with parallel testing and ES6 refactoring.

43 changes

2017–2023 · multi-language runtime expansion and testing

This period focused on completing the ANTLR4 runtime implementations for Swift, Dart, and JavaScript, while significantly expanding test coverage and infrastructure for C++, C#, Go, PHP, and Python. The work also included refactoring Unicode data generation and establishing automated release and deployment workflows.

38 changes

CAI lens gauges

Survey your own repository

antlr/antlr4 was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 7d5770395b — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards