[stringtemplate-interest] $r.st vs $r.template
Laurent Vaucher
blo.b at infonie.fr
Mon Nov 21 22:13:20 PST 2005
Hi.
> formalParameter
> : type declarator
> -> parameter(type={$type.st},name={$declarator.st})
> ;
>
> ST is an officially approved abbreviation for StringTemplate in
> email though ;) Perhaps it's ok.
Tough decision you've got here. Of course .template is more
explicit but if that "ANTLR+ST" is to become mainstream, we'll soon
regret the short option. "Don't underestimate the power of
conciseness." (I probably read that in some essay from Paul Graham).
> By the way, do you like that ANTLR+ST integration? I've got it
> working and am converting my cminus.g translator to this v3 stuff.
> Should be done shortly.
Not tried yet, though I'm working on a PowerBuilder->JavaScript
expression translator (with ANTLR-2.7 and hand-written code
generation). Is ANTLR v3 stable enough to use or is it still moving
too much?
Laurent.
More information about the stringtemplate-interest
mailing list