Can a low-level programmer learn OOP?

Paul Rubin http
Tue Jul 17 11:58:08 EDT 2007


aahz at pythoncraft.com (Aahz) writes:
> .So adding SNOBOL patterns to another library would be a wonderful
> gift to the Python community...

Snobol patterns were invented at a time when nobody knew anything
about parsing.  They were extremely powerful (recursive with arbitrary
amounts of backtracking) but could use exponential time and maybe even
exponential space.

These days, it makes more sense to use something like pyparsing.  Or I
wonder if it would be feasible to write something like Parsec for
Python (Parsec is a parser combinator library for Haskell).



More information about the Python-list mailing list