The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Arnold Robbins <>
Subject: [TUHS] Ratfor revived!
Date: Wed, 01 Dec 2021 22:23:38 +0200	[thread overview]
Message-ID: <E1msW8g-0001fp-F1@tanda> (raw)

Hi All.

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

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.



             reply	other threads:[~2021-12-01 20:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 20:23 Arnold Robbins [this message]
2021-12-01 20:57 ` John Cowan
2021-12-01 20:59 ` Clem Cole
2021-12-01 21:14   ` Deborah Scherrer
2021-12-01 22:23     ` Henry Bent
2021-12-02  0:34       ` Clem Cole
2021-12-02  5:44         ` Henry Bent
2021-12-02 14:15           ` Clem Cole
2021-12-02 14:35             ` Brantley Coile
2021-12-02 14:49             ` arnold
2021-12-02 16:30           ` John Cowan
2021-12-01 22:43     ` Brantley Coile
2021-12-02  7:41     ` arnold
2021-12-02 18:34       ` Deborah Scherrer
2021-12-01 21:24   ` Thomas Paulsen
2021-12-02  7:34   ` arnold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1msW8g-0001fp-F1@tanda \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).