The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: cowan@mercury.ccil.org (John Cowan)
Subject: [TUHS] Documentation on B language?
Date: Tue, 8 Mar 2016 13:00:19 -0500	[thread overview]
Message-ID: <20160308180019.GD32247@mercury.ccil.org> (raw)
In-Reply-To: <201603081301.u28D1wGP104789@tahoe.cs.Dartmouth.EDU>

Doug McIlroy scripsit:

> Various aspects of the language were borrowed from PL/I, BCPL and Algol
> 68. ++ and -- were novel operators. The reversal of Algol's assignment
> operators (e.g. -= became =-) was eventually repealed in C.

Algol 68, like Algol 60 and Pascal, used := (pronounced "becomes") for
assignment, and the Algol 68 assignment operators were spelled :+=,
:-=, etc. (pronounced "plus and becomes", "minus and becomes", etc.)
Pre-increment operators were already known in Lisp 1.5 long before;
they are now spelled incf and decf in Common Lisp.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan at ccil.org
If I have not seen as far as others, it is because giants were standing
on my shoulders.  --Hal Abelson


  reply	other threads:[~2016-03-08 18:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 13:01 Doug McIlroy
2016-03-08 18:00 ` John Cowan [this message]
2016-03-08 19:10   ` Andru Luvisi
2016-03-08 19:43     ` John Cowan
2016-03-08 23:13       ` Tim Bradshaw
2016-03-09 11:09   ` Christian Neukirchen
2016-03-09 11:29     ` Brantley Coile
  -- strict thread matches above, loose matches on Subject: below --
2016-03-09 21:34 Doug McIlroy
2016-03-09 21:43 ` John Cowan
2016-03-10 18:09   ` scj
2016-03-09 12:34 Noel Chiappa
2016-03-07  0:57 Norman Wilson
2016-03-07  8:39 ` Angelo Papenhoff
2016-03-07  0:20 Warren Toomey

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=20160308180019.GD32247@mercury.ccil.org \
    --to=cowan@mercury.ccil.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).