Search code examples
antlrantlr3antlrworks

antlr3 c# code generation


I'm able to successfully generate C# code (CSharp2) for my grammar written using ANTLRWorks. But I would like to do the same without all the debug statements that are generated by default. Is there a way to do it?


Solution

  • Run the generator without the -debug option.

    I got this from here: http://www.antlr.org/pipermail/antlr-interest/2009-November/036849.html