Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: Fortran to C Translator
Date: 1998/06/27	[thread overview]
Message-ID: <6n3m5e$1cui@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 01bda170$02a1a900$e7b900c8@Ganimedes.internet.siscotel.com


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



      reply	other threads:[~1998-06-27  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-26  4:00 Fortran to C Translator Juan C Fischer
1998-06-27  4:00 ` Serguei Patchkovskii [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox