From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10840 invoked from network); 1 Dec 2021 22:25:19 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Dec 2021 22:25:19 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 1C7319CE1A; Thu, 2 Dec 2021 08:25:18 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 240F39C78B; Thu, 2 Dec 2021 08:23:26 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="crqdFRcG"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 287B19C78B; Thu, 2 Dec 2021 08:23:24 +1000 (AEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by minnie.tuhs.org (Postfix) with ESMTPS id AEB5C94502 for ; Thu, 2 Dec 2021 08:23:23 +1000 (AEST) Received: by mail-pf1-f181.google.com with SMTP id z6so26033879pfe.7 for ; Wed, 01 Dec 2021 14:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WQOea1GZRJNLXeuhNURuPJDwOeWTtN1+m8GuM0u0YA8=; b=crqdFRcGkbomHR7ui+Bj+Yepkt6kgTSLuuW5yr9NO9rT70gHM+zU75ThHXqh6TW10a B2rDZO8vp8UQDLVk17GmBGNbJMLsyb+F4wtp7FYb4G4gzURznoqpdDeGApRj9Uo2e43H KpU8kuUjL5eTPrK8oy41CBwM9KtzupmOr2oxf7ZTeLt0U3SW9v1B67VIaCItTrmxMmJv 60qqV+00smhGL4RizNFap/GWHZuWrBD0In22JpQd9i3jbt8KiQ9515lV7fksxaxBqhCM vbzPiUx0MyzoXHsoKrO3aqCkSWh7OzfOhLS1csgJecSB5vizKDy4zkeI1Sft9R3m15Hr htBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WQOea1GZRJNLXeuhNURuPJDwOeWTtN1+m8GuM0u0YA8=; b=o4nG3l3OAM79Bk7Q0W2vF027FCN7aES0e4fjDltNkp2y3mQtOtXXx17cvNRQkA7eOM GoqCR+iN0GhTfKHvfTbJK8uhqt8cK7lPiB21RES3fFVIMCybg+bi+o7EleivUawaJEio GHJWH/sUNF5CJp/Yr92uvabbgl+T05Y6a5/sV3u/SPPlD2QhVLwkT9XK2hsXcJH3V7N9 j13jWkqvxlQt7gfMlnzJqe0XUp6IylV+jAZOfFeQqFaEXqMeyDN4YQ5DVWNym8iBKg0K Lbe4IoptNycFZNWrhURnsqEJXOUF5bxOA9O2a1AIzIvEqAYFmvyvUGGyQwTOfU0giY0I brQA== X-Gm-Message-State: AOAM531p+e09c6OVI8OfwtdVOmd4PoCY9XWmZmuwhPYeLo+9XZMJ/6Bt VEeDC5Hc/LNZqasEUyp6lBTMcS3yYjqbLDaOCcSKxfS7k30= X-Google-Smtp-Source: ABdhPJxSIBZ4THvoLOUXf1ECbkSuI9Z97Igz8AC8M1yndT/RUr5/N6yyaAaWab+A2EmST2Xlot25awI1L0EP1STwd7k= X-Received: by 2002:a63:f24:: with SMTP id e36mr6689025pgl.4.1638397403261; Wed, 01 Dec 2021 14:23:23 -0800 (PST) MIME-Version: 1.0 References: <4186ba55-8c1d-9a7b-f7f7-f45a86d3fe0c@solar.stanford.edu> In-Reply-To: <4186ba55-8c1d-9a7b-f7f7-f45a86d3fe0c@solar.stanford.edu> From: Henry Bent Date: Wed, 1 Dec 2021 17:23:12 -0500 Message-ID: To: dscherrer@solar.stanford.edu Content-Type: multipart/alternative; boundary="00000000000038eff605d21d1f7e" Subject: Re: [TUHS] Ratfor revived! X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000038eff605d21d1f7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 1 Dec 2021 at 17:17, Deborah Scherrer wrote: > All you folks revisiting the Software Tools should remember that there wa= s > an entire movement around the first book, based at Lawrence Berkeley Lab. > The Software Tools group, an offshoot of Usenix, had about 2000 members. > We created an almost-entire Unix environment based on a virtual operating > system that we designed, inspired of course by Kernighan's ideas. The > collection was ported to over 50 operating systems, including some withou= t > file systems. This is all still freely available, and stored with the > Unix archives. > Could you provide a link to said environment, and suggest what sort of machines it might have run on? I probably have something here that will do it, and I am very interested. -Henry > On 12/1/21 12:59 PM, Clem Cole wrote: > > Arnold -- sounds fun. Thank you!!! I'll add it to my growing pile of > things I want to play with at some point. I too had a wonderful childho= od > experience with the SW tools. Somebody had a number of them running on a > VMS box when all we had was the VMS Fortran compiler, no C yet. > > I am curious why did you decide to use byacc? I would have thought in a > desire to modernize and make it more available on a modern system -- was > there something in byacc that could not be done easily in bison? To be > honest, I had thought Robert Corbett did them both and bison was the > successor to byacc, but I'm not a compiler guy - so I'm suspecting that > there must be a difference/reason. As I said, this is purely curiosity = -- > an educational opportunity. > > Thanks again, > Clem > =E1=90=A7 > > On Wed, Dec 1, 2021 at 3:41 PM Arnold Robbins wrote: > >> Hi All. >> >> Mainly for fun (sic), I decided to revive the Ratfor (Rational >> Fortran) preprocessor. Please see: >> >> https://github.com/arnoldrobbins/ratfor >> >> I started with the V6 code, then added the V7, V8 and V10 versions >> on top of it. Each one has its own branch so that you can look >> at the original code, if you wish. The man page and the paper from >> the V7 manual are also included. >> >> Starting with the Tenth Edition version, I set about to modernize >> the code and get it to compile and run on a modern-day system. >> (ANSI style declarations and function headers, modern include files, >> use of getopt, and most importantly, correct use of Yacc yyval and >> yylval variables.) >> >> You will need Berkely Yacc installed as byacc in order to build it. >> >> I have only touch-tested it, but so far it seems OK. 'make' runs in lik= e >> 2 >> seconds, really quick. On my Ubuntu Linux systems, it compiles with >> no warnings. >> >> I hope to eventually add a test suite also, if I can steal some time. >> >> Before anyone asks, no, I don't think anybody today has any real use >> for it. This was simply "for fun", and because Ratfor has a soft >> spot in my heart. "Software Tools" was, for me, the most influential >> programming book that I ever read. I don't think there's a better >> book to convey the "zen" of Unix. >> >> Thanks, >> >> Arnold >> > --00000000000038eff605d21d1f7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 1 Dec 2021 at 17:17, Deborah Sche= rrer <dscherrer@solar.st= anford.edu> wrote:
=20 =20 =20

All you folks revisiting the Software Tools should remember that there was an entire movement around the first book, based at Lawrence Berkeley Lab.=C2=A0 The Software Tools group, an offshoot of Usenix, had about 2000 members.=C2=A0 We created an almost-entire Uni= x environment based on a virtual operating system that we designed, inspired of course by Kernighan's ideas.=C2=A0 The collection was ported to over 50 operating systems, including some without file systems.=C2=A0=C2=A0 This is all still freely available, and stored w= ith the Unix archives.

Could you provide a link to= said environment, and suggest what sort of machines it might have run on?= =C2=A0 I probably have something here that will do it, and I am very intere= sted.

-Henry
=C2=A0
=20
On 12/1/21 12:59 PM, Clem Cole wrote:
=20
Arnold -- sounds fun.=C2=A0 Thank you!!!=C2=A0 I'll add it to my growin= g pile of things I want to play with at some point.=C2=A0 =C2=A0I too had a wonderful childhood experience with the SW tools.=C2=A0 Somebody had a number of them running on a VMS box when all we had was the VMS Fortran compiler, no C yet.

I am curious why did you decide=C2=A0to use byacc?=C2=A0 =C2=A0I would have th= ought in a desire to modernize and make it more available on a modern system -- was there something in byacc that could not be done easily in bison?=C2=A0 =C2=A0To be honest, I had thought=C2=A0Robert Corbett did them both and bison was the successor to byacc, but I'm not a compiler=C2=A0guy - so I'm suspecting that there=C2=A0must = be a difference/reason.=C2=A0 =C2=A0As I said, this is purely curios= ity=C2=A0-- an educational opportunity.

Thanks = again,
Clem
3D""==E1=90=A7

On Wed, Dec 1, 2021 at 3:41 P= M Arnold Robbins <arnold@skeeve.com> wrote:
Hi All.

Mainly for fun (sic), I decided to revive the Ratfor (Rational Fortran) preprocessor.=C2=A0 Please see:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 https://github.com/arno= ldrobbins/ratfor

I started with the V6 code, then added the V7, V8 and V10 versions
on top of it. Each one has its own branch so that you can look at the original code, if you wish. The man page and the paper from
the V7 manual are also included.

Starting with the Tenth Edition version, I set about to modernize
the code and get it to compile and run on a modern-day system. (ANSI style declarations and function headers, modern include files,
use of getopt, and most importantly, correct use of Yacc yyval and
yylval variables.)

You will need Berkely Yacc installed as byacc in order to build it.

I have only touch-tested it, but so far it seems OK.=C2=A0 'm= ake' runs in like 2
seconds, really quick. On my Ubuntu Linux systems, it compiles with
no warnings.

I hope to eventually add a test suite also, if I can steal some time.

Before anyone asks, no, I don't think anybody today has any real use
for it.=C2=A0 This was simply "for fun", and because Ra= tfor has a soft
spot in my heart.=C2=A0 "Software Tools" was, for me, t= he most influential
programming book that I ever read.=C2=A0 I don't think there&= #39;s a better
book to convey the "zen" of Unix.

Thanks,

Arnold
--00000000000038eff605d21d1f7e--