Home | Contents | Latest | Previous | Next

Python Parsing Framework

From: "andrew cooke" <andrew@...>

Date: Thu, 20 Mar 2008 23:13:55 -0400 (CLT)

http://pyparsing.wikispaces.com/ - looks like a nice recursive descent
parser specified using a combinator library.

There's also a related blog entry at
http://www.valuedlessons.com/2008/02/pysec-monadic-combinatoric-parsing-in.html
which, perhaps confusingly, talks about monads (you're consuming data and
sticking it in an AST, so I guess it is a monad, but I'm not sure that's
particularly useful - maybe I've missed something).

Andrew

Comment on this post