Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ann: SubC, a small, fast, re-targetable compiler for a C subset

121 views
Skip to first unread message

Nils M Holm

unread,
Apr 17, 2012, 3:22:44 AM4/17/12
to
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
0 new messages