[stringtemplate-interest] visualizer mockup
Todd Stout
todd.tstout at gmail.com
Tue Nov 24 10:38:32 PST 2009
Using something like google's protocol buffers might simplify things
regarding language interop. That route would be more of message oriented
approach in stead of trying to pass objects around.
On Tue, Nov 24, 2009 at 12:33 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
> Oh, and another architectural issue. Should this be a socket based thing
> like ANTLRWorks so C# and Python targets don't have to build their own GUI?
> I'd say yes, but then it's harder to drill down into objects in the
> attribute table. I'll have to YAML or JSON marshall objects across the
> socket. Some objects like binary arrays might be hard to represent properly
> in language indep manner in gui too.
>
> thoughts?
>
> Ter
>
> On Nov 23, 2009, at 10:35 AM, Terence Parr wrote:
>
> > Hiya...ST v3 has a nice XML tagged output that shows which template
> generated which output. I'd like an interactive thing that's easier to read
> for ST v4 I'm including a mockup.
> >
> > It starts with a window with the generated output. As I mouse over a
> section generated by a template, it highlights (one at a time) with a box or
> whatever. I can collapse output for any expression/template. If I hit "get
> info" key it would pop up a dialog showing the template pattern and the
> attribute table (an inspector). It seems like I'd need to detect mouse
> movement over a textpane and then expand and collapse sections (hopefully
> w/o having to do much; perhaps replace the char sequence with a new
> "collapse icon"). Intellij does it but I wonder how much they rely on Swing
> to do the fancy stuff they do in a textpane. Any thoughts about which
> components to use or avoid? Any architectural suggestions? Everything
> would happen in the text pane, except for the inspector which is probably a
> kind of treeview or something.
> >
> > Gerald probably has lots of suggestions as he's done something similar I
> think for Eclipse.
> >
> > I can't get to this for a while, but wanna start thinking.
> >
> > Thanks!
> > Ter
> >
> > <visualization.gif>_______________________________________________
> > stringtemplate-interest mailing list
> > stringtemplate-interest at antlr.org
> > http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20091124/0c7b1fb2/attachment-0001.html
More information about the stringtemplate-interest
mailing list