[stringtemplate-interest] Interactive StringTemplate sandbox

Michael Bedward michael.bedward at gmail.com
Sat Apr 30 23:24:46 PDT 2011


Hi Nicholas,

That's a great idea. Apart from fixing the newline problem if
possible, my only suggestion would be to have the layout so that both
the template code and the JSON layout are visible on an average
resolution screen (e.g. 800 px height) without having to scroll up and
down.

Michael

On 1 May 2011 14:08, Nicholas Dunn <i82much at gmail.com> 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