Settings

Theme

Implementing Closures in a Compiled Lisp

zmedley.com

3 points by ekez 5 years ago · 1 comment

Reader

ekezOP 5 years ago

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.

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.

[1] https://github.com/ZekeMedley/lustc/ [2] https://github.com/bytecodealliance/wasmtime/tree/main/crane...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection