[antlr-interest] Treeview

Terence Parr parrt at cs.usfca.edu
Thu Oct 28 14:51:12 PDT 2004


Hi, there is a class that let's you use a Swing window to navigate a 
tree...it's in the misc dir or something...example in the java.g 
Main.java file
Terence
On Oct 28, 2004, at 5:38 AM, Maassen, H.A.M. wrote:

> Hello,
>
> I'm building a parser for a language and I'd like to get a nifty 
> graphical representation of the generated tree to see if my rules are 
> doing the right thing.
>
> I'm pretty sure there's functionality for this included in ANTLR, I 
> just don't know how to do it :)
>
> I know this is probably somewhere to be R'ed in TFM, but right now I'm 
> dealing with information overkill (new to C#, the C# IDE, ANTLR 
> itself) and I just want to get some work done. I only need to get this 
> language formally specified and then someone with more proficiency in 
> C# can build the actual compiler from there :)
>
> So if anyone could give me a quick-and-dirty rundown of how to get my 
> Main() to show me a little ascii tree I'd be really grateful :) 
> otherwise I guess it's back to browsing the examples and 
> documentation.
>
> Je vous prie d'agréer, madame, monsieur, l'expression de mes sentiments
> distingués, Harald Maassen
>
>
>
> Yahoo! Groups Links
>
>
>
>
> <winmail.dat>
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list