TMCC (Trying to Make C Compiler) should be a minimalistic C compiler written for educational purposes. Initial goal of the project is to be able to compile the compiler itself.
Target architecture would be either arm64 (for MacOS) or x86_64 (for Linux).
- Read Dragon book (Compilers: Principles, Techniques, and Tools)
- Write a lexer
- Write a parser
- Write a code generator
- Integrate with linker, preferably write a custom one
- Test the programs and their code's correctness
- Build the compiler with itself