[nem-en] Macros and syntax extensions.

vc vc at rsdn.ru
Mon Apr 30 18:29:35 CEST 2007


> Hmmm, I don't know for sure (and you don't tell us much :-) ), but what's
> the major difference of your StringTemplate approach vs., let's say, $-
> string? Won't you have to do the same thing with StringBuilders, etc.?

Main difference - string template group (STG) is a set of RECURSIVE
templates. One STG can be inherited from another STG and override some it
members.

And the instances of STG use common StringBuilder for performance reason.

See http://www.stringtemplate.org/ for details.

Vlad




More information about the devel-en mailing list