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

"Nils M Holm" <nmh@t3x.org>
Tue, 17 Apr 2012 09:22:44 +0200

          From comp.compilers

Related articles
Ann: SubC, a small, fast, re-targetable compiler for a C subset nmh@t3x.org (Nils M Holm) (2012-04-17)
| List of all articles for this month |
From: "Nils M Holm" <nmh@t3x.org>
Newsgroups: comp.compilers
Date: Tue, 17 Apr 2012 09:22:44 +0200
Organization: Compilers Central
Keywords: available, C
Posted-Date: 17 Apr 2012 13:15:11 EDT

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


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.