[stringtemplate-interest] use <...> by default in ST groups?
Laurent Vaucher
blo.b at infonie.fr
Sun Mar 5 21:55:16 PST 2006
>
> Should I make <...> the default delimiter with STG files? I can
> leave $...$ default for not regular templates...
>
Hi.
I'm not sure either choice is a better default. Would it be
possible to set the delimiters as an option in the file preamble? I
once used a tool called CodeWorker, which had a "template engine",
and the delimiters were deduced from the first line of the template.
I think it was even possible to give character strings as delimiters.
This was a nice solution because you could choose the delimiters so
that they did not conflict with the expected output grammar.
(Sorry if I add a problem when you just asked for a simple answer :o)
Laurent.
More information about the stringtemplate-interest
mailing list