Reommended compiler toolkit

huy nytimes at swiftdsl.com.au
Wed Apr 14 11:15:30 EDT 2004


Miki Tebeka 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

Have a look at http://dparser.sourceforge.net/

It supports BNF (EBNF?) notation which IMO is nicer then the PLY grammar 
specs. I haven't tried dparser yet, so let us know how it is (compared 
to PLY) if you decide to use it.

Cheers,

Huy



More information about the Python-list mailing list