Xref: utzoo comp.lang.misc:1703 comp.lang.fortran:873 comp.lang.c:11109 Path: utzoo!lsuc!ncrcan!ziebmef!becker From: becker@ziebmef.uucp (Bruce Becker) Newsgroups: comp.lang.misc,comp.lang.fortran,comp.lang.c Subject: Re: RATFOR (A FORTRAN/C-Language hybrid) Message-ID: <1988Jul4.121340.5376@ziebmef.uucp> Date: 4 Jul 88 16:13:39 GMT References: <588@wsccs.UUCP> <2068@hubcap.UUCP> <3630@pdn.UUCP> Reply-To: becker@ziebmef.UUCP (Bruce Becker) Organization: Ziebmef Public Access BBS/Unix Lines: 35 In article <3630@pdn.UUCP> reggie@pdn.UUCP (George W. Leach) writes: >In article <2068@hubcap.UUCP> fpst@hubcap.UUCP (Steve Stevenson) writes: >>From article <588@wsccs.UUCP>, by val@wsccs.UUCP (Val Kartchner): >>> Does anyone out there have a public domain program (in C or FORTRAN) >>> to convert RATFOR to FORTRAN and/or C. >> >>Ratfor should produce Fortan source. >>See you friendly unix guru > > Yes, but the intermediate Fortran is not exactly something I would want >to replace the ratfor with! It has been some time since I used Ratfor, but >it produced Fortran IV, not f77 output. Perhaps some means of converting >Ratfor to f77 is what the poster was after. >George W. Leach Paradyne Corporation >..!uunet!pdn!reggie Mail stop LF-207 >Phone: (813) 530-2376 P.O. Box 2826 Some time ago I rewrote RATFOR to emit Fortran77 code, and, while I was at it, speeded it up about 4-5 times, and extended the language somewhat. This was for a MVS IBM mainframe system under ISPF, so that RATFOR (or RATF77 as it was known) was part of a the production environment. This resulted in a much better usage of Fortran facilities, although had a reasonable version of 'C' been available, it would have been preferable... The project of converting RATFOR to C ws considered, but never undertaken - It doesn't seem in retrospect to be a greatly difficult project, as the RATFOR compiler has most of the parts in it to be modified to the new target... The biggest part is the addition of a symbol table & its management... Bruce Becker UUCP: ...!unicus!becker!bdb, ...!lsuc!humvax!becker, ...!ncrcan!ziebmef!becker BitNet: BECKER@HUMBER.BITNET