Navigation Menu

Skip to content

ANTLR 4.5 release candidate 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@parrt parrt released this 10 Jan 18:31
· 6301 commits to master since this release

Major Milestone Release (release candidate)

This release is primarily about the new JavaScript code generation target and the integration of a C# target derived from Sam Harwell's ANTLR project. Sam's is still available of course but we wanted a single tool that would generate Java, C#, Python2, Python3, and JavaScript. There are also a number of bug fixes in 4.5 as you can see below.

We highly recommend that you regenerate your lexers and parsers using the latest version of the Tool.

Download Binaries

Download ANTLR jars at the antlr.org site.

Runtime Libraries for Language Targets

  • Java is embedded with the tool, but is also available from maven-central (will be)
  • C# (zipped .dll) is a download from antlr.org. Might be in NuGet too in the future.
  • JavaScript is a download from antlr.org. Might also be registered as a npm package for node.js
  • Python2 and Python 3 are in PyPi
  • C# (Sam Harwell's version) is available through NuGet. Note that this release is distributed with a standalone copy of the ANTLR Tool, and does not work with code generated by this combined distribution.

Documentation

Summary of Changes

You can view all issues closed for this release, all pull requests merged and all commits for this release.

Bug Fixes

IDE Support

We have not updated the IDE plugins for this prerelease.

Language Targets

As of 4.5, the standard distribution of ANTLR can generate code in the following languages:

In addition, the following languages are supported by standalone release(s) of the tool.

Also, Sam Harwell has an ANTLR 4 "Optimized" fork, which is currently consistent with ANTLR 4.4.