Compiler Fundamentals
Learning and science
compiler education
SHOW HN2019
70points
7comments
#660of 2,195 in 2019
Top 31%of 2019 by points
How HN took it
QuietFewer than 5 comments about the project
0 positive, 0 neutral or asking, 0 mixed, 1 critical, out of 1 comments about the project.
Execution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
Questions
Why not use pattern matching instead of manual dispatch
From 1 comment
this is just a tiny nitpick but I'm wondering why you didn't use pattern matching? if you just wanted to stay schemey then disregard but you could skip the entire shapes section…
disconcision on HN
Alternatives named
Other closure conversion implementations in Racket, Scheme and C
From 3 comments
I also made a closure converting pass to my compiler (in racket also!) Here's mine: https://github.com/sinistersnare/SinScheme/blob/master/src/racket/closure-convert.rkt
sinistersnare on HNYet another: this is the whole compiler, but for a simpler language and target. https://github.com/darius/squeam/blob/master/eg/lambdacompiler.scm It's in my own Scheme variant,…
abecedarius on HNA shorter version in C: https://github.com/perl11/potion/blob/master/core/compile.c#L198
rurban on HN