[antlr-interest] stuff I don't like about ANTLR 2.x
Ric Klaren
klaren at cs.utwente.nl
Tue Mar 9 02:07:43 PST 2004
On Sat, Mar 06, 2004 at 12:05:24PM -0800, Terence Parr wrote:
> Feel free to send in your pet peeves to me or to this list. I will try
> to add to this file.
- Loring reminded me just now in a post: I want to be able to reference EOF
in the lexer as a 'normal' token. uponEOF is a kludge.
- ANTLR should stay a commandline tool (the core functionality for grammar
inheritance or whatever it should replace I don't care) if it doesn't run
from a Makefile I'm not interested ;)
- More documentation in the code.
- The lack of warnings/errors for incorrect use of options/constructs
- Not being able to specify a default template errorhandler for the whole
grammar.
Internal things:
- Internally I'd like a better interface between codegenerator and what is
now the action parser. (if that's still an issue with the new
codegen/syntax) The near heuristics now used to do the right thing to
translate a #treethingy into something sane is a horror.
- Codegen wise I'd like to know more things before I start generating a
piece of code, so I can cut down on declarations etc. Stuff that does not
need to be constructed does not cost cpu cycles.
- I dislike the 'all-over-the-place' system used for grammar/file options.
I'd prefer having the included codegenerators register commandline
options and handlers in the maintool (and get rid of all the globals for
them).
That's all I can think of for now..
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
"You know how to use that thing?" [pointing to the sword]
"Sure.. The pointy end goes into the other guy."
--- The Mask of Zorro
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