[stringtemplate-interest] ST4 early access
Terence Parr
parrt at cs.usfca.edu
Thu Dec 24 14:30:37 PST 2009
Hi. I think it works but need some more people to test.
http://www.stringtemplate.org/download/trunk
you'll see source and a tarball with src/.class files.
Notes:
http://www.antlr.org/wiki/display/ST/StringTemplate+v4+Notes
Try out the STViz inspector. totally awesome. Say ST.inspect()
instead of render() and the window will pop up.
I don't have much of a right at the moment; the unit tests will help.
Main changes:
ST.add not setAttribute
ST.render() not toString()
ST not StringTemplate
STGroup not StringTemplateGroup
no "group" header in group files
need template definition in template files like foo(x,y) ::= <<...>>
Try ErrorManager.v3_mode to get some backward compatibility.
Let me know what you think.
Ter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20091224/585fdb91/attachment.html
More information about the stringtemplate-interest
mailing list