[stringtemplate-interest] $r.st vs $r.template

VAUCHER Laurent VAUCHER at fermat.fr
Tue Nov 22 23:58:52 PST 2005


> .st looks wrong but it is really long to type and believe me,
> you'll use it in every rule...

  I agree on that. .st does not look very nice, but we can get used
to it the way lispers got used to CAR and CDR which do not mean
anything anymore.

  The only other possibility I see is using a special syntax. That
would make it clear that it is not just any other attribute and
that templates are part of ANTLR supported translation mechanism.
The drawback, as always, is syntax-bloat.


Laurent.


More information about the stringtemplate-interest mailing list