|
|
1.1 root 1: .ps 12
2: .vs 15
3: .nr PS 12
4: .nr VS 15
5: .TL
6: Converting Fortran 77 to C
7: .AU
8: S. I. Feldman
9: .AI
10: Bellcore
11: .AU
12: D. M. Gay
13: N. L. Schryer
14: .AI
15: .MH
16: .OK
17: .AB
18: .PP
19: Several Fortran to C converters commercially available, but
20: none are useful for projects bigger than a few hundred lines;
21: their error rates are measured in percents.
22: For large-scale conversions, error rates near one in a million are needed.
23: Having a reliable Fortran to C converter is of immense interest and value
24: to our research, where we mix Fortran and C in various environments
25: and architectures.
26: .PP
27: We will produce a Fortran 77 (f77) to C converter this summer,
28: with the aid of a summer student, Mark Maimone, from Carnegie-Mellon University.
29: The program will be based on the original f77 compiler written by S. I. Feldman
30: many years ago and still in heavy use.
31: .PP
32: That compiler internally constructs a C parse-tree and then produces C
33: intermediate code for the second pass of the C compiler.
34: We will produce a C program from the internal C tree.
35: .PP
36: Feldman's collaboration in this project makes it possible \(em
37: there is nothing like having the author of a program advise on its
38: alteration.
39: We expect to have the converter running in a matter of weeks.
40: Since Feldman is at Bellcore and the work will be done at AT&T Bell Laboratories,
41: we propose to put the resulting f77 to C converter software in the public domain.
42: This will be accomplished by putting the program and its documentation
43: through a publication release, from both AT&T and Bellcore.
44: .PP
45: .B
46: This note is to advise the relevant parts
47: of AT&T of the project and prepare the way for the subsequent release
48: of the software and documentation.
49: .R
50: .AE
51: .LP
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.