Q: pyhton based lex, yacc tools

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Nov 8 15:36:21 EST 2000


Vassilis Virvilis <vasvir at iit.demokritos.gr> writes:

> Is there available any python tool which corresponds to a lex scanner
> and/or a yacc parser?

There are a number of them:

http://members.home.com/mcfletch/programming/simpleparse/simpleparse.html
http://www.chordate.com/kwParsing/
http://starship.python.net/crew/scott/PyLR.html
http://theory.stanford.edu/~amitp/Yapps/
http://interscript.sourceforge.net/es_iscr_0355.html

> Does the community behind this newsgroup think that they are useless? 

You couldn't be farther from the truth. That is a frequent topic on
string-sig, and almost everybody there has an opinion on how to do
parser generators in Python.

> or do I really miss something? 

The prior art, perhaps. In any case, it would be a good thing (IMO) if
Python had a standard parser generator (as a battery, so to speak). To
work towards that goal, somebody should really evaluate the existing
tools for performance and ease-of-use (hint hint).

Regards,
Martin



More information about the Python-list mailing list