[antlr-interest] ANTLR for a compiler

Paul J. Lucas pauljlucas at mac.com
Thu Nov 4 12:40:04 PST 2004


On Thu, 4 Nov 2004, Bryan Ewbank wrote:

> I've been working on building a compiler - not a translator, but a
> code-generating compiler - in ANTLR, and I'm getting frustrated.  I am
> seriously thinking of abandoning ANTLR in favor of Bison simply because of
> the complexity of writing a tree parser

	You don't *have* to write a tree parser at all in ANTLR.  In
	the action routines of your (non-tree) parser, you simply do
	what you would have done using yacc/bison.

	Why do you want a tree parser?

	- Paul



 
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