[net.sources] RATFOR sources needed

gda@creare.uucp (gda) (04/17/85)

Does anyone have a TRUE Fortran 77 source for RATFOR ?  We have a copy of
the DECUS RATFOR preprocessor, and we're trying to adapt it to run on ANSI
Standard Fortran 77, but it was written for DEC Fortran IV+.  FORTRAN 77 has
no BYTE or LOGICAL*1 variables, etc. and the source we have is full of such
dependencies.  We need source because we are doing development on several
machines, and also we want to add some features of our own. Please respond
by mail.

						Gray Abbott
						Creare Inc.
						{...dartvax!creare!gda}

jp@lanl.ARPA (04/29/85)

> 
> Does anyone have a TRUE Fortran 77 source for RATFOR ?  We have a copy of



I tried to mail this but our mailer couldn't figure out what to do with
my reply so I am posting it to the net.
  
I am interested in RATFOR sources for FORTRAN 77 also.  I want something
that I can use with Digital Research's Fortran 77 on my Compupro System
running CPM-86 or PC-PRO.   My problems with the versions I have been
able to find are similar to yours.  My Fortran 66 version is full of
byte wide logical expressions and DR only allows Logical variables to
be T or F.  If you come up with something drop me a note.

Thanks,

Jim Potter  jp@lanl.arpa

liang@cvl.UUCP (Eli Liang) (04/30/85)

> > 
> > Does anyone have a TRUE Fortran 77 source for RATFOR ?  We have a copy of
> 
> 
> 
> I tried to mail this but our mailer couldn't figure out what to do with
> my reply so I am posting it to the net.
>   
> I am interested in RATFOR sources for FORTRAN 77 also.  I want something
> that I can use with Digital Research's Fortran 77 on my Compupro System
> running CPM-86 or PC-PRO.   My problems with the versions I have been
> able to find are similar to yours.  My Fortran 66 version is full of
> byte wide logical expressions and DR only allows Logical variables to
> be T or F.  If you come up with something drop me a note.
> 
> Thanks,
> 
> Jim Potter  jp@lanl.arpa

For some obscure reason (along the lines of something dealing with yacc)
I too would like a source for RATFOR.  If anyone has it, please send me a
line.  Thanks much.

-eli

-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eli Liang  ---
        University of Maryland Computer Vision Lab, (301) 454-4526
        ARPA: liang@cvl, liang@lemuria, eli@mit-mc, eli@mit-prep
        CSNET: liang@cvl  UUCP: {seismo,allegra,brl-bmd}!umcp-cs!cvl!liang

bobl@aeolus.UUCP (Bob Lewis) (05/01/85)

--------
Since the original query, I've seen a couple of requests for the same
information on the net, so I thought I'd post the response I sent
creare!gda.  Here goes:

I don't have F77 RATFOR sources, but I recall having to deal with this
problem at the last place I worked.  In that case, our target was an Apollo
(strict F77) from a VAX (VMS Fortran).  There is an easier approach than
getting a whole new Ratfor, though.

Given that you have one host on which DECUS RATFOR works and the source for
it, what you can do is create your own F77 boot file for the target on that
host by concatenating your *target* RATDEFS file to RATFOR.RAT (or whatever
you call them) and passing them through the host RATFOR to produce a
RATFOR.F77 that you can then transfer to and compile on the target.  The
only tough part, then, is modifying the RATDEFS file.

In the particular case of RATFOR characters, you'll probably want to

	define(character, INTEGER*2)

I know it takes more space, but I think you'll find that FORTRAN 77
CHARACTER*n's just don't have the same flexibility as integer arrays.

Good luck.

	- Bob Lewis
	  ...!tektronix!teklds!bobl