[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stringtemplate-interest
Subject:    [stringtemplate-interest] ST4 early access
From:       Terence Parr <parrt () cs ! usfca ! edu>
Date:       2009-12-24 22:30:37
Message-ID: E60D238E-A121-4922-B1F3-3A0419FD2855 () cs ! usfca ! edu
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Hi. I think it works but need some more \
people to test.<div><br></div><div><a \
href="http://www.stringtemplate.org/download/trunk">http://www.stringtemplate.org/download/trunk</a></div><div><br></div><div>you'll \
see source and a tarball with src/.class \
files.</div><div><br></div><div>Notes:</div><div><br></div><div><a \
href="http://www.antlr.org/wiki/display/ST/StringTemplate+v4+Notes">http://www.antlr.org/wiki/display/ST/StringTemplate+v4+Notes</a></div><div><br></div><div>Try \
out the STViz inspector. totally awesome. &nbsp;Say ST.inspect() instead of render() \
and the window will pop up.</div><div><br></div><div><span class="Apple-style-span" \
style="font-size: 13px; line-height: 17px; "><div>I don't have much of a right at the \
moment; the unit tests will help. &nbsp;Main changes:</div><ul style="font-size: \
10pt; line-height: 13pt; list-style-type: disc; "><li style="font-size: 10pt; \
line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">ST.add not setAttribute</li><li style="font-size: 10pt; \
line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">ST.render() not toString()</li><li style="font-size: 10pt; \
line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">ST not StringTemplate</li><li style="font-size: 10pt; \
line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">STGroup&nbsp;not StringTemplateGroup</li><li style="font-size: \
10pt; line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">no "group" header in group files</li><li style="font-size: 10pt; \
line-height: 13pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; ">need template definition in template files like foo(x,y) ::= \
&lt;&lt;...>></li></ul><div>Try ErrorManager.v3_mode to get some backward \
compatibility.</div><div><br></div><div>Let me know what you \
think.</div><div><br></div><div>Ter</div></span></div></body></html>



_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest@antlr.org
http://www.antlr.org/mailman/listinfo/stringtemplate-interest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic