The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Henry Bent <henry.r.bent@gmail.com>
To: Clem Cole <clemc@ccc.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] 8bc -- a B compiler for the PDP-8
Date: Mon, 23 Sep 2019 14:01:25 -0400	[thread overview]
Message-ID: <CAEdTPBfuvdNn3SBnsBsnFGc=Aq_Vt=Pn4v80N34hQRe+k1=5hw@mail.gmail.com> (raw)
In-Reply-To: <CAC20D2NMVwL-tkSTAUq0TTZtE+FG+KiCKEe-WD_b+HcmRHs9MQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

On Mon, 23 Sep 2019 at 13:27, Clem Cole <clemc@ccc.com> wrote:

> below...
>
> On Fri, Sep 20, 2019 at 7:08 PM Robert Clausecker <fuz@fuz.su> wrote:
>
>>   It's a bit rough around
>> the edges and the runtime code needs some work (division and
>> remainder are missing), but it does compile B code correctly,
>> generating acceptable code (for my taste, though the function call
>> sequence could be better).
>>
> A suggestion,   Load TSS/8 on to your simh system with its Algol compiler
> and look at how it generated code.  I would suspect you can use Algol's
> calling conventions and probably some of its runtime.   Google is your
> friend.  I had it running a while back, but do not have it active at the
> moment - the key is all the pieces should be findable in the wild,.
>
>
>>
>> I hope some of you enjoy this compiler for an important historical
>> language for an important historical computer (makes me wonder why
>> the two weren't married before).
>>
> Might have been, although when Ken created B for the PDP-7, BCPL was his
> model and there were already implementations of BCPL around for a number of
> processors.  I would not be surprised if there was a BCPL/8.  I would check
> in the DECUS library, much of which I think can be found online these days
> ??bit savers??.
>

I checked here: http://so-much-stuff.com/pdp8/software/decus.php but did
not immediately see anything BCPL related.  8-330 is TSS/8 ALGOL.

-Henry

[-- Attachment #2: Type: text/html, Size: 2568 bytes --]

      reply	other threads:[~2019-09-23 18:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-20 22:53 Robert Clausecker
2019-09-23 17:25 ` Clem Cole
2019-09-23 18:01   ` Henry Bent [this message]

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='CAEdTPBfuvdNn3SBnsBsnFGc=Aq_Vt=Pn4v80N34hQRe+k1=5hw@mail.gmail.com' \
    --to=henry.r.bent@gmail.com \
    --cc=clemc@ccc.com \
    --cc=tuhs@minnie.tuhs.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).