NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2248 most downloaded on NuGet
The C# target of the ANTLR 4 parser generator for Visual Studio 2010+ projects. This package supports projects targeting .NET 2.0 or newer, and built using Visual Studio 2010 or newer.
Latest stable
4.6.6
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 9 months
Some releases are documented
notes for 5 of 9 stable releases
3 versions withdrawn
withdrawn after publishing
127 years old
30 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Latest Latest Compare
Latest
Latest
Compare
Update version numbers for release 4.6.6-rc001
Update version numbers for release 4.6.6-rc001
Nothing published for this version
Fixes #293, where incremental builds with the new C# code generator sometimes produced invalid (corrupted) output files.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixes #293, where incremental builds with the new C# code generator sometimes produced invalid (corrupted) output files.
The following items apply to all users:
The following items apply to all users:
keys and values (#280)[Nullable] and [NotNull] in more places than before (#286)This release candidate builds on the updated build support started in v4.6.5-beta001 and v4.6.5-beta002. The following changes are provided for "SDK" projects (the new project system for Visual Studio 2017 and the dotnet tool).
This preview release builds on the updated build support started in v4.6.5-beta001. The following changes are provided for "SDK" projects (the new pro
This preview release builds on the updated build support started in v4.6.5-beta001. The following changes are provided for "SDK" projects (the new project system for Visual Studio 2017 and the dotnet tool).
Projects no longer require adding or configuring Antlr4 elements in a project. To disable this feature when updating, add the following property to your project file:
<PropertyGroup>
<EnableDefaultAntlrItems>False</EnableDefaultAntlrItems>
</PropertyGroup>
:link: See https://github.com/tunnelvisionlabs/antlr-integration-tests-csharp/commit/388a34fb86e86166a9e46da3a37a7b45af6c0eca for an example of how this upgrade simplifies project files.
The Properties window in Visual Studio 2017 will once again allow users to configure code generation for grammars. Unlike previous releases, no separate extension is required.
The build tooling using the C# code generator now works on non-Windows systems, fully eliminating the last remaining Java dependency.
This preview release packages the new C# port of the ANTLR 4 code generation tool. This feature completely eliminates the compile-time dependency on J
This preview release packages the new C# port of the ANTLR 4 code generation tool. This feature completely eliminates the compile-time dependency on Java. Since this feature is still experimental, it is disabled by default. It can be enabled by adding the following to your project file:
<PropertyGroup>
<Antlr4UseCSharpGenerator>True</Antlr4UseCSharpGenerator>
</PropertyGroup>
:bulb: The new code generation tool produces code which should be compatible with the latest stable release of the runtime library. To use the new code generation tool without introducing a runtime dependency on a prerelease component, upgrade only the Antlr4.CodeGenerator package within the project.
Fix design time builds so IntelliSense works in Visual Studio when using the new project system.
Fix design time builds so IntelliSense works in Visual Studio when using the new project system.
Avoid reporting "Executing command" as an unknown build error (#200, #216)
dotnet CLI (#208)Update version numbers for release 4.6.2
Update version numbers for release 4.6.2
Nothing published for this version
This release is available through NuGet, with complete installation instructions described in the Readme.md.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
Thank you goes to all of the following users, who contributed feedback, bug reports, code submissions, testing, and reviews which helped in this release. In alphabetical order by username. This list does not include people who contacted us through other channels, but your feedback is no less valuable so we thank you as well.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release is available through NuGet, with complete installation instructions described in the Readme.md.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
Thank you goes to all of the following users, who contributed feedback, bug reports, code submissions, testing, and reviews which helped in this release. In alphabetical order by username. This list does not include people who contacted us through other channels, but your feedback is no less valuable so we thank you as well.
Some non-breaking changes included in this release are not yet described in these release notes.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
Some non-breaking changes included in this release are not yet described in these release notes.
AmbiguityInfo constructor.IEdgeMap<T>.ToMap() now returns a ReadOnlyDictionary<int, T> for all runtimes.DFAState.EdgeMap and DFAState.ContextEdgeMap are now ReadOnlyDictionary<int, DFAState> for all runtimes.ParserRuleContext.GetTokens now returns ITerminalNode[] in all runtimes (previously .NET 4.5+ did not).
IReadOnlyList<ITerminalNode> x = context.GetTokens(Type); will still work, because ITerminalNode[] implements IReadOnlyList<ITerminalNode> in .NET 4.5.ParserRuleContext.GetRuleContexts<T>() now returns T[] in all runtimes (previously .NET 4.5+ did not).ContextType[] in all runtimes (previously .NET 4.5+ returned IReadOnlyList<ContextType>)Func<...> delegates for runtimes prior to .NET 3.5 were moved from namespace Antlr4.Runtime.Sharpen to System.HashSet<T> class for runtimes prior to .NET 3.5 were moved from Antlr4.Runtime.Sharpen to System.Collections.Generic.Nothing published for this version
Some non-breaking changes included in this release are not yet described in these release notes.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
Some non-breaking changes included in this release are not yet described in these release notes.
IRecognizer.Vocabulary propertyParserATNSimulator.CreateDFAStateDFAState constructorParserATNSimulator.ResolveToMinAltadaptivePredict prediction algorithmabstract grammar option does not produce abstract classes. This affects both options { abstract = true; } and the -Dabstract=true command line option.This release is available through NuGet, with complete installation instructions described in the Readme.md.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
Sharpen namespace to Antlr4.Runtime.Sharpen, and several of the the classes are now marked internal.string.Format (#40)This release is available through NuGet, with complete installation instructions described in the Readme.md.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
If you are updating from a version of the C# target prior to 4.2.0-alpha001, make sure to read the release notes for 4.2.0-alpha001 as well, as several changes were made that affect the usage of this target.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
This release is available through NuGet, with complete installation instructions described in the Readme.md.
If you are updating from a version of the C# target prior to 4.2.0-alpha001, make sure to read the release notes for 4.2.0-alpha001 as well, as several changes were made that affect the usage of this target.
This release is available through NuGet, as described in the Readme.md.
This release is available through NuGet, as described in the Readme.md.
HIDDEN and EOF constants in the grammar. It is no longer necessary to declare these in an @members{} block in order to use them.parser.Interpreter.enable_global_context_dfa = true.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.