f90split


f90split, a C code which reads a FORTRAN file and creates individual files for every blockdata, function, module, program, or subroutine in the file,

Procedure X is put in file X.f90.

Comments preceding a procedure, and not associated with a preceding procedure, are included with that procedure.

You should not use the more elaborate END statements that include the procedure definition, such as "END FUNCTION ALPHA".

Usage:

f90split myprog.f90
where

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

f90split is available in a C version and a FORTRAN90 version.

Related Data and Programs:

catalog, a C++ code which reads a C, C++, FORTRAN77, FORTRAN90, MATLAB, Python, or R code and prints every line that begins with a special index tag. If the code has been marked up expecting this convention, a handy table of contents will be created.

f77split, a C code which reads a FORTRAN77 file and creates individual files for every blockdata, function, module, program, or subroutine in the file.

f90split_test

f90split, a FORTRAN90 code which reads a FORTRAN file and creates individual files for every blockdata, function, module, program, subroutine in the file.

fsplit, a FORTRAN90 code which reads a FORTRAN file and creates individual files for every function, program, or subroutine in the file, by Van Snyder.

htmlindex, a C++ code which reads a C, C++, FORTRAN77, or FORTRAN90 file and writes a skeleton HTML page describing it, assuming that each subroutine includes a '!!' or 'cc' description line.

include_files, a FORTRAN90 code which reads a FORTRAN program with INCLUDE statements, and makes a copy with the indicated files included.

Source Code:


Last revised on 17 April 2021.