Index of /pub/pdp11/rsts/smallc
Name Last modified Size Description
Parent Directory 15-Oct-1999 16:07 -
c1.c 15-Oct-1999 16:08 27k
c2.c 15-Oct-1999 16:08 17k
cc.sav 15-Oct-1999 16:08 40k RT-11 executable
clib.mac 15-Oct-1999 16:08 9k
smallc.h 16-Oct-1999 01:13 4k
This is my port of Ron Cain's "Small-C" compiler from CP/M to RSTS V7.0-07,
done in 1984-1985. It's a strange little compiler, missing lots of stuff
and the user interface stuff I added is a bit weird (it takes keywords).
The C it accepts is pretty different from "modern" C, it's a pretty small
subset of K&R C. All functions return int, there's no "for" at all, #defines
can't have arguments, there's no void, chars are signed, function parameter
lists must be declared in the same order they were listed in the function
prototype, I'm sure there's plenty of other stuff too. I can't seem to find
the original doc file, it will pop up here if I turn it up...
I think I also did an RT-11 version of CLIB.MAC, I'll search my floppy disk
collection for it one of these days.
John Wilson <wilson@dbit.com>, SY:[10,1]