CSharp3 Target
Documentation
The latest version of the CSharp3 target documentation is located at the following link:
Visual Studio and the ANTLR C# Target
While the document focuses on Visual Studio 2010, everything except section 1.1 can be applied to Visual Studio 2008. Also, this document is currently limited to instructions for setting up a Visual Studio project to work with the CSharp3 target, along with descriptions of a few substantial features unique to the CSharp3 target.
Releases
Depending on your particular needs, several packages are available for each release. The packages are compressed with 7-zip.
- Runtime: This package includes
Antlr3.Runtime.dll
. Generated grammars using the CSharp3 target depend on this assembly, so you'll need to ship it with your application. - Bootstrap: This package includes everything necessary to generate and execute grammars using the CSharp3 target in a Visual Studio project. This package includes the C# port of the ANTLR tool for generating grammars, but no other language targets are included.
- Tool: This package includes the C# port of the ANTLR tool, plus templates for generating code for any supported language target. Starting with release 3.3.1, this package also includes the symbol files (*.pdb) for the binaries.
- Source: This package includes the source code for the CSharp3 target runtime, as well as the source for the C# ports of the ANTLR Tool and StringTemplate.
Latest Stable Release
The latest stable release is 3.3.0, which is up-to-date with version 3.3 of the Java tool and target. When using this version, grammars may be generated by either the C# port of the ANTLR Tool (Antlr3.exe
), or by the original Java version of the tool.
- antlr-dotnet-csharp3runtime-3.3.0.7239.7z
- antlr-dotnet-csharp3bootstrap-3.3.0.7239.7z
- antlr-dotnet-tool-3.3.0.7239.7z