Parser suggestion

Jorge Godoy godoy at
Thu Sep 29 23:12:37 CEST 2005

"Michael J. Fromberger" <Michael.J.Fromberger at Clothing.Dartmouth.EDU> writes:

> There seems to be a great diversity of parsing tools available for 
> Python programmers.  Here are a few suggestions to get you started:

>From Google I found almost all of those.  But do you have any suggestion on
which one would be better to parse Fortran code?  Or more productive to use
for this task? 

> PLY (Python Lex/Yacc)

This is new to me :-)

> PyParsing

>From what I was seeing, this seems to be a good one to try... 

> SPARK (Scanning Parsing And Rewriting Kit)

It looks like it stopped being developed circa 2002...  From 2002 to now
Python had a lot of improvements and I'd rather use a maintained tool for this
project.  At least one that keeps up with Python's development... 

> You might also find the following an interesting read, if this sort of 
> thing interests you:

I will.  But this is basically for "one project only".  Other structures are
usually simpler than a programming language and can be retrieved with
different approaches.

Thank you very much for your suggestions.

Be seeing you,
Jorge Godoy      <godoy at>

More information about the Python-list mailing list