The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: kayparker@mailite.com (Kay Parker 	 )
Subject: [TUHS] Unix stories, Stephen Bourne and IF-FI in C code
Date: Sun, 08 Jan 2017 13:54:52 -0800	[thread overview]
Message-ID: <1483912492.3148012.841178505.57CBD486@webmail.messagingengine.com> (raw)
In-Reply-To: <22ec379e-4985-2ab5-9fa5-f932fa4de653@retro11.de>

Thanks Walter!
I already read about Algol like C in the Bourne area and now know what
it means. I also read elsewhere that it was a act of freedom when the
Bell Lab boys freed finally themselves from the Bourne 'Algol'
influence.

On Sun, Jan 8, 2017, at 12:37 PM, Walter F.J. Mueller wrote:
> There was thread 'Unix stories' were Stephen Bourne played role.
> 
> Here another story about Stephen Bourne. He worked first on Algol 68,
> than joined the Unix team at Bell labs and wrote sh and adb. It's well
> known that the if-fi and case-esac notation from Algol came to shell
> syntax this way.
> 
> Maybe less know is that Bourne tried as hard as he could to make the
> C code of sh and adb look like Algol, with the help of preprocessor
> macros. I stumbled across this when I looked into the 2.11BSD code
> base some time ago. Look at
> 
>    http://www.retro11.de/ouxr/211bsd/usr/src/bin/sh/main.c.html
>    http://www.retro11.de/ouxr/211bsd/usr/src/bin/adb/main.c.html
> 
> to enjoy C with an Algol-look. The definitions are in
> 
>    http://www.retro11.de/ouxr/211bsd/usr/src/bin/sh/mac.h.html
>    http://www.retro11.de/ouxr/211bsd/usr/src/bin/adb/defs.h.html
> 
> 
> 		Cheers, 	Walter


-- 
  Kay Parker       
  kayparker at mailite.com

-- 
http://www.fastmail.com - Send your email first class



  parent reply	other threads:[~2017-01-08 21:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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    [this message]
2017-01-08 23:14 ` Adam Sampson
2017-01-09  1:06 Doug McIlroy
2017-01-09  2:18 ` Random832
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
2017-01-09 20:35     ` Steve Johnson
2017-01-10 12:24       ` Tony Finch
2017-01-11  6:00   ` Brantley Coile
     [not found] <mailman.1.1484013601.5032.tuhs@minnie.tuhs.org>
2017-01-10  3:11 ` Paul McJones
2017-01-10  4:40 Rudi Blom
2017-01-10 13:50 Noel Chiappa

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=1483912492.3148012.841178505.57CBD486@webmail.messagingengine.com \
    --to=kayparker@mailite.com \
    /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).