re vs. sgmllib (was: Moving from Perl to Python)

Lyn A Headley laheadle at boguscs.uchicago.edu
Mon Oct 4 00:08:04 EDT 1999


>>>>> "Tim" == Tim Peters <tim_one at email.msn.com> writes:

    Tim> Most tantalizingly unusable: Python's own Guido-grown parser
    Tim> generator, which generates the parse tables Python itself
    Tim> uses.  This is tied into Python rather more deeply than it
    Tim> "should be".

If you're looking to parse python itself, the transformer.py module,
part of the Python2C compiler, does a nice job of making
understandable abstract syntax trees out of the python parser module.

-- 
Lyn Headley remove the word "bogus" from my address for the real one.




More information about the Python-list mailing list