Parsing in Python
Alex Martelli
aleax at aleax.it
Sat Feb 22 04:47:08 EST 2003
More information about the Python-list mailing list
Sat Feb 22 04:47:08 EST 2003
- Previous message (by thread): Parsing in Python
- Next message (by thread): Fw: Case sensitivity
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Rubin wrote: > Anyone know of parser generator tools (along the lines of Yacc) that > are written in Python and generate Python-callable code? I notice > that CPython itself uses its own parser generator (pgen.c) but it > generates C code. I suppose I could just use Yacc and interface the > resulting parser using Swig, but ugh. I think you may be looking for Ply: http://systems.cs.uchicago.edu/ply/ I use Spark, but it doesn't really generate code, while I believe Ply does. Alex
- Previous message (by thread): Parsing in Python
- Next message (by thread): Fw: Case sensitivity
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list