[stringtemplate-interest] Interactive StringTemplate sandbox

Terence Parr parrt at cs.usfca.edu
Sun May 1 13:33:49 PDT 2011


cool :)  a "madlib" program kinda
T
On Apr 30, 2011, at 9:08 PM, Nicholas Dunn wrote:

> Hi all,
> 
> I am a huge fan of StringTemplate and evangelize for it all I can.  To that end, I wrote up a small Google App Engine web app which allows new users to experiment with StringTemplate without having to download jars, set up classpaths, etc. etc.  It builds upon John Snyder's StringTemplate Standalone Tool (http://www.antlr.org/wiki/display/ST/STST+-+StringTemplate+Standalone+Tool), specifically with respect to the use of JSON as the data model powering the templates.
> 
> The webapp can be found at http://stringtemplate.appspot.com/ , and the public github repository can be found at https://github.com/I82Much/StringTemplate-Sandbox .  This is my first webapp so it's very much a beta product at the minute.  I'm using StringTemplate 3.2.1 jar as that's the version I've got the most experience with; switching it to 4 should not be too much work if that's more useful.
> 
> What do people think, is this a worthwhile idea?  If so, I'd love to hear feedback and things to improve (especially in the design area).  
> 
> Known bugs:
> Whitespace isn't being output correctly to the "rendered template" side.  It works fine locally but when I deploy it to app engine, new lines seem to get eaten up.
> 
> Limitations/things to fix in future work:
> No support for StringTemplate group/multiple templates. 
> No syntax highlighting
> 
> 
> -- 
> Nicholas Dunn
> 
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list