I'm going back to basics and learning to write a compiler in the dumbest way possible. I'm starting with a basic assignment (a = 3) and reverse engineering what it would take to turn that into a working executable. Then I'll add more features, lather, rinse and repeat. I'm hoping to eventually turn it into a series of blog posts so everyone can see just how little I remember from college.
This is exactly how Compilers are taught at the University of Maryland. The class CMSC430 (https://www.cs.umd.edu/class/fall2021/cmsc430/) actually starts off with a Scheme (limited subset of Racket) and gradually grows the language to include more features. The first class compiles just numbers to x86 code, followed by arithmetic operations for numbers, building up to higher level features like function calls, pattern matching, and so on. See the notes at: https://www.cs.umd.edu/class/fall2021/cmsc430/Notes.html
I am not a computer science graduate and have always been fascinated by programming languages and how they work. i am currently reading a book called crafting interpreters (https://craftinginterpreters.com) which i think is a very good introduction to the topic plus it's very practical without getting too deep into theory.
I've built a C compiler and have read the dragon book. I wish I read Crafting Interpreters before reading Compilers by Aho. It's good, and there's no nonsense. The author knows what he's talking about. Plus it's free to read online. 10/10 would recommend.
I like it so much, reading your comment make exited to reading your blogpost. In moments like this I wish there was sth in hacker news that would allow tracking progress of e.g. your project. In twitter you can just follow people, reddit has remindme thing.