A comprehensive small C compiler
Once you’ve learnt a fair bit of C, one way to increase your understanding of it is to see how a C compiler works. Unlike most other programming languages, C compilers are generally understandable. There have been a few tiny or small C compilers around and here is another one though as its C111 compatible, it might be more useful than older ones.
The author is well qualified to write this, he’s the author of the llvm lld linker and also an earlier C compiler 8CC. He notes “chibicc can compile several real-world programs, including Git, SQLite and libpng, without making modifications to the compiled programs. Generated executables of these programs pass their corresponding test suites.”
Rui is writing a book on the C compiler and this is the subject of the book. It’s not out yet but will be in my must buy list.