Take a look at PLY.
There is an example lexer in the download for parsing fortran.
--
http://mail.python.org/mailman/listinfo/python-list
[Jorge Godoy]
You're someone [...]
You make me shy! :-) Nevertheless, thanks for the appreciation! :-)
It looks like it stopped being developed circa 2002...
How can I be sure that if I find a bug I'll be able to discuss it with
the developer if it's 3 years since the last release of
Hi!
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?
Thanks,
--
Jorge Godoy [EMAIL PROTECTED]
--
In article [EMAIL PROTECTED], Jorge Godoy [EMAIL PROTECTED]
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
Michael J. Fromberger [EMAIL PROTECTED] 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
Jorge Godoy wrote:
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?
[snip]
PyParsing
http://pyparsing.sourceforge.net/
Well, I've never had to parse Fortan code, but
Jorge Godoy wrote:
Hi!
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.
http://svn.scipy.org/svn/scipy_core/branches/newcore/scipy/f2py2e/crackfortran.py
--
Robert Kern
[EMAIL
[Jorge Godoy]
SPARK (Scanning Parsing And Rewriting Kit)
http://pages.cpsc.ucalgary.ca/~aycock/spark/
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
My recommendation for a project like this would be SimpleParse
http://simpleparse.sourceforge.net
Some examples are here
http://simpleparse.sourceforge.net/simpleparse_grammars.html
and
http://www-128.ibm.com/developerworks/linux/library/l-simple.html
/Jean Brouwers
--
Steven Bethard [EMAIL PROTECTED] writes:
Jorge Godoy wrote:
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?
[snip]
PyParsing
http://pyparsing.sourceforge.net/
François Pinard [EMAIL PROTECTED] writes:
[Jorge Godoy]
SPARK (Scanning Parsing And Rewriting Kit)
http://pages.cpsc.ucalgary.ca/~aycock/spark/
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
11 matches
Mail list logo