home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!isc-newsserver!jsvrc
- From: jsvrc@rc.rit.edu (Doctor FORTRAN)
- Subject: Re: C to Fortran?
- Message-ID: <1992Jul27.174458.3762@ultb.isc.rit.edu>
- Followup-To: comp.lang.fortran,comp.lang.c
- Originator: jsvrc@rcmain.rc.rit.edu
- Sender: jsvrc@rc.rit.edu (Doctor FORTRAN)
- Nntp-Posting-Host: rcmain.rc.rit.edu
- Organization: RIT Research Corp
- References: <MERNST.92Jul24081907@coot.lcs.mit.edu>
- Distribution: comp
- Date: Mon, 27 Jul 1992 17:44:58 GMT
- Lines: 15
-
- In article <MERNST.92Jul24081907@coot.lcs.mit.edu> mernst@theory.lcs.mit.edu (Michael Ernst) writes:
- >Can anyone point me at a tool for converting programs written in C to
- >Fortran?
-
- Unfortunately, this is a very difficult thing to do, as it violates the Second
- Law of Thermodynamics. :-)
-
- If you're looking for readable, maintainable code, it is doubtful that an
- automated tool can do the job. f2c, which goes in the opposite direction
- (hence in accordance with the Second Law of Thermodynamics :-) does not, I
- understand, produce code which one would want to read nor maintain. A
- translation by hand may be your best option if you want to easily understand
- the FORTRAN code.
-
- ==Doctor FORTRAN
-