Re: Parser suggestion



In article <87ek77k4m1.fsf@xxxxxxxx>, Jorge Godoy <godoy@xxxxxxxx>
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/~ay***/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
.


Quantcast