[Python-ideas] parser in stdlib

Georg Brandl g.brandl at gmx.net
Fri May 11 09:29:22 CEST 2007


Aaron Brady schrieb:

>> A perfect example of why programmable syntax is out of question for
>> Python.
>> 
>> George
> 
> Hence the quote.  First thing I said was, "...it might not be advisable
> either, subject to abuse, per GvR...."
> 
> But that doesn't preclude exposing `parser'.  It is the extent of my
> question, no more.  Can we expose the module?

If you tell us what you mean with "expose"... the module is written in C
and is not much more than a wrapper around Python's own parser, which
is written in C too.

If you are looking for a Python parser written in Python, you may want
to look at the PyPy project's implementation.

Georg




More information about the Python-ideas mailing list