📗 I spent most of the week re-reading the excellent
Compiling with Continuations book and mapping ideas to Alpha.
I’m in the middle of a big overhaul introducing CPS intermediate representation (CPS = continuation passing style). AST-to-CPS translation is finished, lambda lifting is done. I’m working on closure conversion now, then CPS-to-LLVM IR translation. Hope to finish these next week.
https://www.alexeyshmalko.com/alpha-5/