[antlr-interest] Visualization of trees
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Jan 21 12:52:28 PST 2003
on 1/21/03 10:46 PM, mzukowski at yci.com at mzukowski at yci.com wrote:
> The easiest way to see your C++ trees would be to print them out and have a
> little java parser that reconstructs the trees in Java to visualize them.
> There is already some method in the antlr sources to display them in a swing
> UI.
This is not easiest way.
Easiest is which I did show below, I simply install debuger,
And add one function call into my main().
And since a lots of developers need this, why each must spend time and
efforts to write ANOTHER Java grammar to parse print output from C++ app?
I'd like to have debugger.
> Monty
>
> -----Original Message-----
> From: Ruslan Zasukhin [mailto:sunshine at public.kherson.ua]
> Sent: Tuesday, January 21, 2003 12:43 PM
> To: antlr-interest at yahoogroups.com
> Cc: Terence Parr
> Subject: [antlr-interest] Visualization of trees
>
>
> Hi guys,
>
> As I understand old debugger for this is dead few years already.
>
> But I wonder why nobody from this list (where present many Java developers)
> have not pick up this idea?
>
> Anybody going do such project ?
>
> Also I think that it will be cool, integrate this Java - tree viewer to C++
> also. It is quite possible via JNI calls.
>
> So in ideal, I just call
>
> debugger_show( parser->getTree() )
>
> And see in Java app my C++ tree.
>
> Will we get such tool ?
>
> Terrence, and I wonder why you can not put such tasks on your students?
> This will be good for them and for ANTLR community.
> :-)
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list