Ratfor
Sign in to saveAlso known as Rational Fortran
Ratfor (short for Rational Fortran) is a programming language implemented as a preprocessor for Fortran 66. It provides modern control structures, unavailable in Fortran 66, to replace GOTOs and statement numbers.
~4 min read
Encyclopedic overview
6 sectionsContents
- Features
- History
- Ratfiv
- See also
- References
- External links
Ratfor (short for Rational Fortran) is a programming language implemented as a preprocessor for Fortran 66. It provides modern control structures, unavailable in Fortran 66, to replace GOTOs and statement numbers.
== Features == Ratfor provides the following kinds of flow-control statements, described by Kernighan and Plauger as "shamelessly stolen from the language C, developed for the UNIX operating system by D.M. Ritchie" ("Software Tools", p. 318): statement grouping with braces if-else, while, for, do, repeat-until, break, next "free-form" statements, i.e., not constrained by Fortran format rules , >=, ... in place of .LT., .GT., .GE., ... include # comments
Excerpted from Wikipedia’s “Ratfor” article, available under the CC BY-SA 4.0 licence.