Hi HN. I wrote this up after feeling frustrated about a lack of information online about compiling closures. My hope is that is is useful to other people who get stuck at that point in writing their compiler.<p>The Lisp[1] I'm writing that I based this on is actually built on Cranelift[2] which has been a fun experience to work with. I'd love whatever feedback and questions people have.<p>[1] <a href="https://github.com/ZekeMedley/lustc/" rel="nofollow">https://github.com/ZekeMedley/lustc/</a>
[2] <a href="https://github.com/bytecodealliance/wasmtime/tree/main/cranelift" rel="nofollow">https://github.com/bytecodealliance/wasmtime/tree/main/crane...</a>