Top-Down Operator Precedence Parsing

Top-Down Operator Precedence is a simple and efficient parsing algorithm developed by Vaughan Pratt in the early seventies. The algorithm, also known as Pratt parsing, is a nice fit for Python, and lets you create fast and compact parsers and interpreters with very little effort.

Articles:

References:

Related work:

  • Pratt Parser (scheme implementation by George Carrette 1990)
 

[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.02s 2008-08-30 06:25:10.074319. hosted by webfaction.