u/juicyroaster

▲ 3 r/Compilers+1 crossposts

IR for my compiler

Since few days, I have been working on a compiler written in python. I have successfully implemented a frontend and I want a backend to generate IR for. I have decided to make my own IR but I don't know a lot about them. Can y'all please provide me with information with types of IR, optimization tricks they utilise, and how they are implemented or work. Any type of material will be thankful.

reddit.com
u/juicyroaster — 4 days ago

A suitable name for my compiler

Hello guys, I have been writing a compiler from a few days. I have completed the frontend basics like a lexer, parser, semantic analysis. It doesn't have a IR yet and no backend. I want the name to have a fast, quick and lightweight feel. It should have a no libc feel has I will write the standard library myself. Any type of suggestion is welcomed.

reddit.com
u/juicyroaster — 5 days ago