[antlr-interest] StringTemplate : delimter other than dollar sign?
Terence Parr
parrt at cs.usfca.edu
Thu Dec 29 12:21:30 PST 2005
On Dec 29, 2005, at 10:54 AM, pwhitaker at autobase.net wrote:
> 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 (#).
At least with the Java version you can use <...> if you pass in the
AngleBracketTemplateLexer.class :) See the unit tests.
Ter
More information about the antlr-interest
mailing list