Parser building in Python
Courageous
jkraska at san.rr.com
Fri Nov 29 16:17:48 EST 2002
>> 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?
ANTLR is a great parser generator, and is fully capable of
lexing/parsing Python. ANTLR generates predicated LALL(k)
parsers, which are fully suitable for unambiguous Python.
Of course, this won't generate a parser IN python, just FOR
python. :)
C//
More information about the Python-list
mailing list