The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: wkt@tuhs.org (Warren Toomey)
Subject: [TUHS] 2.11 pcc with ANSI?
Date: Tue, 17 Jan 2017 06:22:46 +1000	[thread overview]
Message-ID: <20170116202246.GB16532@minnie.tuhs.org> (raw)
In-Reply-To: <57d7c379b914dd1b23590d7e114bf9a970662e93@webmail.yaccman.com>

On Mon, Jan 16, 2017 at 10:52:04AM -0800, Steve Johnson wrote:
>    It's been done.  Anders Magnusson has done quite a bit to port pcc and
>    add both ANSI and selected GCC features.

A quick google search reveals:

http://pcc.ludd.ltu.se/
and https://www.openbsd.org/papers/magnusson_pcc.pdf
which is a set of slides on the work done.

I've been itching to rewrite PDP-7 Unix in a higher level language.
I've already designed the language and written a compiler for the PDP-7
(see https://github.com/DoctorWkt/h-compiler), but the generated code sucks.
Maybe I should try to retarget PCC, it would be slightly ironic :-)

Cheers, Warren


  reply	other threads:[~2017-01-16 20:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 18:11 Andy Valencia
2017-01-16 18:52 ` Steve Johnson
2017-01-16 20:22   ` Warren Toomey [this message]
2017-01-17  3:32     ` arnold
2017-01-17  5:30       ` Nick Downing

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=20170116202246.GB16532@minnie.tuhs.org \
    --to=wkt@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).