[stringtemplate-interest] StringTemplate 4.0b4 released

Terence Parr parrt at cs.usfca.edu
Sat Feb 5 13:11:17 PST 2011


http://www.antlr.org/wiki/display/ST/2011/01/14/StringTemplate+v4+beta+released

http://www.stringtemplate.org/download/ST-4.0b4-src.zip
http://www.stringtemplate.org/download/ST-4.0b4.jar

4.0b4 -- February 5, 2011

BIG THANKS to Udo Borkowski for his help debugging these betas and his
suggestions.

* added write to file methods
* had infinite loop for expr: "<t()$"
* the default file encoding is now UTF-8
* early eval <(x)> using new STWriter derived from type of current STWriter.
  e.g., AutoIndentWriter.
* didn't detect nonterminated comment. <!bad comment>
* added two literals "true" and "false" to the template argument syntax; e.g.,
  stat(name,x=true,y=false) ::= "..."
* it was treating "..." default arg as a template not string.
* throws STException now upon not finding group file or group dir instead
  of sending err to listener.
* default args couldn't have subtemplates
  t(x,y={<x:{s|<s>}>}) ::= "..."
* Added a new benchmark from Oliver Zeigermann. Discovered 60% of time is
  spent using reflection invoke() for properties.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110205/fb71f678/attachment.html 


More information about the stringtemplate-interest mailing list