The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: dfawcus+lists-tuhs@employees.org (Derek Fawcus)
Subject: [TUHS] Unix stories, Stephen Bourne and IF-FI in C code
Date: Mon, 9 Jan 2017 18:48:09 +0000	[thread overview]
Message-ID: <20170109184809.GA57219@cowbell.employees.org> (raw)
In-Reply-To: <CAOkr1zU=s4uYL6m3AhRz7UcxaGRSrzgaAN5JPukHbw_UVAM_AQ@mail.gmail.com>

On Mon, Jan 09, 2017 at 08:30:58am -0700, Marc Rochkind wrote:
> If he in fact studied Algol 68, that's worth a story in its own right!

Surrey University, 1986-1990; reading EE,  we had a set of programming
lectures where we were required to learn it (to some extent) as we had
to submit course work written in it.

I tended to do the work in C on the dept Gould running unix,  then
transliterate to Algol 68 for the final submission.  This was because
the compiler was only available as a batch submission process,  and we'd
have long turn arounds just to get past syntax checks.  Especially when
100 of us were trying to submit jobs at the same time.

I still recall the frustration of a few hours turn around just to get
an error about 'semi-colon not required here', which would then complain
'semi-colon required once one removed it'.

I actually quite liked it,  just it was a bit verbose,  and I never figured
out how to do pointers or dynamic allocation in it at the time,  so some
conversions ended up being less than optimal.

As I recall one could convert the ternary op to an IF expression,  and the
loop construct combined all of 'while' 'for' and 'do while' depending upon
which syntax elements one used.

DF


  parent reply	other threads:[~2017-01-09 18:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09  2:30 Norman Wilson
2017-01-09  3:31 ` Steve Johnson
2017-01-09 15:30   ` Marc Rochkind
2017-01-09 15:45     ` arnold
2017-01-09 15:59       ` ron minnich
2017-01-09 16:03       ` Clem Cole
2017-01-10 18:44         ` Lawrence Stewart
2017-01-09 18:48     ` Derek Fawcus [this message]
2017-01-09 20:35     ` Steve Johnson
2017-01-10 12:24       ` Tony Finch
2017-01-11  6:00   ` Brantley Coile
  -- strict thread matches above, loose matches on Subject: below --
2017-01-10 13:50 Noel Chiappa
2017-01-10  4:40 Rudi Blom
     [not found] <mailman.1.1484013601.5032.tuhs@minnie.tuhs.org>
2017-01-10  3:11 ` Paul McJones
2017-01-09  1:06 Doug McIlroy
2017-01-09  2:18 ` Random832
2017-01-08 20:37 Walter F.J. Mueller
2017-01-08 21:12 ` Larry McVoy
2017-01-08 21:26   ` Dave Horsfall
2017-01-08 21:54 ` Kay Parker   
2017-01-08 23:14 ` Adam Sampson

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20170109184809.GA57219@cowbell.employees.org \
    --to=dfawcus+lists-tuhs@employees.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).