PFORT
FORTRAN66 Verifier
PFORT
is a FORTRAN66 program which
reads a user program and produces a report on violations of
the FORTRAN66 standard.
Don't be surprised if every line of your program is in violation!
FORTRAN66
-
expected only upper case alphabetical characters;
-
only allowed a very few non-alphanumeric characters;
-
required identifiers to be 6 characters in length or less;
-
did not allow the PROGRAM statement, the IMPLICIT statement,
the DO WHILE statement;
-
did not support CHARACTER variables;
-
did not support quoted strings. In particular, strings to be
printed had to be delimited using a "Hollerith" count.
Usage:
pfort < file.f
-
file.f
-
the user file to be checked.
Related Data and Programs:
CLEAN77
is a FORTRAN77 program which
can reformat a FORTRAN77 file, using some standard indenting
and numbering conventions.
Reference:
-
Barbara Ryder,
The PFORT verifier,
in Software: Practice and Experience,
Volume 4, Number 4, 1974, pages 359-377.
-
Barbara Ryder, Andrew Hall,
The PFORT verifier,
Bell Laboratories Computer Science Technical Report,
Number 12, 1975.
Source Code:
Examples and Tests:
-
hello.f66,
a FORTRAN66 file.
-
hello_f66.txt,
the report generated by the command "pfort < hello_f66.txt".
-
hello.f,
a FORTRAN77 file.
-
hello_f.txt,
the report generated by the command "pfort < hello_f.txt".
You can go up one level to
the FORTRAN77 source codes.
Last revised on 21 July 2008.