Antlr4cs Versions Save

The original, highly-optimized C# Target for ANTLR 4

v4.6.6

5 years ago

v4.6.5

5 years ago

v4.6.5-rc002

5 years ago

Fixes #293, where incremental builds with the new C# code generator sometimes produced invalid (corrupted) output files.

v4.6.5-rc001

6 years ago

The following items apply to all users:

  • The code generator supports grammar rules named keys and values (#280)
  • The runtime library is now annotated with [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).

  • Support for customized build properties is fixed (#279)

v4.6.5-beta002

6 years ago

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.

v4.6.5-beta001

6 years ago

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.

v4.6.4

6 years ago

Fix design time builds so IntelliSense works in Visual Studio when using the new project system.

v4.6.3

6 years ago
  • Avoid reporting "Executing command" as an unknown build error (#200, #216)
  • Support both MSBuild and the dotnet CLI (#208)
  • Minor documentation updates (#109, #206)

v4.6.1

6 years ago

v4.6.1-beta002

7 years ago

ANTLR 4.6.1 C# Target Preview Release

This release is available through NuGet, with complete installation instructions described in the Readme.md.

Changes since 4.6.1-beta001

  • Bug fixes
    • Fix support for some projects targeting .NET Standard frameworks (#189)
    • Fix NuGet dependencies for projects not targeting .NET Standard (#187)
  • Commits since 4.6.1-beta001

Acknowledgements

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.

  • @ben-may
  • @lextm
  • @ryanlin1986
  • @sebandraos