[antlr-interest] How to use StringTemplate 4 with C#

Maik Schmidt contact at maik-schmidt.de
Thu Aug 25 04:28:11 PDT 2011


Hi!

I am writing a tree grammar with the following header

tree grammar Translator;

options {
    language=CSharp3;
    tokenVocab=Test;
    ASTLabelType=CommonTree;
    output = template;
}

My problem is that the generated code contains statements such as "using
Antlr3.ST". I have added a reference to the Antl3 StringTemplate DLL but I
am wondering how I can use version 4.

Cheers,
Maik


More information about the antlr-interest mailing list