TPG : Parser generator in Python

Nicola Musatti objectway at divalsim.it
Tue Jan 15 08:15:46 EST 2002


Christophe Delord wrote:
> 
> Magnus Lie Hetland wrote:
[...]
> > One question: Have you seen Spark?
> > (http://pages.cpsc.ucalgary.ca/~aycock/spark/)
> 
> No, I have not.
> I've just downloaded it :-) What I can say after five minutes is that
> SPARK may be more powerfull and faster than TPG. Especially its way of
> coding scanning and parsing in Python is very interesting. But TPG has a
> very clear syntax. It's possible to write a grammar with very few code
> and it can generate stand-alone parsers.
> 
> I will study SPARK further...
> 
> I'm rather new to Python. Do you have other interesting links like this
> one ?

David Beazley's Ply ( http://systems.cs.uchicago.edu/ply/ ) is strongly
related to Spark and I found it very easy to use.

Cheers,
Nicola Musatti



More information about the Python-list mailing list