[stringtemplate-interest] $r.st vs $r.template
Terence Parr
parrt at cs.usfca.edu
Sat Nov 26 15:17:12 PST 2005
On Nov 22, 2005, at 11:58 PM, VAUCHER Laurent wrote:
>> .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.
Hi Laurent, thanks....I decided on .st :)
Thanks,
Ter
More information about the stringtemplate-interest
mailing list