[antlr-interest] StringTemplate : delimter other than dollar sign?

Luis Leal luisl at scarab.co.za
Thu Dec 29 12:36:18 PST 2005


Hi Paul,

You can use angle brackets instead of dollar signs. Use the following
constructor:

StringTemplateGroup group = new StringTemplateGroup("sqlstuff", "/tmp",
typeof(AngleBracketTemplateLexer));

Regards

Luis

-----Original Message-----
From: pwhitaker at autobase.net [mailto:pwhitaker at autobase.net]
Sent: 29 December 2005 08:55 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] StringTemplate : delimter other than dollar
sign?


I'm using the C# port of StringTemplate. Working this library into a auto
sales project, the dollar sign is not a good choice due to frequent currency
references. I've noticed the symbol seems to be interwoven in the template
code. Has anybody changed this character? Is there an effective way to make
sure that I change it in all the right places? I would like to try the pound
symbol instead (#).

Thanks,
Paul Whitaker





More information about the antlr-interest mailing list