Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: The joy of FORTRAN Date: 24 Sep 2024 22:05:00 GMT Lines: 28 Message-ID: References: <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net ndWN7fyOPAxMHYD1Ye0wwQCh2zuiqubVjrBhg0sDuVWZRtYmOh Cancel-Lock: sha1:mGdRxhoGjeMWvFw7avast7nxP+8= sha256:jjig4D54quzTVZNzz9MCIO54MZE3ofvcqH3/XNpQ/jc= User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Xref: csiph.com comp.os.linux.misc:58398 alt.folklore.computers:226957 On Tue, 24 Sep 2024 17:12:30 +0000, Dan Cross wrote: > In article , > Bob Eager wrote: >>I can't remember who originally wrote it, but I came across a version of >>'ed' (the standard UNIX editor, none of this visual stuff) written in >>FORTRAN. > > The first "Software Tools" book by Kernighan and Plauger was written > using "ratfor" as the example language; `ratfor` is a "rational FORTRAN" > frontend that took a semi-structured language as input and emitted > properly-formed FORTRAN code as output. > > They implemeneted an ed-like editor in ratfor for Software Tools. It > wouldn't surprise me if the editor you saw was that, or something > derived from it. No, it wasn't really. I implemented the ratfor one (and all the other tools), but the FORTRAN one I'm talking about looks pretty different. I still have all the files for the software tools in ratfor publihed by Lawrence Livermore Laboratory. -- Using UNIX since v6 (1975)... Use the BIG mirror service in the UK: http://www.mirrorservice.org