I am looking for a utility to convert fortran IV code to a more structured sort of fortran like fortran 77 or later. I am trying to understand what exactly the code does and all those "goto" and calculated "if" statements don't help. Thanks.
相关问题
- CABS(x) function for complex(8)
- Upper bound of random number generator
- Finding number of lines of a data file using comma
- When do Fortran module allocatable arrays go out o
- How are these double precision values accurate to
相关文章
- Does gfortran take advantage of DO CONCURRENT?
- Fortran 90 - “Segmentation fault - invalid memory
- Why does System.Convert has ToDateTime that accept
- convert string to hex in python
- Convert String to CLLocationCoordinate2D in swift
- Replace string value with '0' when string
- Reading records from a Fortran binary file in Pyth
- expand a dense matrix
There's a section of the FORTRAN FAQ on this (search for "Code re-structurers and converters")
TIDY looks like it will do some of the work for you. Unfortunately not including the calculated-if and goto
Web page last updated more than 10 years ago!
A commercial product is here, but costs ~$500 for 5000 lines of conversion.
Courses on how to do this manually can be found here
IBM utility to convert Fortran IV to PL-I :) written in 1973, it seems
All already mentioned aside, in the end it always comes down to a bit of hard labour :) And that's where SciTools Understand shines.
There is also PlusFort, which can do comprehensive restructuring -- see the examples at http://www.polyhedron.com/spag0html. There is a reduced capability version that is free for certain uses: http://www.polyhedron.com/pflinux0html