Pseudo-SQL: searching for Parser/Rewriter

Neel Krishnaswami neelk at brick.cswv.com
Sun Jan 2 10:30:00 EST 2000


hartmut Goebel <hartmut at oberon.noris.de> wrote:
> Hello everyone,
> 
> I'm looking for a general purpose tokenizer/parser/rewriter for
> Python. If a parser is available, it best should return a simple
> parse tree.

Try John Aycock's SPARK, the Scanning, Parsing, and Rewriting Kit:

   <URI:http://www.csr.UVic.CA/~aycock/python/content.html>
 
It implements an Early parser in pure Python, so it's very powerful,
very elegant, and not very fast. But if your texts are of moderate
size it should be fine.


Neel



More information about the Python-list mailing list