antlr/antlr4
59.7
Adequate · 13 November 2026
134.8k
lines of production code
Java
with C#, Swift, Dart, Go, C++, C, JavaScript, Python
7
measurements over time
What this system is
Behavioural changes
1 commit (0 fixes) modifying runtime/Cpp/runtime/nuget
A change to existing behaviour in runtime/Cpp/runtime/nuget — 1 commit, 9 files: “new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages (\#3741)” (refs \#3741).
runtime/Cpp/runtime/nuget · medium confidence · unverified
1 commit (0 fixes) modifying scripts/parse-extended-pictographic
A change to existing behaviour in scripts/parse-extended-pictographic — 1 commit, 4 files: “Extended Pictographic”.
scripts/parse-extended-pictographic · medium confidence · unverified
10 commits (2 fixes) modifying runtime/Dart/lib/src/util
A change to existing behaviour in runtime/Dart/lib/src/util — 10 commits (2 fixs), 8 files: “fix dart target crash when parsing high index options fixes 3198”; “Dart multi-platform builds through conditional imports and exports”; “fix: run dart analyzer against google pedantic”; and 6 more.
runtime/Dart/lib/src/util · medium confidence · unverified
103 commits (21 fixes) modifying tool/src/org/antlr/v4/analysis
A change to existing behaviour in tool/src/org/antlr/v4/analysis — 103 commits (21 fixs), 5 files: “got started on DFA to transition table generation”; “Got rid of the fields listed in the output model object hierarchy; created the exception throwing templates”; “Add field Attribute.token to hold a pseudo-token with specific location information for the attribute; track this position in ScopeParser”; and 99 more (refs \#489, \#773, \#652, \#670, \#542, …).
tool/src/org/antlr/v4/analysis · medium confidence · unverified
11 commits (0 fixes) modifying runtime/Java
A change to existing behaviour in runtime/Java — 11 commits, 2 files: “contributors-\>authors”; “improved javadoc output”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; and 8 more.
runtime/Java · medium confidence · unverified
11 commits (1 fix) modifying gunit/src
A change to existing behaviour in gunit/src — 11 commits (1 fix), 12 files: “add”; “tweak to Gen.java so it looks in correct templates area”; “adding gunit for v4”; and 7 more.
gunit/src · medium confidence · unverified
11 commits (1 fix) modifying runtime/JavaScript/src/antlr4/context
A change to existing behaviour in runtime/JavaScript/src/antlr4/context — 11 commits (1 fix), 12 files: “Fix incorrect comparison”; “Make javascript trace sim like java”; “Damn forgot to add this to the javascript update”; and 7 more (refs \#4149, \#4027, \#4826, \#3642).
runtime/JavaScript/src/antlr4/context · medium confidence · unverified
118 commits (38 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Go
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Go — 118 commits (38 fixs), 1 file: “\[Go\] Port locking algorithm from C++ to Go (\#3571)”; “Update all other targets”; “Add spaces around template var binder "\|"”; and 112 more (refs \#3571, \#3451, \#69, \#3937, \#3591, …).
tool/resources/org/antlr/v4/tool/templates/codegen/Go · medium confidence · unverified
12 commits (0 fixes) modifying runtime/Swift
A change to existing behaviour in runtime/Swift — 12 commits, 2 files: “Update boot.py and swift-target.md to reflect Swift 4 migration changes”; “Ignore .xcuserdata, and remove those that were here already”; “Now can generate xcode project”; and 9 more (refs \#3132, \#3642).
runtime/Swift · medium confidence · unverified
12 commits (0 fixes) modifying tool/src/org/antlr/v4/codegen/model/chunk
A change to existing behaviour in tool/src/org/antlr/v4/codegen/model/chunk — 12 commits, 33 files: “Escape bad words during grammar generation (\#3451)”; “contributors-\>authors”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; and 9 more (refs \#3451, \#3642).
tool/src/org/antlr/v4/codegen/model/chunk · medium confidence · unverified
12 commits (6 fixes) modifying runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj
A change to existing behaviour in runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj — 12 commits (6 fixs), 5 files: “Rework of the include structure”; “Fixed 2 problems found by runtime tests”; “Applied C++ changes for PR \#1955”; and 9 more (refs \#1955, \#3642).
runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj · medium confidence · unverified
120 commits (42 fixes) modifying runtime/JavaScript/src/antlr4
A change to existing behaviour in runtime/JavaScript/src/antlr4 — 120 commits (42 fixs), 74 files: “Prep 4.10.1 (\#3660)”; “set version in code/doc to 4.11.0”; “update copyrights on js”; and 111 more (refs \#3660, \#4038, \#1747, \#4200, \#4184, …).
runtime/JavaScript/src/antlr4 · medium confidence · unverified
121 commits (11 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/tree
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/tree — 121 commits (11 fixs), 15 files: “add getChildren() method to Tree”; “more cleanup”; “rename a parameter”; and 118 more (refs \#815, \#897, \#1152, \#304, \#3642).
runtime/Java/src/org/antlr/v4/runtime/tree · medium confidence · unverified
124 commits (28 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Cpp
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Cpp — 124 commits (28 fixs), 2 files: “Rework of the include structure”; “Update all other targets”; “Small alt check fix in LexerATNSimulator”; and 120 more (refs \#3451, \#3550, \#3591, \#3627, \#3565, …).
tool/resources/org/antlr/v4/tool/templates/codegen/Cpp · medium confidence · unverified
126 commits (33 fixes) modifying tool-testsuite
A change to existing behaviour in tool-testsuite — 126 commits (33 fixs), 58 files: “Emit language-specific Unicode escapes when generating code containing non-ASCII Unicode values”; “factor antlr() out of target test files into single spot”; “Add a test case for importing modal lexers into a composite grammar. The test case demonstrates an error is produced (due to importing modes into a composite grammar)”; and 122 more (refs \#2498, \#1537, \#1556, \#3591, \#3445, …).
tool-testsuite · medium confidence · unverified
14 commits (2 fixes) modifying runtime/Dart/lib/src/error
A change to existing behaviour in runtime/Dart/lib/src/error — 14 commits (2 fixs), 5 files: “Dart multi-platform builds through conditional imports and exports”; “fix: run dart analyzer against google pedantic”; “mark3”; and 10 more (refs \#4320).
runtime/Dart/lib/src/error · medium confidence · unverified
14 commits (4 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/PHP
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/PHP — 14 commits (4 fixs), 1 file: “Escape bad words during grammar generation (\#3451)”; “Add parens to all target bitsetBitfieldComparison templates to avoid issues where compilers complain about not having parens around higher-precedence && vs \|\| operators. A tweak to https://github.com/antlr/antlr4/pull/3701”; “Fold constants in generated code for all runtimes”; and 11 more (refs \#3451, \#3579, \#3582, \#3642).
tool/resources/org/antlr/v4/tool/templates/codegen/PHP · medium confidence · unverified
14 commits (5 fixes) modifying runtime/Dart/lib/src/tree
A change to existing behaviour in runtime/Dart/lib/src/tree — 14 commits (5 fixs), 5 files: “fix: run dart analyzer against google pedantic”; “mark3”; “remove todo flags and make ruleToTokenType late”; and 11 more (refs \#4320, \#3642).
runtime/Dart/lib/src/tree · medium confidence · unverified
142 commits (28 fixes) modifying antlr4-runtime
A change to existing behaviour in antlr4-runtime — 142 commits (28 fixs), 18 files: “Prediction context documentation including graphs”; “Optimize toArray”; “Reduce and/or operations on multiple precedence predicates to a single predicate”; and 138 more (refs \#400, \#815, \#2172, \#1949, \#679, …).
antlr4-runtime · medium confidence · unverified
145 commits (18 fixes) modifying antlr4
A change to existing behaviour in antlr4 — 145 commits (18 fixs), 6 files: “Emit language-specific Unicode escapes when generating code containing non-ASCII Unicode values”; “Swift: fix binary serialization and use instead of JSON”; “got all locals into return struct. all vars are visible to invoked rules via $rule::attr now”; and 134 more (refs \#3451, \#3591, \#815, \#3566, \#572, …).
antlr4 · medium confidence · unverified
15 commits (3 fixes) modifying runtime/Python3/src/antlr4/error
A change to existing behaviour in runtime/Python3/src/antlr4/error — 15 commits (3 fixs), 5 files: “contributors-\>authors”; “Remove redundant isExpectedToken check”; “Py runtime: Move to relative imports (\#4705)”; and 12 more (refs \#4705, \#3042, \#4095, \#4097).
runtime/Python3/src/antlr4/error · medium confidence · unverified
151 commits (25 fixes) modifying runtime/Swift/Sources
A change to existing behaviour in runtime/Swift/Sources — 151 commits (25 fixs), 156 files: “Simplify ParseTree and ParserRuleContext”; “Changes to Mutex-es to guard the staticly shared \[DFA\]”; “Removing dead code, malformed documentations, etc”; and 147 more (refs \#3660, \#3043, \#3591, \#1674, \#1665, …).
runtime/Swift/Sources · medium confidence · unverified
16 commits (3 fixes) modifying runtime/Cpp/demo/Windows
A change to existing behaviour in runtime/Cpp/demo/Windows — 16 commits (3 fixs), 4 files: “VS solution update + compile fixes after latest changes”; “contributors-\>authors”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; and 13 more.
runtime/Cpp/demo/Windows · medium confidence · unverified
162 commits (37 fixes) modifying tool/src/org/antlr/v4/automata
A change to existing behaviour in tool/src/org/antlr/v4/automata — 162 commits (37 fixs), 8 files: “Throw EMPTY\_STRINGS\_AND\_SETS\_NOT\_ALLOWED error instead of RuntimeException for empty set, fixes \#2498”; “adding new files”; “Updated @NotNull and @Nullable annotations, linked documentation”; and 158 more (refs \#2498, \#1556, \#190, \#815, \#542, …).
tool/src/org/antlr/v4/automata · medium confidence · unverified
165 commits (23 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/misc
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/misc — 165 commits (23 fixs), 22 files: “Make sure to set last bucket to null after remove or you could have a memory leak”; “look for T not just TLexer if no parser just tokens”; “full LL is always correct now, if slower. Stops prediction when resolvesToJustOneViableAlt(). SLL always uses heuristic”; and 160 more (refs \#3726, \#3591, \#1703, \#815, \#1718, …).
runtime/Java/src/org/antlr/v4/runtime/misc · medium confidence · unverified
17 commits (1 fix) modifying runtime/Python3/src/antlr4/tree
A change to existing behaviour in runtime/Python3/src/antlr4/tree — 17 commits (1 fix), 9 files: “Make Python targets more pythonic”; “contributors-\>authors”; “Py runtime: Move to relative imports (\#4705)”; and 14 more (refs \#4705, \#3599, \#1152, \#3642).
runtime/Python3/src/antlr4/tree · medium confidence · unverified
171 commits (51 fixes) modifying runtime/Cpp/runtime/src/atn
A change to existing behaviour in runtime/Cpp/runtime/src/atn — 171 commits (51 fixs), 128 files: “\[C++\] Cleanup DFA, DFAState, LexerAction, and yet more performance improvements (\#3615)”; “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “LexerAction instances shared\_ptr fix”; and 166 more (refs \#3615, \#4792, \#3595, \#1809, \#3644, …).
runtime/Cpp/runtime/src/atn · medium confidence · unverified
18 commits (6 fixes) modifying runtime/Cpp/demo/Mac/antlrcpp Tests
A change to existing behaviour in runtime/Cpp/demo/Mac/antlrcpp Tests — 18 commits (6 fixs), 4 files: “Added all changes done so far. Since we are here on a very old revision I cannot simply merge, so all files have manually been copied and we have no history for these changes”; “Fixed some TODOs + exceptions”; “New unit tests + template enhancements + more memory handling work”; and 15 more.
runtime/Cpp/demo/Mac/antlrcpp Tests · medium confidence · unverified
19 commits (2 fixes) modifying runtime/JavaScript/src/antlr4/misc
A change to existing behaviour in runtime/JavaScript/src/antlr4/misc — 19 commits (2 fixs), 12 files: “more tests”; “do not modify String.prototype in js package (\#4200)”; “improve HashSet performance”; and 15 more (refs \#4200, \#4027, \#4731, \#4826, \#4746, …).
runtime/JavaScript/src/antlr4/misc · medium confidence · unverified
192 commits (29 fixes) modifying tool/src/org/antlr/v4
A change to existing behaviour in tool/src/org/antlr/v4 — 192 commits (29 fixs), 1 file: “checking for illegal tokens everywhere”; “Make sure to check rules in modes while checking for undefined rules”; “got basic NFA code gen and interp working”; and 184 more (refs \#308, \#1087, \#753, \#638, \#563, …).
tool/src/org/antlr/v4 · medium confidence · unverified
195 commits (38 fixes) modifying tool/src/org/antlr/v4/codegen/model
A change to existing behaviour in tool/src/org/antlr/v4/codegen/model — 195 commits (38 fixs), 58 files: “Fix documentation comments generated for labeled alternatives (fixes \#543)”; “Exceptions now work on rules. If you specify at least one catch, then it overrides all catches that ANTLR generates. Otherwise, there would be no way to override the generic recognition exception clause”; “Optimize toArray”; and 184 more (refs \#543, \#3451, \#3591, \#4128, \#815, …).
tool/src/org/antlr/v4/codegen/model · medium confidence · unverified
2 commits (0 fixes) modifying runtime/Cpp/runtime/antlrcpp.xcodeproj/project.xcworkspace
A change to existing behaviour in runtime/Cpp/runtime/antlrcpp.xcodeproj/project.xcworkspace — 2 commits, 2 files: “Applied C++ changes for PR \#1955”; “Split XCode demo + libraries into individual projects” (refs \#1955).
runtime/Cpp/runtime/antlrcpp.xcodeproj/project.xcworkspace · medium confidence · unverified
20 commits (2 fixes) modifying tool/src/org/antlr/v4/gui
A change to existing behaviour in tool/src/org/antlr/v4/gui — 20 commits (2 fixs), 12 files: “CharStreams”; “contributors-\>authors”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; and 16 more (refs \#3727, \#1073).
tool/src/org/antlr/v4/gui · medium confidence · unverified
210 commits (52 fixes) modifying runtime/Cpp/runtime/src
A change to existing behaviour in runtime/Cpp/runtime/src — 210 commits (52 fixs), 90 files: “Fixed a number of data type + signedness issues”; “Converted smart pointer for the rule context in RecognitionException”; “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; and 207 more (refs \#4792, \#3660, \#1665, \#1674, \#3550, …).
runtime/Cpp/runtime/src · medium confidence · unverified
223 commits (38 fixes) modifying tool/src/org/antlr/v4/semantics
A change to existing behaviour in tool/src/org/antlr/v4/semantics — 223 commits (38 fixs), 9 files: “checking for illegal tokens everywhere”; “Fix BasicSemanticCheck to check for token names that do not start with an uppercase letter”; “shelve for pull at home; don't sync ;)”; and 219 more (refs \#472, \#489, \#295, \#815, \#3000, …).
tool/src/org/antlr/v4/semantics · medium confidence · unverified
23 commits (2 fixes) modifying runtime/JavaScript
A change to existing behaviour in runtime/JavaScript — 23 commits (2 fixs), 10 files: “browser support increased with babel transformation”; “links update”; “Add projects to test typescript support with different compiler options (\#4597)”; and 19 more (refs \#4597, \#4027, \#3560, \#4355, \#3642, …).
runtime/JavaScript · medium confidence · unverified
23 commits (3 fixes) modifying tool/resources/org/antlr/v4/tool/templates
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates — 23 commits (3 fixs), 3 files: “remove tool-codegen”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; “added -depend cmd-line option; fixes \#71”; and 20 more (refs \#71).
tool/resources/org/antlr/v4/tool/templates · medium confidence · unverified
231 commits (46 fixes) modifying tool/src/org/antlr/v4/parse
A change to existing behaviour in tool/src/org/antlr/v4/parse — 231 commits (46 fixs), 16 files: “Move doc comments to comments channel (fixes \#465)”; “checking for illegal tokens everywhere”; “fixing a lot of little thingsTo make my examples work”; and 223 more (refs \#465, \#308, \#563, \#243, \#295, …).
tool/src/org/antlr/v4/parse · medium confidence · unverified
242 commits (28 fixes) modifying tool/src/org/antlr/v4/codegen
A change to existing behaviour in tool/src/org/antlr/v4/codegen — 242 commits (28 fixs), 14 files: “Emit language-specific Unicode escapes when generating code containing non-ASCII Unicode values”; “Catch specific RecognitionException instead of Exception”; “Exceptions now work on rules. If you specify at least one catch, then it overrides all catches that ANTLR generates. Otherwise, there would be no way to override the generic recognition exception clause”; and 231 more (refs \#3451, \#4027, \#295, \#815, \#1211, …).
tool/src/org/antlr/v4/codegen · medium confidence · unverified
26 commits (2 fixes) modifying scripts
A change to existing behaviour in scripts — 26 commits (2 fixs), 5 files: “Prep 4.10.1 (\#3660)”; “fix: Fixes merge arrays to perform an actual comparison rather than comparing two pointers! Fixes: \#3967 Closes \#3967”; “set version in code/doc to 4.11.0”; and 21 more (refs \#3660, \#3967, \#3599, \#3642).
scripts · medium confidence · unverified
26 commits (9 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Dart
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Dart — 26 commits (9 fixs), 1 file: “remove late from generated class label members”; “Escape bad words during grammar generation (\#3451)”; “Add parens to all target bitsetBitfieldComparison templates to avoid issues where compilers complain about not having parens around higher-precedence && vs \|\| operators. A tweak to https://github.com/antlr/antlr4/pull/3701”; and 23 more (refs \#3451, \#3578, \#3459, \#3141, \#3642).
tool/resources/org/antlr/v4/tool/templates/codegen/Dart · medium confidence · unverified
27 commits (3 fixes) modifying runtime/CSharp
A change to existing behaviour in runtime/CSharp — 27 commits (3 fixs), 201 files: “Prep 4.10.1 (\#3660)”; “set version in code/doc to 4.11.0”; “Add check on valid parse”; and 24 more (refs \#3660, \#3591, \#2693, \#3057, \#3515, …).
runtime/CSharp · medium confidence · unverified
27 commits (3 fixes) modifying runtime/Python3/src/antlr4/xpath
A change to existing behaviour in runtime/Python3/src/antlr4/xpath — 27 commits (3 fixs), 4 files: “Make Python targets more pythonic”; “bump version to 4.13.0-SNAPSHOT in poms, regen XPath lexers”; “contributors-\>authors”; and 24 more (refs \#4705, \#3515, \#3599, \#3642).
runtime/Python3/src/antlr4/xpath · medium confidence · unverified
27 commits (6 fixes) modifying runtime/Dart/lib/src/atn
A change to existing behaviour in runtime/Dart/lib/src/atn — 27 commits (6 fixs), 16 files: “mark5”; “Run \dartfmt -w .\ on Dart runtime code”; “fix: run dart analyzer against google pedantic”; and 23 more (refs \#3591, \#3515, \#4320, \#3642).
runtime/Dart/lib/src/atn · medium confidence · unverified
30 commits (6 fixes) modifying runtime/Cpp/demo/Mac/antlr4-cpp-demo
A change to existing behaviour in runtime/Cpp/demo/Mac/antlr4-cpp-demo — 30 commits (6 fixs), 1 file: “Rework of the include structure”; “Added all changes done so far. Since we are here on a very old revision I cannot simply merge, so all files have manually been copied and we have no history for these changes”; “contributors-\>authors”; and 27 more.
runtime/Cpp/demo/Mac/antlr4-cpp-demo · medium confidence · unverified
306 commits (41 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Java
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Java — 306 commits (41 fixs), 1 file: “off by 1 error”; “Mode constants written to file as tokens and channels”; “Fix documentation comments generated for labeled alternatives (fixes \#543)”; and 291 more (refs \#543, \#3451, \#2016, \#3937, \#3591, …).
tool/resources/org/antlr/v4/tool/templates/codegen/Java · medium confidence · unverified
32 commits (5 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/tree/xpath
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/tree/xpath — 32 commits (5 fixs), 10 files: “rm comment”; “rebuilt XPath using ANTLR itself; added error handling; added ! operator”; “cleaned up test rig. more tests. fix bugs”; and 28 more (refs \#1620, \#370).
runtime/Java/src/org/antlr/v4/runtime/tree/xpath · medium confidence · unverified
32 commits (6 fixes) modifying runtime/JavaScript/src/antlr4/dfa
A change to existing behaviour in runtime/JavaScript/src/antlr4/dfa — 32 commits (6 fixs), 8 files: “JS: Fix missing 'requires' statements”; “update copyrights on js”; “refactor PredPrediction and DFAState to es6 classes”; and 29 more (refs \#4027, \#4826, \#3642).
runtime/JavaScript/src/antlr4/dfa · medium confidence · unverified
34 commits (7 fixes) modifying runtime/JavaScript/src/antlr4/error
A change to existing behaviour in runtime/JavaScript/src/antlr4/error — 34 commits (7 fixs), 25 files: “update copyrights on js”; “refactored error directoryto use classes, const and let”; “contributors-\>authors”; and 29 more (refs \#4278, \#69, \#4145, \#4027, \#3042, …).
runtime/JavaScript/src/antlr4/error · medium confidence · unverified
342 commits (31 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 342 commits (31 fixs), 11 files: “Add Jim/Ken to readme”; “new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages (\#3741)”; “README: Update required Java version (\#4129)”; and 265 more (refs \#3741, \#4129, \#3967, \#1010, \#3483, …).
(repo-wide) · low confidence · unverified
4 commits (0 fixes) modifying tool/resources/org/antlr/v4/tool/templates/dot
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/dot — 4 commits, 1 file: “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; “Format and document the 'state' template to improve readability”; “Use a group file instead of loose templates (easier to understand the interactions)”; and 1 more.
tool/resources/org/antlr/v4/tool/templates/dot · medium confidence · unverified
4 commits (1 fix) modifying runtime/Python3
A change to existing behaviour in runtime/Python3 — 4 commits (1 fix), 3 files: “fix links”; “all Python3 runtime tests pass. Using same "get resource" mechanism to find runtime python code as I did for C\#”; “Py3 Runtime: distribute the tests in the sdist”; and 1 more.
runtime/Python3 · medium confidence · unverified
40 commits (7 fixes) modifying runtime/Dart/lib/src
A change to existing behaviour in runtime/Dart/lib/src — 40 commits (7 fixs), 20 files: “mark5”; “Prep 4.10.1 (\#3660)”; “set version in code/doc to 4.11.0”; and 36 more (refs \#3660, \#3578, \#3599, \#4320, \#3642, …).
runtime/Dart/lib/src · medium confidence · unverified
41 commits (12 fixes) modifying runtime/Cpp/runtime/src/tree/pattern
A change to existing behaviour in runtime/Cpp/runtime/src/tree/pattern — 41 commits (12 fixs), 16 files: “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “Rework of the include structure”; “\[C++\] Remove support/StringUtils”; and 38 more (refs \#4792, \#1608, \#4794, \#4791, \#13, …).
runtime/Cpp/runtime/src/tree/pattern · medium confidence · unverified
44 commits (12 fixes) modifying runtime/Python3/src/antlr4/atn
A change to existing behaviour in runtime/Python3/src/antlr4/atn — 44 commits (12 fixs), 16 files: “Make Python targets more pythonic”; “from master”; “use native tuple hash instead of str hash”; and 39 more (refs \#1217, \#4705, \#3591, \#1010, \#1955, …).
runtime/Python3/src/antlr4/atn · medium confidence · unverified
45 commits (8 fixes) modifying runtime/Cpp/runtime/src/dfa
A change to existing behaviour in runtime/Cpp/runtime/src/dfa — 45 commits (8 fixs), 8 files: “\[C++\] Cleanup DFA, DFAState, LexerAction, and yet more performance improvements (\#3615)”; “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “Rework of the include structure”; and 42 more (refs \#3615, \#4792, \#3550, \#1435, \#4794, …).
runtime/Cpp/runtime/src/dfa · medium confidence · unverified
456 commits (75 fixes) modifying tool/src/org/antlr/v4/tool
A change to existing behaviour in tool/src/org/antlr/v4/tool — 456 commits (75 fixs), 25 files: “checking for illegal tokens everywhere”; “got started on DFA to transition table generation”; “Throw EMPTY\_STRINGS\_AND\_SETS\_NOT\_ALLOWED error instead of RuntimeException for empty set, fixes \#2498”; and 444 more (refs \#2498, \#1537, \#3451, \#472, \#563, …).
tool/src/org/antlr/v4/tool · medium confidence · unverified
46 commits (6 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/tree/pattern
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/tree/pattern — 46 commits (6 fixs), 8 files: “got optimized tree back with \<expr\> as single node”; “add comments to Chunk”; “working on api”; and 43 more (refs \#413, \#815, \#711).
runtime/Java/src/org/antlr/v4/runtime/tree/pattern · medium confidence · unverified
46 commits (9 fixes) modifying runtime/JavaScript/src/antlr4/tree
A change to existing behaviour in runtime/JavaScript/src/antlr4/tree — 46 commits (9 fixs), 24 files: “made visitAtom work for terminal nodes”; “update copyrights on js”; “remove unnecessary test template”; and 41 more (refs \#4027, \#4826, \#1152, \#1081, \#4718, …).
runtime/JavaScript/src/antlr4/tree · medium confidence · unverified
47 commits (10 fixes) modifying runtime/Cpp/runtime/src/tree/xpath
A change to existing behaviour in runtime/Cpp/runtime/src/tree/xpath — 47 commits (10 fixs), 22 files: “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “Rework of the include structure”; “C++ runtime changes for high warning levels”; and 44 more (refs \#4792, \#3550, \#2464, \#3591, \#3565, …).
runtime/Cpp/runtime/src/tree/xpath · medium confidence · unverified
49 commits (14 fixes) modifying runtime/Cpp/runtime/antlrcpp.xcodeproj
A change to existing behaviour in runtime/Cpp/runtime/antlrcpp.xcodeproj — 49 commits (14 fixs), 1 file: “Rework of the include structure”; “Bug fixes + XCode 8 updates”; “Simplification of the ATN config lookup handling”; and 46 more (refs \#1955, \#1435, \#3642).
runtime/Cpp/runtime/antlrcpp.xcodeproj · medium confidence · unverified
5 commits (0 fixes) modifying tool/src/org/antlr/v4/unicode
A change to existing behaviour in tool/src/org/antlr/v4/unicode — 5 commits, 1 file: “remove tool-codegen”; “Extended Pictographic”; “Get rid of static class generation for properties”; and 2 more.
tool/src/org/antlr/v4/unicode · medium confidence · unverified
5 commits (2 fixes) modifying runtime-testsuite/resources
A change to existing behaviour in runtime-testsuite/resources — 5 commits (2 fixs), 1 file: “Simplify runtime and tool tests, make tests fully concurrent”; “fix: Minor updates to address Ivan's PR review”; “feat: Improve the runtime performance of the go test suite”.
runtime-testsuite/resources · medium confidence · unverified
53 commits (7 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Swift
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Swift — 53 commits (7 fixs), 1 file: “Swift: fix binary serialization and use instead of JSON”; “Update all other targets”; “Escape bad words during grammar generation (\#3451)”; and 45 more (refs \#3451, \#3036, \#3043, \#3937, \#3599, …).
tool/resources/org/antlr/v4/tool/templates/codegen/Swift · medium confidence · unverified
55 commits (11 fixes) modifying runtime/Cpp/cmake
A change to existing behaviour in runtime/Cpp/cmake — 55 commits (11 fixs), 6 files: “Update ExternalAntlr4Cpp.cmake”; “Prep 4.10.1 (\#3660)”; “add example showing how to compile Cpp runtime with a different standard”; and 50 more (refs \#3660, \#4786, \#4459, \#3628, \#4121, …).
runtime/Cpp/cmake · medium confidence · unverified
55 commits (7 fixes) modifying tool/src/org/antlr/v4/codegen/model/decl
A change to existing behaviour in tool/src/org/antlr/v4/codegen/model/decl — 55 commits (7 fixs), 18 files: “Remove unnecessary getter”; “woof. separated out interfaces etc... now codegen extensions work”; “Escape bad words during grammar generation (\#3451)”; and 51 more (refs \#3451, \#4027, \#554, \#672, \#3642).
tool/src/org/antlr/v4/codegen/model/decl · medium confidence · unverified
57 commits (18 fixes) modifying runtime/Cpp/runtime
A change to existing behaviour in runtime/Cpp/runtime — 57 commits (18 fixs), 5 files: “Revert "CMake build fixes for Visual Studio"”; “Fix a CMake v4.0.0 build error (related to \googletest\) (\#4808)”; “Remove libuuid dependency from C++ runtime”; and 51 more (refs \#4808, \#4086, \#3624, \#4140, \#3995, …).
runtime/Cpp/runtime · medium confidence · unverified
570 commits (101 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/atn
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/atn — 570 commits (101 fixs), 53 files: “v4: Fix Lexer.reset (and as a side effect fixes Lexer.setInputStream)”; “full LL is always correct now, if slower. Stops prediction when resolvesToJustOneViableAlt(). SLL always uses heuristic”; “\[Java\] Preserve serialized ATN version 3 compatibility (\#3583)”; and 551 more (refs \#3583, \#509, \#1369, \#196, \#410, …).
runtime/Java/src/org/antlr/v4/runtime/atn · medium confidence · unverified
580 commits (90 fixes) modifying runtime/Java/src/org/antlr/v4/runtime
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime — 580 commits (90 fixs), 44 files: “v4: Fix Lexer.reset (and as a side effect fixes Lexer.setInputStream)”; “add getChildren() method to Tree”; “fixing a lot of little thingsTo make my examples work”; and 561 more (refs \#3660, \#550, \#1177, \#3722, \#480, …).
runtime/Java/src/org/antlr/v4/runtime · medium confidence · unverified
6 commits (0 fixes) modifying gunit/resources
A change to existing behaviour in gunit/resources — 6 commits, 1 file: “improve gunit in v4”; “adding gunit for v4”; “Rename/move file(s) from old antlr4 to antlr-rewrite; that's not antlr4 anymore”; and 3 more.
gunit/resources · medium confidence · unverified
6 commits (0 fixes) modifying tool/resources/org/antlr/v4/tool/templates/messages
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/messages — 6 commits, 3 files: “got error handling with v4 ST working; no error loops etc”; “Rename/move file(s) from old antlr4 to antlr-rewrite; that's not antlr4 anymore”; “tweak”; and 3 more.
tool/resources/org/antlr/v4/tool/templates/messages · medium confidence · unverified
6 commits (2 fixes) modifying antlr4-maven-plugin/src/site/apt
A change to existing behaviour in antlr4-maven-plugin/src/site/apt — 6 commits (2 fixs), 6 files: “Updated Mojo documentation”; “Fix documentation links to the antlr4 goal”; “Use a template to fill in the correct version reference”; and 3 more.
antlr4-maven-plugin/src/site/apt · medium confidence · unverified
6 commits (2 fixes) modifying runtime/Java/src/main
A change to existing behaviour in runtime/Java/src/main — 6 commits (2 fixs), 23 files: “Prediction context documentation including graphs”; “got javadoc DOT images in; updated font names to avoid warnings”; “Rewrite test generator as a Maven plugin that generates tests as part of the build”; and 3 more.
runtime/Java/src/main · medium confidence · unverified
6 commits (3 fixes) modifying runtime/Cpp/runtime/src/internal
A change to existing behaviour in runtime/Cpp/runtime/src/internal — 6 commits (3 fixs), 2 files: “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “\[C++\] Fix synchronization abstraction includes for Abseil (\#3695)”; “cpp runtime: Remove pthread dependency. (\#4086)”; and 3 more (refs \#4792, \#3695, \#4086, \#3696, \#3694).
runtime/Cpp/runtime/src/internal · medium confidence · unverified
60 commits (9 fixes) modifying tool/src/org/antlr/v4/tool/ast
A change to existing behaviour in tool/src/org/antlr/v4/tool/ast — 60 commits (9 fixs), 17 files: “Optimize toArray”; “report errors with too few alt labels or redef of alt label”; “Fix remaining minor issues with use of generics in Tool”; and 57 more (refs \#210, \#815, \#1815, \#3642).
tool/src/org/antlr/v4/tool/ast · medium confidence · unverified
61 commits (14 fixes) modifying runtime/Cpp/runtime/src/tree
A change to existing behaviour in runtime/Cpp/runtime/src/tree — 61 commits (14 fixs), 21 files: “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “Rework of the include structure”; “C++ runtime changes for high warning levels”; and 58 more (refs \#4792, \#1665, \#1674, \#4794, \#3584, …).
runtime/Cpp/runtime/src/tree · medium confidence · unverified
61 commits (15 fixes) modifying runtime/Cpp/demo
A change to existing behaviour in runtime/Cpp/demo — 61 commits (15 fixs), 7 files: “Prep 4.10.1 (\#3660)”; “Revert "CMake build fixes for Visual Studio"”; “set version in code/doc to 4.11.0”; and 57 more (refs \#3660, \#3599, \#3642).
runtime/Cpp/demo · medium confidence · unverified
62 commits (25 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/Python3
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/Python3 — 62 commits (25 fixs), 1 file: “Update all other targets”; “fix inconsistent naming in target stg”; “Update templates for other languages similarly”; and 59 more (refs \#3451, \#22, \#39, \#4726, \#23, …).
tool/resources/org/antlr/v4/tool/templates/codegen/Python3 · medium confidence · unverified
63 commits (15 fixes) modifying runtime/Cpp/runtime/src/misc
A change to existing behaviour in runtime/Cpp/runtime/src/misc — 63 commits (15 fixs), 10 files: “Add include \antlr4-common.h\ to files using symbols from it. (\#4792)”; “Rework of the include structure”; “\[C++\] Fix Windows min/max macro collision”; and 60 more (refs \#4792, \#3550, \#3591, \#1483, \#3608, …).
runtime/Cpp/runtime/src/misc · medium confidence · unverified
69 commits (27 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/JavaScript
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/JavaScript — 69 commits (27 fixs), 1 file: “Update all other targets”; “fix: use prototype for lexer and method for parser”; “fix inconsistent naming in target stg”; and 66 more (refs \#3451, \#3568, \#3937, \#4027, \#12, …).
tool/resources/org/antlr/v4/tool/templates/codegen/JavaScript · medium confidence · unverified
7 commits (1 fix) modifying runtime/Dart/lib
A change to existing behaviour in runtime/Dart/lib — 7 commits (1 fix), 1 file: “Run \dartfmt -w .\ on Dart runtime code”; “Address comments from code reviews”; “export recognizer class for dart target”; and 3 more (refs \#4320).
runtime/Dart/lib · medium confidence · unverified
70 commits (8 fixes) modifying antlr4-maven-plugin/src/main
A change to existing behaviour in antlr4-maven-plugin/src/main — 70 commits (8 fixs), 4 files: “More cleanup; use save Collection comparison, fix Javadoc”; “Optimize toArray”; “Cleanup; explicitly handle checksum creation failure”; and 66 more (refs \#3093, \#1342, \#342, \#3642, \#319).
antlr4-maven-plugin/src/main · medium confidence · unverified
71 commits (8 fixes) modifying runtime/Java/src/org/antlr/v4/runtime/dfa
A change to existing behaviour in runtime/Java/src/org/antlr/v4/runtime/dfa — 71 commits (8 fixs), 4 files: “slow again since i had to remove full LL context-\>alt cache (wasn't correct). But, threaded now makes bigger diff than before”; “improve hashCode”; “Documentation updates”; and 68 more (refs \#400, \#815, \#711).
runtime/Java/src/org/antlr/v4/runtime/dfa · medium confidence · unverified
75 commits (29 fixes) modifying runtime/Go/antlr/v4
A change to existing behaviour in runtime/Go/antlr/v4 — 75 commits (29 fixs), 55 files: “feat: Catches up minor performance improvements and adds a build tag to build without mutex use when the user knows there will be no multiple access from go routines”; “fix: Fixes merge arrays to perform an actual comparison rather than comparing two pointers! Fixes: \#3967 Closes \#3967”; “set version in code/doc to 4.11.0”; and 56 more (refs \#3967, \#4154, \#4176, \#3840, \#4169, …).
runtime/Go/antlr/v4 · medium confidence · unverified
8 commits (0 fixes) modifying runtime/JavaScript/src/antlr4/utils
A change to existing behaviour in runtime/JavaScript/src/antlr4/utils — 8 commits, 15 files: “do not modify String.prototype in js package (\#4200)”; “Typescript target (\#4027)”; “add license prefix”; and 4 more (refs \#4200, \#4027, \#4826, \#3642).
runtime/JavaScript/src/antlr4/utils · medium confidence · unverified
8 commits (3 fixes) modifying runtime/Cpp/demo/Linux
A change to existing behaviour in runtime/Cpp/demo/Linux — 8 commits (3 fixs), 1 file: “A fix for the Linux demo project”; “contributors-\>authors”; “make it read "Copyright (c) 2012-2016 The ANTLR Project"”; and 5 more.
runtime/Cpp/demo/Linux · medium confidence · unverified
80 commits (7 fixes) modifying tool/src/org/antlr/v4/misc
A change to existing behaviour in tool/src/org/antlr/v4/misc — 80 commits (7 fixs), 7 files: “got good start on code generator”; “java.g working again”; “Use LinkedHashMap for deterministic behavior in Graph class”; and 75 more (refs \#815, \#1815, \#337, \#3642).
tool/src/org/antlr/v4/misc · medium confidence · unverified
83 commits (19 fixes) modifying runtime/Python3/src/antlr4
A change to existing behaviour in runtime/Python3/src/antlr4 — 83 commits (19 fixs), 25 files: “fix error "'CommonToken' object has no attribute 'stopIndex' in Python{2\|3}" \#1529”; “Prep 4.10.1 (\#3660)”; “Make Python targets more pythonic”; and 79 more (refs \#1529, \#3660, \#1217, \#4705, \#1298, …).
runtime/Python3/src/antlr4 · medium confidence · unverified
84 commits (17 fixes) modifying runtime/Cpp/runtime/src/support
A change to existing behaviour in runtime/Cpp/runtime/src/support — 84 commits (17 fixs), 14 files: “\[C++\] Cleanup DFA, DFAState, LexerAction, and yet more performance improvements (\#3615)”; “Rework of the include structure”; “Made converters thread\_local instead of local to function for performance”; and 79 more (refs \#3615, \#1435, \#4794, \#2211, \#3584, …).
runtime/Cpp/runtime/src/support · medium confidence · unverified
9 commits (1 fix) modifying tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript — 9 commits (1 fix), 1 file: “Implement consistent file extensions for Typescript imports (\#4492)”; “Typescript target (\#4027)”; “add missing constants”; and 5 more (refs \#4492, \#4027, \#4147, \#4709).
tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript · medium confidence · unverified
91 commits (19 fixes) modifying tool/resources/org/antlr/v4/tool/templates/codegen/CSharp
A change to existing behaviour in tool/resources/org/antlr/v4/tool/templates/codegen/CSharp — 91 commits (19 fixs), 1 file: “Good progress with parser”; “Update all other targets”; “Update templates for other languages similarly”; and 87 more (refs \#3451, \#11, \#2, \#1152, \#1658, …).
tool/resources/org/antlr/v4/tool/templates/codegen/CSharp · medium confidence · unverified
96 commits (19 fixes) modifying runtime/Cpp
A change to existing behaviour in runtime/Cpp — 96 commits (19 fixs), 7 files: “Changed the compiler detection code for Clang so that FreeBSD is supported too”; “Prep 4.10.1 (\#3660)”; “Rework of the include structure”; and 92 more (refs \#3660, \#1809, \#1435, \#3599, \#3663, …).
runtime/Cpp · medium confidence · unverified
96 commits (19 fixes) modifying tool/src/org/antlr/v4/codegen/target
A change to existing behaviour in tool/src/org/antlr/v4/codegen/target — 96 commits (19 fixs), 10 files: “Emit language-specific Unicode escapes when generating code containing non-ASCII Unicode values”; “Swift: fix binary serialization and use instead of JSON”; “weird. missed a few files. these are to simplify get filename functionality”; and 91 more (refs \#3451, \#3579, \#4161, \#3568, \#4027, …).
tool/src/org/antlr/v4/codegen/target · medium confidence · unverified
97 commits (40 fixes) modifying runtime/JavaScript/src/antlr4/atn
A change to existing behaviour in runtime/JavaScript/src/antlr4/atn — 97 commits (40 fixs), 32 files: “fix JavaScript too”; “refactored ATNSimulator.js to use es6 classes use const for better scoping fix: dont wrap class in object for export”; “JS: LexerActionExecutor equals() should do deep comparison of Actions array”; and 91 more (refs \#1218, \#1010, \#3568, \#69, \#4027, …).
runtime/JavaScript/src/antlr4/atn · medium confidence · unverified
Fixes
1 commit (1 fix) fixing runtime/Dart/benchmark
A fix in runtime/Dart/benchmark — 1 commit (1 fix), 1 file: “fix dart target crash when parsing high index options fixes 3198”.
runtime/Dart/benchmark · medium confidence · unverified
1 commit (1 fix) fixing runtime/Dart/lib/src/misc
A fix in runtime/Dart/lib/src/misc — 1 commit (1 fix), 3 files: “Fix for \#4320--export additional types of the Dart runtime” (refs \#4320).
runtime/Dart/lib/src/misc · medium confidence · unverified
9 commits (5 fixes) fixing runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata
A fix in runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata — 9 commits (5 fixs), 3 files: “Bug fixes + XCode 8 updates”; “Fixed an error regarding wrong unique\_ptr usage”; “Applied C++ changes for PR \#1955”; and 6 more (refs \#1955).
runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata · medium confidence · unverified
Test coverage
1 commit adding/updating tests in runtime/Dart/test; 11 commits adding/updating tests in antlr4-maven-plugin/src/test; 11 commits adding/updating tests in runtime/JavaScript/spec; 15 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/java/api; 18 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/java/api/perf; 19 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/go; 2 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/php, runtime-testsuite/test/org/antlr/v4/test/runtime/python3; 2 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/typescript; 2 commits adding/updating tests in runtime/Cpp/runtime/tests; 2 commits adding/updating tests in runtime/Swift/Tests; 25 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/java; 28 commits adding/updating tests in runtime-testsuite/resources/org/antlr/v4/test/runtime/helpers; 3 commits adding/updating tests in runtime/JavaScript/spec/imports; 34 commits adding/updating tests in runtime/Swift/Tests/Antlr4Tests; 4 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/runtime; 4 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/csharp, runtime-testsuite/test/org/antlr/v4/test/runtime/dart; 46 commits adding/updating tests in runtime-testsuite/resources/org/antlr/v4/test/runtime/templates; 59 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime; 6 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/javascript; 6 commits adding/updating tests in runtime/Python3/tests; 7 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/cpp; 7 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/states; 8 commits adding/updating tests in runtime/JavaScript/spec/rewriter; 9 commits adding/updating tests in runtime-testsuite/test/org/antlr/v4/test/runtime/swift.
Dependencies
447 commits updating dependencies (22 manifests)
A dependency / build maintenance change in (dependencies) — 447 commits (57 fixs), 22 files: “\[maven-release-plugin\] prepare release 4.5.2”; “Fix dependabot warnings”; “Prep 4.10.1 (\#3660)”; and 398 more (refs \#3660, \#1007, \#3450, \#69, \#4540, …).
(dependencies) · high confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 58 → 60 (+1.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 58 → 55 (-2.9)
- Architecture 92 → 75 (-17.7)
- Maturity 73 → 71 (-2.1)
- Readiness 52 → 55 (+2.9)
- Security 63 → 67 (+4.5)
- Performance 70 → 100 (+30.3)
Resolved (26)
- Dormant codebase
- Duplicated block (12 lines × 2) (runtime/Dart/lib/src/interval_set.dart)
- Duplicated block (12 lines × 2) (runtime/Go/antlr/v4/semantic_context.go)
- Duplicated block (15 lines × 2) (runtime/Go/antlr/v4/jcollect.go)
- Duplicated block (22 lines × 2) (runtime/Go/antlr/v4/parser_atn_simulator.go)
- Duplicated block (7 lines × 2) (runtime/Swift/Sources/Antlr4/atn/ActionTransition.swift)
- Excessive and confusingly similar overloads for string representation. toStringTree has 3 overloads with different parameter types (Parser, List<String?>, None). toString has 2 overloads (Recognizer, List<String>). This creates a high cognitive load for users trying to get a debug string. Specifically, toStringTree() vs toStringTree([String]?) vs toStringTree(Parser) are very similar in intent (debugging tree structure) but differ in how they resolve symbol names. Similarly, toString(Recognizer) vs toString([String]) are ambiguous.
- High secret: WD-SECRET-0005 (runtime/JavaScript/package-lock.json)
- Inconsistent naming convention for text accessors compared to other stream types. While ANTLRInputStream and BufferedTokenStream use getText(Interval) or similar explicit range-based methods, Lexer uses simple getText() and setText() which implies getting/setting the current token's text or internal buffer state without explicit context. This is a minor domain difference (Lexer state vs Stream content), but the lack of getCharIndex/setCharIndex symmetry with getLine/setLine is also notable. However, the most glaring inconsistency is between Lexer.getText() and ANTLRInputStream.getText(Interval). Lexer.getText() likely returns the text of the current token being built, whereas ANTLRInputStream returns text from a range. This is a semantic difference, not a naming redundancy.
- Inconsistent naming for string-to-ID lookup operations. Parser uses getRuleIndex to map a rule name string to an integer ID, while Recognizer uses getTokenType to map a token name string to an integer ID. While the return types are both Int, the method names suggest different domains (Rule vs Token). A more consistent pattern would be getRuleIndex vs getTokenTypeIndex or getTokenType vs getRuleIndex -> getRuleIndex vs getTokenType is acceptable if the domain is distinct, but Recognizer is the base class. Parser inherits from Recognizer. It is confusing that Parser overrides/defines getRuleIndex while the base Recognizer defines getTokenType. A user might expect getRuleIndex to be on Recognizer or getTokenType to be on Parser if they were symmetric. However, since Rules and Tokens are distinct concepts, this is likely intentional.
- Low XML-doc coverage: Antlr4 (runtime/CSharp/src/Antlr4.csproj)
- Low cohesion: Parser (LCOM4 6) (runtime/CSharp/src/Parser.cs)
- Most significant orphaned file (runtime/CSharp/src/Atn/ATNDeserializer.cs)
- Most significant orphaned file (runtime/CSharp/src/Atn/ParserATNSimulator.cs)
- Off-boarding risk: anonymized user #1
- Orphaned file (runtime/CSharp/src/Atn/DecisionInfo.cs)
- Orphaned file (runtime/CSharp/src/Atn/LL1Analyzer.cs)
- Orphaned file (runtime/CSharp/src/Atn/LexerATNConfig.cs)
- Orphaned file (runtime/CSharp/src/Atn/LexerATNSimulator.cs)
- Orphaned file (runtime/CSharp/src/Atn/ParseInfo.cs)
- …and 6 more
New (223)
- Concentrated knowledge decay
- Documentation: no build, run or usage example (runtime/JavaScript/README.md)
- Duplicated block (12 lines × 2) (runtime/Dart/lib/src/interval_set.dart)
- Duplicated block (12 lines × 2) (runtime/Go/antlr/v4/semantic_context.go)
- Duplicated block (7 lines × 2) (runtime/Swift/Sources/Antlr4/atn/ActionTransition.swift)
- Edited copies of one member (3 members, 10+ corresponding lines) (runtime/Go/antlr/v4/parser_atn_simulator.go)
- Edited copies of one member (3 members, 12+ corresponding lines) (runtime/Swift/Sources/Antlr4/DiagnosticErrorListener.swift)
- Edited copies of one member (3 members, 12+ corresponding lines) (runtime/Swift/Sources/Antlr4/misc/BitSet.swift)
- Edited copies of one member (3 members, 17+ corresponding lines) (runtime/Go/antlr/v4/jcollect.go)
- Edited copies of one member (3 members, 21+ corresponding lines) (runtime/Java/src/org/antlr/v4/runtime/CodePointCharStream.java)
- Edited copies of one member (3 members, 25+ corresponding lines) (tool/src/org/antlr/v4/automata/LexerATNFactory.java)
- Edited copies of one member (3 members, 27+ corresponding lines) (runtime/Go/antlr/v4/jcollect.go)
- Edited copies of one member (3 members, 34+ corresponding lines) (runtime/Go/antlr/v4/jcollect.go)
- Edited copies of one member (3 members, 35+ corresponding lines) (runtime/Swift/Sources/Antlr4/misc/BitSet.swift)
- Edited copies of one member (3 members, 41+ corresponding lines) (runtime/CSharp/src/Atn/ParserATNSimulator.cs)
- Edited copies of one member (3 members, 6+ corresponding lines) (runtime/Java/src/org/antlr/v4/runtime/atn/LexerChannelAction.java)
- Edited copies of one member (3 members, 6+ corresponding lines) (runtime/Swift/Sources/Antlr4/atn/AmbiguityInfo.swift)
- Edited copies of one member (3 members, 7+ corresponding lines) (runtime/CSharp/src/DiagnosticErrorListener.cs)
- Edited copies of one member (3 members, 7+ corresponding lines) (runtime/Swift/Sources/Antlr4/atn/ParserATNSimulator.swift)
- Edited copies of one member (3 members, 8+ corresponding lines) (runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java)
- …and 203 more
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- runtime-testsuite/test — 1 commit
Notable commits
- change: Pin typescript@5 and ts-node@10 in TypeScript runtime tests
Architecture
- Unchanged — 0 containers · 3 contexts · 2 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
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 a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 45be27daf036f79eced0e3e215fdfee78b4b38d2 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.