Parser suggestion

Jorge Godoy godoy at ieee.org
Thu Sep 29 19:38:15 EDT 2005


Steven Bethard <steven.bethard at gmail.com> 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/
> 
> Well, I've never had to parse Fortan code, but I've had a lot of success
> writing a variety of recursive grammars in PyParsing.  I'd highly recommend at
> least trying it out.
> 
> STeVe

I've downloaded it.  The interesting thing is that there are some examples
that parses things more complex than "2+3*8" :-)



-- 
Jorge Godoy      <godoy at ieee.org>



More information about the Python-list mailing list