a C compiler banner

a C compiler

3 devlogs
15h 11m 39s

I am trying to get my hands dirty with a c compiler, I plan on implementing atleast basic type systems and some optimisations!

This project uses AI

Debugging and sometimes making it write boring boilerplate code

Demo Repository

Loading README...

vighneshsawant366

Implemented Logical operators and relational, taking care of short circuiting also!
SO MUCH more stuff is there

Attachment
0
vighneshsawant366

Ok i forgot to devlog this, but I’ll do now.
In my first pass I had no IR so I had to rewrite a lot of stuff,
In my second try I chose a not so good IR so I had to rewrite IR AGAINNNN.
So finally I have settled on TACKY representation, on my way to implement a lot more stuff!!!!
My parsing approach was recursive decent parser, but had to change that up a little also as it started getting a little unwieldy!

Attachment
0