[nem-en] Macros and syntax extensions.
Sergei Tulentsev
sergei.tulentsev at gmail.com
Mon Apr 30 18:51:21 CEST 2007
Well, how does it relate to abovementioned piece of code? When there's no
recursive templates, $-string will be as efficient as StringTemplate. And
the need for recursive templates is VERY rare and, I guess, is limited to
code generation tasks. This is IMHO, or course.
On 4/30/07, vc <vc at rsdn.ru> wrote:
>
> > 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
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Best wishes,
Sergei Tulentsev
Senior software engineer.
SITRONICS Telecom Solutions, Moscow
http://www.sitels.ru
mob: + 7 916 507 7112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070430/35042916/attachment.html
More information about the devel-en
mailing list