I am trying to get my hands dirty with a c compiler, I plan on implementing atleast basic type systems and some optimisations!
Debugging and sometimes making it write boring boilerplate code
I am trying to get my hands dirty with a c compiler, I plan on implementing atleast basic type systems and some optimisations!
Debugging and sometimes making it write boring boilerplate code
Well got a 2x multiple for writing a compiler lol!
Implemented Logical operators and relational, taking care of short circuiting also!
SO MUCH more stuff is there
Log in to leave a comment
Rewriting ir 3 times was not so fun, I learnt that making design decisions before is a good idea!
Do admin stuff required for shipping!
Log in to leave a comment
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!
Log in to leave a comment