[antlr-interest] added Java emitter to file sharing
Terence Parr
parrt at cs.usfca.edu
Sun Nov 21 10:25:34 PST 2004
Howdy,
Just added the java.tree.g file I used in my class project to dump java
back out from the java AST. It was easy but lots of annoying typing ;)
A key point to notice vis-a-vis the tree grammar vs hand-built walker
/ library discussion is that it is only like 200 lines added to the
tree grammar. Whole thing is only 560 lines. Generates 3367 lines of
Java code from that grammar (now, *that* would be a lot of typing). ;)
http://www.antlr.org/share/list
Ter
--
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