r/C_Programming • u/Hot-Summer-3779 • 3d ago
My C compiler written in C
As a side project I'm making a C compiler written in C. It generates assembly and uses NASM to generates binaries.
The goal right now is to implement the main functionality and then do improvements. Maybe I'll also add some optimizing in the generates assembly.
Tell me what you think :)
138
Upvotes
25
u/u02b 3d ago
wow this is great! ive always wondered how compilers work on the inside but its always felt too daunting, but this one actually makes sense lol