[stringtemplate-interest] Interactive StringTemplate sandbox
Nicholas Dunn
i82much at gmail.com
Sat Apr 30 21:08:13 PDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110501/588a6c26/attachment.html
More information about the stringtemplate-interest
mailing list