Re: Fortran 77 parser



Walter Spector wrote:
James Giles wrote:
...). I've never even heard of compilers that
support just DOUBLE as a keyword, so I've never accomotated it.
As I describe above, I *could* do so. I just never thought of it.

It is yet another old CDC extension. Early Cray compilers (CFT and
first couple versions of CFT77) also supported it. [...]

So I guess I *have* heard of compilers that had that. I even did
site support on the CFT compiler at one time. I don't recall that
feature though. Of course, default REAL was 64 bits, so longer
precision was not as often used. And, people using Crays
tended to use standard conforming declarations more often. (Maybe
because they got burned by REAL*n not being what they expected?
I don't recall much use of that form either, although I know that was
permitted. Mostly eveyone was actively advosed not to use it.)

I have here pocket reference cards for those compilers. And sure
enough the CFT card says DOUBLE [PRECISION] as the syntax.
The CFT77 card doesn't, but perhaps the manual would. I have
manuals somewhere. I think they're boxed in a rented storage.

Evidently none of that stuff ever broke -- at least not while I was
doing the site support!

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare


.