Parser building in Python

Martin v. Löwis martin at v.loewis.de
Fri Nov 29 15:41:08 EST 2002


ml <ml at knorke.in-berlin.de> writes:

> I like to write a parser in Python.  The language itself is
> not LALR(1), but I could do some tricks to make it LALR(1).
> What are the best tools to write lexers and parsers in
> Python?  Maybe sth. similar to ANTLR?

I personally recommend YAPPS (or YAPPS2). It's only LL(1), but the
generated parser is very easy to understand.

Regards,
Martin




More information about the Python-list mailing list