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.9 required=5.0 tests=HTML_FONT_LOW_CONTRAST, HTML_MESSAGE,MAILING_LIST_MULTI,MIME_HTML_ONLY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7041 invoked from network); 1 Dec 2021 21:56:03 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Dec 2021 21:56:03 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 1A4799CE0E; Thu, 2 Dec 2021 07:56:01 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 996F49CD6A; Thu, 2 Dec 2021 07:54:40 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 51E9A9C78B; Thu, 2 Dec 2021 07:54:37 +1000 (AEST) X-Greylist: delayed 1803 seconds by postgrey-1.36 at minnie.tuhs.org; Thu, 02 Dec 2021 07:54:35 AEST Received: from firemail.de (firemail.de [88.99.137.45]) by minnie.tuhs.org (Postfix) with ESMTPS id 8B0B394502 for ; Thu, 2 Dec 2021 07:54:35 +1000 (AEST) Received: from firemail.de (localhost.localdomain [127.0.0.1]) by firemail.de (b1gMailServer) with ESMTP id 16E97057 for ; Wed, 01 Dec 2021 22:24:30 +0100 (CET) Date: Wed, 01 Dec 2021 22:24:29 +0100 MIME-Version: 1.0 Message-ID: <9698e5747f5cd4c7bb30862082cb987c@firemail.de> X-Mailer: b1gMail/7.4.0 X-Sender-IP: 93.209.192.159 From: "Thomas Paulsen" To: "Clem Cole" In-Reply-To: References: Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Abuse-Report: abuse@emailn.de 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: , Reply-To: Thomas Paulsen Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS"  there is a modernized byacc. Check out: http://invisible-island.net/byac= c/=C2=AD 

Von: Clem Cole &l= t;clemc@ccc.com>
Datum: 01.12.2021 21:59:00
<= strong>An: Arnold Robbins <arnold@skeeve.com>
B= etreff: Re: [TUHS] Ratfor revived!

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 childhood 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.
=C2=A0
I am curiou= s 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?  &nb= sp;To be honest, I had thought Robert Corbett did them both and bison was the successo= r to byacc, but I'm not a compiler guy - so I'm suspecting that there&= nbsp;must be a difference/reason.   As I said, this is purely cur= iosity -- an educational opportunity.
= =C2=A0
Thanks again,=
Clem
3D""<= span style=3D"color:#ffffff; font-size:x-small">=E1=90=A7
=C2=A0
On W= ed, Dec 1, 2021 at 3:41 PM Arnold Robbins <arnold@skeeve.com> wrote:
<= span style=3D"font-family:arial,helvetica,sans-serif; font-size:12px">Hi All.

Mainly for = fun (sic), I decided to revive the Ratfor (Rational
Fortran) preproces= sor.  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.

Startin= g with the Tenth Edition version, I set about to modernize
the code an= d get it to compile and run on a modern-day system.
(ANSI style declar= ations 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.  'mak= e' runs in like 2
seconds, really quick. On my Ubuntu Linux systems, i= t compiles with
no warnings.

I hope to eventually add a tes= t 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 si= mply "for fun", and because Ratfor has a soft
spot in my heart.  = "Software Tools" was, for me, the most influential
programming book th= at I ever read.  I don't think there's a better
book to convey th= e "zen" of Unix.

Thanks,

Arnold


Gesendet mit Firemail.de - Freema= il