ungetch in Python

Bill Trenker wtrenker at shaw.ca
Wed Dec 24 06:32:12 EST 2003


Scott Fenton wrote:

> I'm writing a small parser for a minilanguage in Python,

Hi Scott,

You might want to have a look at "pyparsing -- an object-oriented approach to text processing in Python".

http://pyparsing.sourceforge.net

The Python source code is only 34K, or just under 1000 lines of code, so it may be small enough to include with your project and save you the trouble of writing yet another parser.

Regards,
Bill





More information about the Python-list mailing list