pearu@cens.ioc.ee wrote:
I have been working on f2py rewrite to support wrapping Fortran 90 types among other F90 constructs and as a result we have almost a complete Fortran parser in Python. It is relatively easy to use this parser to automatically convert Fortran 77 codes that we have in scipy to C codes whenever no Fortran compiler is available.
Cool! How is the different/better than the old standby f2c? One issue with f2c is that it required a pretty good set of libs to support stuff that Fortran had that C didn't -- complex numbers come to mind, I'm not sure what else was is in libf2c. In fact, I've often wondered why scipy doesn't use f2c. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov