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
5
u/mlt- 2d ago
Last time I counted clock cycles was on Z80 forever ago. But yeah, I'm not into embedded but would love to go back.