[comp.lang.c] Need a Fortran to C translator

ostertag@drinkme.cs.umd.edu (Eduardo Ostertag) (07/03/90)

(Sorry, but my previous message was truncated...)

I need to re-implement in  C  some  programs  which  were  written  in
Fortran-77.  Question:  Where  can  I  find  the  C-source-code  for a
"Fortran to C" translator? Thanks in advance,

-Eduardo Ostertag	(ostertag@cs.umd.edu)

ews00461@uxa.cso.uiuc.edu (07/04/90)

This has been discussed before, but I've learned a bit lately, so
I will throw in some info.

What's available:

f2c	free from AT & T.  Produces functional but very ugly code.
	They admit that it was not designed to produce maintainable
	C code and I concur.

FOR_C	much better.  Much more expensive.  Available from:
		Cobalt Blue
		2940 Union Ave.
		Suite C
		San Jose, CA  95124
		(408)-723-0474
	We just purchased this package with their new FOR_STRUCT
	re-structuring utility, and so far I like it.  Documentation
	on FOR_STRUCT is poor.  FOR_C looks fairly slick.

Promula	relatively on par with FOR_C.  Both create maintainable code
	when converting I/O calls and the like.  Keep in mind that
	Promula converts strings literally.  FOR_C converts strings to
	C strings (ie null terminated).  FOR_C is less compatible,
	but Promula loses the ability to use stdio libraries in hand
	maintaining the C code (with strings, anyway).

Disclaimer:	I am not affiliated with any of these companies in any
		way.  My opinions are mine, and I am rather possessive
		of them.

Eric W Sink