From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e2bf6510fd70dc00 X-Google-Attributes: gidfee84,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Fortran to C Translator Date: 1998/06/27 Message-ID: <6n3m5e$1cui@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 366670213 References: <01bda170$02a1a900$e7b900c8@Ganimedes.internet.siscotel.com> Organization: The University of Calgary Newsgroups: comp.unix.osf.osf1 Juan C Fischer (jcf@internet.siscotel.com) wrote: : Is there a VMS Fortran to Digital Unix C "translator" ? : e.g. foobar.for --> foobar.c f2c (available from http://netlib.org, formely netlib.ornl.gov) will translate STANDARD FORTRAN-77 to C. It is not operating-system specific, and I believe it is supported on VMS, too. The resulting C code is not intended for human audience and is *ugly*. Translation of VMS Fortran as in "Digital Fortran with VMS extensions" to C is another story. I believe KAP Fortran preprocessor (which is not exactly cheap) may be able to translate a *subset* of VMS extensions into standard Fortran, which then may be converted to C. The Digital Fortran, on the other hand, fully supports all VMS extensions and will produce better code than Digital C working on the intermediate C representation. /Serge.P