[antlr-interest] ST visualizer GUI prototype

Sam Harwell sharwell at pixelminegames.com
Sat Nov 28 13:08:15 PST 2009


No need for a serialization protocol for C# - I already have ST4 ported
locally and can build a GUI even easier with WPF/data binding.

Sam

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: Saturday, November 28, 2009 2:26 PM
To: StringTemplate Mailing List
Cc: ANTLR Interest Mailing List
Subject: [antlr-interest] ST visualizer GUI prototype

well, that was easy. 5 or 6 hours cutting/pasting from web and I have an
initial prototype ST viewer.  It shows tree of template evals on left,
template eval stack on lower left, attributes to the right of that,
output on top right, and template pattern on lower right.  As you click
around templates, the various displays update.

Next I need to reverse it so you can click in output to find which
template generated it.  Also, I am tracking what code sets attributes
and creates St instances.  I'm going to patch that in so it can show you
where in your code everything originated.

Uh, like, cool. 2 snapshots enclosed.  Ugly but functional at this
point.

So easy, not sure if it's worth a serialization protocol to handle C#
and Python...takes a day to build the GUI and it's easier playing with
real ST objects in the native language.

Ter



More information about the antlr-interest mailing list