The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* Re: [TUHS] {TUHS} efl
@ 2021-12-19 14:37 Douglas McIlroy
  2021-12-20  1:19 ` Chris Torek
  0 siblings, 1 reply; 2+ messages in thread
From: Douglas McIlroy @ 2021-12-19 14:37 UTC (permalink / raw)
  To: TUHS main list

> there was a commercial package called Spag i which claimed to un-spagatti-ify your code which i always wanted but, could never afford.

You needed struct(1) in v7. It did precisely that, converting Fortran
to Ratfor. Amazingly (to me, anyway) it embodied a theorem: a Fortran
program has a canonical form. People found the converted code to be
easier to understand--even when they had written the original code
themselves.

Doug

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [TUHS] {TUHS} efl
  2021-12-19 14:37 [TUHS] {TUHS} efl Douglas McIlroy
@ 2021-12-20  1:19 ` Chris Torek
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Torek @ 2021-12-20  1:19 UTC (permalink / raw)
  To: tuhs

>You needed struct(1) in v7.

You mentioned this before
(https://minnie.tuhs.org/pipermail/tuhs/2020-March/020670.html).

Personally, I don't know why Brenda Baker isn't famous.

>People found the converted code to be easier to understand--even
>when they had written the original code themselves.

I ran it on a number of Fortran programs in the EE department
at the U of MD.  When it *didn't* resolve loops into Ratfor
style WHILE constructs and the like, it usually meant there was
a bug.  I found at least two or three bugs this way.

Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-20  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 14:37 [TUHS] {TUHS} efl Douglas McIlroy
2021-12-20  1:19 ` Chris Torek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).