The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: dmr@plan9.bell-labs.com (Dennis Ritchie)
Subject: [pups] bringing up the fist C compiler
Date: Fri, 6 Sep 2002 01:35:26 -0400	[thread overview]
Message-ID: <dcb7f8efb847f0ed61ba6071070b13f1@plan9.bell-labs.com> (raw)

The chist paper on my home page is pretty complete (if telegraphic)
about bootstrapping B on the PDP-7 and later C (via B) on the -11.
It does not, indeed, explain TMG.  Doug McIlroy did write TMG
(on the -7) first in assembly language, then bootstrapped
that into itself.  Doug had used TMG to write EPL, the early
Pl/I compiler for Multics.  I don't know whether he needed
to create a new implementation of TMG for that or whether
it was already running on the IBM 7094.

The paper also mentions (as does some of the other history stuff)
that Unix itself was written first in assembler on the GE-645
(running GECOS, not Multics at that point),
using a macro package that turned symbolic -7 instructions into
an object deck that could be rendered onto paper tape.

There is not much about TMG on the web that I can find
(and some of it is inaccurate).

Incidentally, TMG didn't immediately survive the move
to the -11. B was already in its own language,
and nothing else was using TMG besides itself.
Doug did revive it later just for fun, and it is in the
6th edition distribution--you can get it nearby!

Both on the -7 and the -11, TMG was implemented as
an interpreter for an abstract machine.

	Dennis




             reply	other threads:[~2002-09-06  5:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06  5:35 Dennis Ritchie [this message]
2002-09-06  8:14 ` Warren Toomey
2002-09-06  8:56   ` Lars Brinkhoff
2002-09-06 10:28     ` Warren Toomey
2002-09-06 10:52       ` Lars Brinkhoff
2002-09-06 11:06         ` Warren Toomey
2002-09-06  8:28 ` Lars Brinkhoff
  -- strict thread matches above, loose matches on Subject: below --
2002-09-05 22:54 [pups] Bringing " Carl Lowenstein
2002-09-05 17:47 Al Kossow
2002-09-05 23:21 ` Johnny Billquist
2002-09-05 15:36 Ian King
2002-09-05  8:06 Tim Bradshaw
2002-09-05  8:16 ` Warren Toomey
2002-09-05  9:38 ` Johnny Billquist
2002-09-05  9:41   ` Tim Bradshaw
2002-09-05 10:07     ` Johnny Billquist
2002-09-05 10:15       ` Lars Brinkhoff
2002-09-05 11:19       ` Tim Bradshaw
2002-09-05 12:05         ` Johnny Billquist
2002-09-05 16:11           ` Michael Davidson
2002-09-09 21:17             ` Peter Jeremy

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=dcb7f8efb847f0ed61ba6071070b13f1@plan9.bell-labs.com \
    --to=dmr@plan9.bell-labs.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).