[comp.lang.fortran] C2F

chppab@gdr.bath.ac.uk (Vlad the Impaler) (12/10/90)

I can't program in C so I will not enter the C vs Fortran 77 debate.

I was just wondering if a C to Fortan translator/compiler (c2f) was possible.

If not why not ?

Fortran lacks pointers but I thought someone suggest a method of
getting round this problem.

I not trying to undermine C by suggesting it should be converted to Fortran,
but wouldn't the reverse of f2c help to break down the barriers between
exculsive C or Fortran users.

Paul Burney

khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup) (12/18/90)

In article <1990Dec9.184921.13755@gdr.bath.ac.uk> chppab@gdr.bath.ac.uk (Vlad the Impaler) writes:

   Lines: 14

   I can't program in C so I will not enter the C vs Fortran 77 debate.

   I was just wondering if a C to Fortan translator/compiler (c2f) was possible.

   If not why not ?

   Fortran lacks pointers but I thought someone suggest a method of
   getting round this problem.

   I not trying to undermine C by suggesting it should be converted to Fortran,
   but wouldn't the reverse of f2c help to break down the barriers between
   exculsive C or Fortran users.

Many Fortran's have been extended to allow the "problematic" bits of C
to be handled (pointers, structures, etc.). The folks at Kuck and
Associates have mumbled that "it would be a short putt" to provide
such a tool, based on their current C and FORTRAN tools.
--
----------------------------------------------------------------
Keith H. Bierman    kbierman@Eng.Sun.COM | khb@chiba.Eng.Sun.COM
SMI 2550 Garcia 12-33			 | (415 336 2648)   
    Mountain View, CA 94043