SubC is a small, fast, and easily re-targeted compiler for
a subset of the C programming language. It is intended as
a teaching vehicle for those interested in the implementation
of compilers. A book describing its internals is available.
The SubC code is pretty clean and straight-forward.
It passes gcc -ansi -Wall -pedantic with little or
no warnings.
The compiler currently targets FreeBSD/386 and NetBSD/x86-64.
A FreeBSD/x86-64 back-end is in progress. Ports, patches,
etc. are welcome.
The SubC code is in the public domain.
http://www.t3x.org/subc/
--
Nils M Holm < n m h @ t 3 x . o r g >
www.t3x.org