
A Small C compiler
by James E. Hendrix · first published 1988
4mentions
1recommended by
4HN commenters
2018–2024first – last mentioned
25% recommend75% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

…Compilers: Compiler Construction, by Niklaus Wirth http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf Let's Build A Compiler, Jack W. Crenshaw & Marco van de Voort: https://www.stack.nl/~marcov/compiler.pdf A Small C Compiler, by James E. Hendrix (sorry, this one is behind a pay/registration wall) https://www.scribd.com/document/289762150/Small-C-compiler-v... https://en.wikipedia.org/wiki/Small-C Tiny C Compiler https://bellard.org/tcc/…
on “Ask HN: How to Self-Study Integrated Circuit Design?” ↗FWIW, (i.e., for some historical fun) Dr. Dobbs Journal published a program called "Small C Compiler" by Ron Cain back in 1980. [1] Later, it was expanded by James Hendrix into a full book with a more complete implementation. [2] (As a kid, coming across this book in the bargain bin at CompUSA was…
on “Writing a Rust compiler in C” ↗…README in the ISO: >"Welcome to Dr. Dobb's Small-C Resource CD-ROM, the definitive collection of Small-C related information and source code. This CD-ROM includes the full text to James Hendrix's book "A Small-C Compiler: Language, Usage, Theory, and Design," selected articles on Small-C from "Dr. Dobb's Journal" magazine, and Small-C implementations for a number of processor platforms, including the 8080, Z80, 6502,…
on “How to create an OS from scratch – tutorial” ↗Similar: "A Small-C Compiler", by James E Hendrix (not Jim E, not Jimi). Modify source, compile self, repeat. This repo claims to have the code: https://github.com/DosWorld/smallc
on “Show HN: My C compiler compiled itself” ↗