Fortran-to-C compiler/grammar/translator needed

Bill Hutchison wgh at uucsbb.UUCP
Tue Aug 9 00:49:53 AEST 1988


In article <16715 at adm.ARPA>, STERRITT%SDEVAX.decnet at ge-crd.arpa writes:
> 	PLEASE send me mail DIRECTLY, rather than answering this post with
> another post, since we don't subscribe to this group.
> 	thanks very much,
> 	chris sterritt
> 	sterritt%sdevax.decnet at ge-crd.arpa	on arpanet
> 	csterritt				on GEnie
 I have tried to mail to this gent, but the University of Delaware keeps
bouncing my mail back.  Does anybody know how I can get mail to him?

   ----- Unsent message follows -----
Received: by uucsbb.UUCP (5.54/1.14)   id AA18233; Wed, 3 Aug 88 16:41:30 EDT
Date: Wed, 3 Aug 88 16:41:30 EDT
From: wgh (Bill Hutchison)
Message-Id: <8808032041.AA18233 at uucsbb.UUCP>
Apparently-To: burdvax!udel!gatech!rutgers!cmcl2!adm!STERRITT%SDEVAX.decnet at ge-crd.arpa

I have been looking into FORTRAN-to-C translation, and I have concluded that
it is a bad idea to do directly.  The method I recommend is to use teh
BSD4.2 or BSD4.3 utility "struct" (written by Brenda Baker of Bell Labs)
to translate spaghetti FORTRAN into structured RATFOR, then to write your
own translator from RATFOR to C (much easier than FORTRAN to C).
  A company called Cobalt Blue has FORTRAN-to-C and RATFOR-to-C translators
available commercially, and Rapitech in upstate NY has FORTRAN-to-C.
  Don't wait for this to appear in public domain -- it is a fairly difficult
task to do well considering the vast semantic differences between FORTRAN
and C.  FORTRAN-to-C++ makes a lot more sense (since C++ supports call-by-
reference, and you can define what [] means for your own datatypes, so
you can redefine how arrays work).
-- 
Bill Hutchison, DP Consultant	rutgers!cbmvax!burdvax!uucsbb!wgh
Unisys UNIX Portation Center	"What one fool can do, another can!"
P.O. Box 500, M.S. B121		Ancient Simian Proverb, quoted by
Blue Bell, PA 19424		Sylvanus P. Thompson, in _Calculus Made Simple_



More information about the Comp.unix.questions mailing list