tags:

views:

192

answers:

3

Can ANTLR output C# using StringTemplate or any text I want it to like Yacc/Bison or does it only output to java? From the examples I've looked at it appears to be a very java centric tool.

A: 

You can download the latest source code as a tar file from here. The C# runtime (binary) is also available directly, here.

Which solution are you looking for?

Rob Walker
+1  A: 

The ANTLR IDE has option by which you can switch between Java and C# code generation.

Better, consult this article (the Specifying Code Generation section):

http://www.antlr2.org/doc/csharp-runtime.html

petr k.
+2  A: 

I just started a small series of post about how exactly to install and use ANTLR for a .NET environment, as most documentation regarding this issue is a little out-of-date. See ANTLR for C#, Part 1.

Mike Pagel
A blog article is always a good thing, thanks for the effort. +1
petr k.