Parser suggestion
Michael J. Fromberger
Michael.J.Fromberger at Clothing.Dartmouth.EDU
Thu Sep 29 16:33:46 EDT 2005
In article <87ek77k4m1.fsf at ieee.org>, Jorge Godoy <godoy at ieee.org>
wrote:
> I'm needing a parser to retrieve some information from source code --
> including parts of code -- from Fortran, to use in a project with a
> documentation system.
>
> Any recommendations on a Python app or parser that I could use for that?
There seems to be a great diversity of parsing tools available for
Python programmers. Here are a few suggestions to get you started:
PLY (Python Lex/Yacc)
http://www.dabeaz.com/ply/
PyParsing
http://pyparsing.sourceforge.net/
SPARK (Scanning Parsing And Rewriting Kit)
http://pages.cpsc.ucalgary.ca/~aycock/spark/
You might also find the following an interesting read, if this sort of
thing interests you:
http://www.python.org/sigs/parser-sig/towards-standard.html
Cheers,
-M
--
Michael J. Fromberger | Lecturer, Dept. of Computer Science
http://www.dartmouth.edu/~sting/ | Dartmouth College, Hanover, NH, USA
More information about the Python-list
mailing list