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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26741 invoked from network); 2 Dec 2021 00:37:06 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Dec 2021 00:37:06 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 2AF819CD6B; Thu, 2 Dec 2021 10:37:05 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 11D5C9CD65; Thu, 2 Dec 2021 10:34:45 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="OzgKJRtO"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 505379CD65; Thu, 2 Dec 2021 10:34:42 +1000 (AEST) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by minnie.tuhs.org (Postfix) with ESMTPS id 6A4EC9C78B for ; Thu, 2 Dec 2021 10:34:41 +1000 (AEST) Received: by mail-qt1-f178.google.com with SMTP id l8so25953536qtk.6 for ; Wed, 01 Dec 2021 16:34:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z3GHqP7QvsDAB2iiBnKS5t+Hev8qOm84YxctauzYsrE=; b=OzgKJRtOa4hFyDcaKY7PsQXZ6WsmaqhlseBFICeI2FiTEqSmbZcAaUW7WJRm8CnR41 AZ4HNTGHT1dyFlCl1yM7Jvr35h16IokXXy2ycuBJtgDfI0hhIXgcniIdNWAwwPDGY/0a fWqNQ0babD7rrZgHeDQRCSoTcLHuCUCy0iFTg= 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=Z3GHqP7QvsDAB2iiBnKS5t+Hev8qOm84YxctauzYsrE=; b=s2BOgnQqsN2W2rOg6zyrdHz1iwworYQgS/uu5trk8iGmyUuFm2aXLZcsVf2Rt0rCYO tp2ixjWkvUwEDsAv4gV5esnzTyG8bdn8d/uffkYz9+ffHVVqZLNGexwlftk2Ih1CG7y8 zD4Zy1R9xrs5TtMR18aYxdu1s/zJGCASQtiwuCAQIoDhE8VExejbsemFPkUk1JKYVYcc dLsxsjNPVjTm1DeM+MSg2JGv53UdzD5eWILQ+6LOIv4N2QmzxcEaSgVAUZNDiplUmzwZ Ik0JAIdXQfAi0csttRsf573vDB5/et1I9aw1OyG6UtXFfOg+0sP2CnXV3PYMV0BRKtX3 jeHA== X-Gm-Message-State: AOAM532kbNX+V/WVyWAX6Uo1INy6Lya4dYEsDH7TU7TXJnVwvNliT7ey VufS0Y1A1ToKY0kagsxrp8+sJ1TKQMuKTQHGhS3lYw== X-Google-Smtp-Source: ABdhPJy2yWXq0KqBX83DFIdHDJg2Fjc5zYX+Q8Fao29TCrSyyQkrco071U6SPW3RUab6ciHzrftzV66fCk1v8ujbtX8= X-Received: by 2002:a05:622a:30e:: with SMTP id q14mr10940653qtw.71.1638405280187; Wed, 01 Dec 2021 16:34:40 -0800 (PST) MIME-Version: 1.0 References: <4186ba55-8c1d-9a7b-f7f7-f45a86d3fe0c@solar.stanford.edu> In-Reply-To: From: Clem Cole Date: Wed, 1 Dec 2021 19:34:15 -0500 Message-ID: To: Henry Bent Content-Type: multipart/alternative; boundary="000000000000b955c805d21ef410" 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" --000000000000b955c805d21ef410 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://www.tuhs.org/Archive/Applications/Software_Tools/ =E1=90=A7 On Wed, Dec 1, 2021 at 5:25 PM Henry Bent wrote: > On Wed, 1 Dec 2021 at 17:17, Deborah Scherrer < > dscherrer@solar.stanford.edu> wrote: > >> All you folks revisiting the Software Tools should remember that there >> was 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 virtua= l >> operating system that we designed, inspired of course by Kernighan's >> ideas. The collection was ported to over 50 operating systems, includin= g >> some without file systems. This is all still freely available, and sto= red >> 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 childh= ood >> 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 >>> 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. 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 >>> >> --000000000000b955c805d21ef410 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 1 Dec 2021 at 17:17, Deborah Scherrer= <dsch= errer@solar.stanford.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
--000000000000b955c805d21ef410--