4.11.0
版本发布时间: 2022-09-05 04:43:02
antlr/antlr4最新发布版本:4.13.2(2024-08-04 03:28:03)
4.11.0 consist primarily:
- a major rebuild of the Go target by Jim Idle. Please see Go target doc for more information, as it now requires the go module stuff.
- huge internal refractoring of testing and various target speed improvements by Ivan Kochurkin
- Getting all targets to run on all operating systems using github actions by HS.
The details by type and target follow.
Issues fixed
- Disable failing CI tests in master (comp:build, comp:testing)
- Create accessor for Go-based IntervalSet.intervals (target:go)
- Grammar Name Conflict Golang with SPARQL issue (target:go, type:cleanup)
- Dependency declaration error in ANTLR 4.10.1 (comp:build)
- Drop old version of Visual Studio C++ (2013, 2015, 2017) (comp:build, target:cpp)
- Circular grammar inclusion causes stack overflow in the tool. (comp:tool, type:bug)
- Cpp, Go, JavaScript, Python2/3: Template rendering error. (code-gen, comp:runtime, target:java, target:javascript, target:python2, target:python3, target:go)
Improvements, features
- Augment error message during testing to include full cause of problem. (type:improvement, comp:testing)
- Include swift & tool verification in CI workflow (type:improvement, comp:build, cross-platform-issue, target:swift)
- Issue #3783: CI Check Builds (type:improvement, comp:build, cross-platform-issue, comp:testing)
- Parallel lock free testing, remove potential deadlocks, cache static data, go to descriptor via test (comp:runtime, type:improvement, comp:testing)
- update getting-started doc (type:improvement, comp:doc)
- Getting Started has error (type:improvement, comp:doc)
- new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages (type:improvement, comp:build, target:cpp)
- Add interp tool like TestRig (comp:tool, type:feature)
- Issue 3720: Java 2 Security issue (type:improvement, target:java)
- Cpp: Disable warnings for external project (type:bug, type:improvement, target:cpp)
- Fix Docker README for arm OS user (type:improvement, comp:doc)
Pull requests grouped by target
csharp target
- Runtime tests fixes (C++, Python, PHP, C#) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
cpp target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- Cpp: Link to threads library (comp:build, target:cpp)
- [C++] Remove libuuid dependency (comp:build, target:cpp, type:cleanup)
- Fix CMake syntax for variable expansion (comp:build, cross-platform-issue, target:cpp)
- Don't make class SementicContext::Empty final. (cross-platform-issue, target:cpp)
- new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages (type:improvement, comp:build, target:cpp)
- Runtime tests fixes (C++, Python, PHP, C#) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php)
- Cpp: Disable warnings for external project (type:bug, type:improvement, target:cpp)
- FindANTLR: Fix version RegEx (type:bug, comp:build, target:cpp)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
- Improve ExternalProject cmake file (actions, comp:build, target:cpp)
- Windows specific fixes (comp:build, cross-platform-issue, target:cpp)
go target
- feat: Add a deprecation message to the existing v1 module (target:go, type:cleanup)
- Feature/gomod4110 (target:go, type:cleanup)
- Optimize go tests runner and renable CircleCI go tests (comp:build, target:go, comp:testing)
- fix: #2016 Fix Go template list reference, go runtime and got test te… (target:go, type:cleanup)
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- doc: Start improving docs for #1374 (comp:doc, target:go, type:cleanup)
- fix: #2016 - Generate correct iGo code for lists in a grammar, such a… (grammars, target:go)
- fix: #2826 Go template is incorrect for dynamic scopes (type:bug, target:go)
- fix: #3758 Allow for string being a keyword and fix go template to us… (target:go, type:cleanup)
- feat: Reduce initial memory allocations for collections (parsers, target:go)
- Feature/newhash (target:go, comp:performance)
- fix: Fixes for https://github.com/antlr/antlr4/issues/3718 (type:bug, target:go, type:cleanup)
- Add Go accessor for IntervalSet.intervals (target:go)
- Ensure that only the tokens needed are fetched (target:java, target:go, comp:performance)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
java target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
-
Add
@SuppressWarnings("CheckReturnValue")
to prevent error_prone lib errors. (target:java) - Fixing bug identified by https://github.com/antlr/antlr4/discussions/… (target:java, type:cleanup)
- Ensure that only the tokens needed are fetched (target:java, target:go, comp:performance)
- Issue 3720: Java 2 Security issue (type:improvement, target:java)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
- Fix OSGi imports (comp:build, target:java)
javascript target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- add license prefix (target:javascript)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
python2 target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- [py2] Fix SyntaxError due to F string (type:bug, target:python2)
- [Python 3] use build and twine to publish source and wheel (comp:build, target:python2, target:python3)
- Fix #3508: Document the $parser attribute and its use in target-agnostic grammars. (target:python2, target:python3, comp:doc)
- Runtime tests fixes (C++, Python, PHP, C#) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
- Restore support for py3.5 by removing f-string in setup.py (target:python2)
python3 target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- [Python 3] use build and twine to publish source and wheel (comp:build, target:python2, target:python3)
- Fix #3508: Document the $parser attribute and its use in target-agnostic grammars. (target:python2, target:python3, comp:doc)
- Runtime tests fixes (C++, Python, PHP, C#) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
swift target
- Fix 2016 round 2 (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go)
- Include swift & tool verification in CI workflow (type:improvement, comp:build, cross-platform-issue, target:swift)
- Swift runtime tests run on Windows! (comp:build, target:swift, comp:testing)
- [Swift] let the Swift Package Manager choose between static or dynamic linking (comp:build, target:swift)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
- Update Swift Package to support static library (comp:build, target:swift)
php target
- Runtime tests fixes (C++, Python, PHP, C#) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php)
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
dart target
- Constant folding for Python and other runtimes (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php)
Contributors
- 11 items: Jim Idle (jimidle)
- 10 items: Terence Parr (parrt)
- 10 items: Ivan Kochurkin (KvanTTT)
- 6 items: HS (hs-apotell)
- 4 items: Robert Adam (Krzmbrzl)
- 2 items: James Taylor (JamesRTaylor)
- 2 items: Nicksxs (Nicksxs)
- 1 items: Tim McCormack (timmc)
- 1 items: Travis Thieman (thieman)
- 1 items: Qijia Liu (eagleoflqj)
- 1 items: Ross Patterson (RossPatterson)
- 1 items: ericvergnaud
- 1 items: Bryan Tan (Technius)
- 1 items: Henner Zeller (hzeller)
- 1 items: GCer-Hidenori
- 1 items: Eduardo Hernández Valdez (saucesaft)
- 1 items: 100mango
- 1 items: Mark Symons (msymons)
- 1 items: Francis ANDRE (zosrothko)
- 1 items: Guillaume (Candide7)
- 1 items: Tristan Swadell (TristonianJones)
- 1 items: Will Dazey (dazey3)
- 1 items: uji (uji)
- 1 items: Robert Varga (rovarga)
- 1 items: Hell_Ghost (HellGhost)
- 1 items: Alex Mykyta (amykyta3)
- 1 items: Nikolay Ognyanov (nikolayo)
- 1 items: Andrew Pashkin (AndreiPashkin)