blob: 7aee00f42c72ad7b191d1069b47fee6f753a1f2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
ratfor (ratfor preprocessor for fortran77)
Ratfor is short for Rational Fortran. If you are not familiar with
Ratfor, SEP has a good page about it here:
https://sepwww.stanford.edu/sep/prof/pvi/rat/paper_html/node1.html
...and Brian W. Kernighan's paper on the language can be found here:
http://www.econ.uiuc.edu/~roger/research/repro/ratfor.pdf
Ratfor was used in the classic Software Tools text by Kernighan and
Plauger, published by Addison and Wesley. Ratfor translates Rational
Fortran to Fortran-77, which can then be compiled with a F77 compiler
such as GNU Fortran.
This Linux Ratfor is derived from the public domain ratfor
version 1.0 by Oz, Ken Yap, W. Bauske (IBM), and SEP
(http://sepwww.stanford.edu). It is still in the public domain.
To compile and run a ratfor program:
ratfor -o prog.f prog.r
f77 -o prog prog.f
./prog
There are some sample/test programs in "/usr/doc/ratfor-$VERSION/tests".
|