[TUHS] 2.11 pcc with ANSI?

Warren Toomey wkt at tuhs.org
Tue Jan 17 06:22:46 AEST 2017


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



More information about the TUHS mailing list