Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!exodus-bb!khb From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup) Newsgroups: comp.lang.fortran Subject: Re: C2F Message-ID: Date: 17 Dec 90 20:15:53 GMT References: <1990Dec9.184921.13755@gdr.bath.ac.uk> Sender: news@exodus.Eng.Sun.COM Organization: Sun MegaSystems Lines: 27 In-reply-to: chppab@gdr.bath.ac.uk's message of 9 Dec 90 18:49:21 GMT 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