[antlr-interest] ANTLR for a compiler
Monty Zukowski
monty at codetransform.com
Thu Nov 4 12:43:00 PST 2004
On Nov 4, 2004, at 12:40 PM, Paul J. Lucas wrote:
>
> 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?
>
Perhaps he wants more than one pass.
Monty
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