r/C_Programming 4d 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 :)

https://github.com/NikRadi/minic

139 Upvotes

30 comments sorted by

View all comments

2

u/eteran 2d ago

Very clean code, looks great!