Reommended compiler toolkit
Dang Griffith
noemail at noemail4u.com
Wed Apr 14 07:48:31 EDT 2004
On Tue, 13 Apr 2004 11:37:36 +0200, Miki Tebeka
<miki.tebeka at zoran.com> wrote:
>Hello All,
>
>I'm looking for a pure python compiler toolkit (lexer + parser, like
>flex + bison).
>
>I've seen many:
>ply (which I like most)
>SPARK
>Yapps
>PyLR
>kwParsing
>Plex
>FlexModule
>
>Which one do you recommend?
>Thanks.
>Miki
I use Paul McGuire's pyparsing, http://pyparsing.sourceforge.net.
It's pretty powerful, but uses Python to build the grammar,
instead of a BNF (or BNF-like) lexer.
--dang
More information about the Python-list
mailing list