[Python-ideas] Built-in parsing library

Nam Nguyen bitsink at gmail.com
Sat Mar 30 13:56:56 EDT 2019

Hello list,

What do you think of a universal parsing library in the stdlib mainly for
use by other libraries in the stdlib?

Through out the years we have had many issues with protocol parsing. Some
have even introduced security bugs. The main cause of these issues is the
use of simple regular expressions.

Having a universal parsing library in the stdlib would help cut down these
issues. Such a library should be minimal yet encompassing, and whole parse
trees should be entirely expressible in code. I am thinking of combinatoric
parsing as the main candidate that fits this bill.

What do you say?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190330/ddfc163d/attachment.html>

More information about the Python-ideas mailing list