I did a fairly large program (10**5 lines) with FORESYS (from Simulog) a few
years ago. It does more than just formatting. If requested, it will attempt
to restructure loops, convert common blocks to modules (as long as the
members have the same name in each unit), create interfaces, analyse INTENT,
etc. Lots of formatting options as well. Fairly powerful, but also
expensive, as far as I remember.
If you start from spaghetti code full of GOTO and EQUIVALENCE statements, of
course, no tool will help you..
Herbert
>
> One tool, which I don't think has been mentioned in
> this thread, is the Spag that comes with the (paid for) plusFORT
> from Polyhedron. This does some f77 to f90 conversion including
> fixed to free format, f90 declarations, intent for arguments,
> do while, exit and cycle, etc.
> See: http://www.polyhedron.com/pf/plusfort.html
>
This e-mail has been scanned by Trend InterScan Software.
This e-mail (and its attachment(s) if any) is intended for the named
addressee(s) only. It may
contain information which is privileged and confidential within the
meaning of the applicable law.
Unauthorised use, copying or disclosure is strictly prohibited and may
be unlawful.
If you are not the intended recipient please delete this email and
contact the sender via email return.
Fujitsu Laboratories of Europe Ltd (FLE) does not accept responsibility
for changes made to this email after
it was sent. The views expressed in this email may not necessarily be
the views held by FLE.
Unless expressly stated otherwise, this email does not form part of a
legally binding contract
or agreement between the recipient and Fujitsu Laboratories of Europe Ltd (FLE).
|