[antlr-interest] Re: stuff I don't like about ANTLR 2.x

edcjones edcjones at yahoo.com
Wed Mar 10 19:30:23 PST 2004


--- In antlr-interest at yahoogroups.com, Terence Parr <parrt at c...>
wrote:
> Folks,
> 
> In preparation for the ANTLR 3.0 whitepaper, I need to start
< writing down everything that annoys me about ANTLR 2.0.  I have 
< started another "blog" document:
> 
> http://www.antlr.org/blog/antlr3/antlr2.bashing.tml
> 
> Feel free to send in your pet peeves to me or to this list.  I will 
> try to add to this file.

Here are some unrealistic and inexpert ideas for ANTLR 3.

Rewrite ANTRL in C or C++.

Output parsers written in C or Python.

Print trees in an easy to look at form.

Is is necessary for the user to see as much java as he now has to?

An approach to the man-machine interface issues: if you were designing
a Python (Perl, ...) module that wraps around ANTLR, what would be the
classes and functions in the module?

A grammar is a highly terse description of a highly recursive stucture
with little internal documentation and with bits of java in it like
prions in a brain. Are there better ways to write down a grammar?

Should there be a separate chapter on ANTLR parsers in the Reference
manual?

Non-interactive debugger. Ideally, there would be an interactive
debugger where you see the tokens as they are fed to the parser and
also see the changes that are made in tha AST.



 
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