You are viewing archived messages.
Go here to search the history.

Alexey Shmalko 2021-12-05 12:41:55

šŸ“— 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/

Maikel van de Lisdonk 2021-12-05 20:05:14

Interesting read! I am developing a compiler myself as part of my project, so your posts provide valuable info regarding garbage collection and alternative compiler techniques, thanks!