Parsing in Python

Paul Rubin http
Sat Feb 22 03:48:27 EST 2003


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.  

Thanks.




More information about the Python-list mailing list