[stringtemplate-interest] Template overloading

Florian Heidenreich florian.heidenreich at inf.tu-dresden.de
Thu Feb 9 06:02:01 PST 2006


Hello!

I'm currently writing a SQL code generator using StringTemplate.

One idea I had is to build a StringTemplateGroup for Standard SQL and 
overload dialect specific templates in a child group (e.g. for MySQL or 
Oracle). My goal is to replace/overload the specific templates from 
Standard SQL with the ones from the specific dialect while keeping the 
templates which are equal in both versions.

Is this possible with StringTemplate and if so, how can I achieve that?

Thank you!

Best regards,
~ Florian


More information about the stringtemplate-interest mailing list