Ratfor

Ratfor (Rational Fortran) is a programming language that is essentially a mix of C and FORTRAN. It "compiles" to the latter.

Extensions
Ratfor seems to have bene labled with the extensions ".ratfor" and ".r".

Example
This example was taken from the 1980 United States Geological Survey implementation of the Network-Day Tape format. It has not been tested before inclusion here. subroutine prbuf(idata) integer*2 idata(1) # DATA RECORD - INPUT integer*2 i integer*2 j  integer*2 ibuff(80) do i = 1,25 { call getlin(idata, i, ibuff) write(6, 10) (ibuff(j), j=1,80) 10   format(1x, 80a1) } return end
 * 1) (A long documentation comment - stripped from the example in the Formats Wiki)
 * 1) (A long documentation comment - stripped from the example in the Formats Wiki)
 * 1) SET TO HOLD 16000 BITS OF TAPE INPUT RECORD

Links
An Internet Archive full-text search for "Ratfor" produces many results.
 * Linux Ratfor, for Linux
 * RATFOR user's guide version 2.0: The manual to AMES Ratfor, a dialect
 * Ratfor