News for hackers. Stuff that matters.
Re:Chumsky: A Tutorial by throw10920 on Tuesday April 12, 2022 @05:58PM (#31008737)
Where can one read about these steps in an easily-digestible format?
Re:Chumsky: A Tutorial by shpongled on Tuesday April 12, 2022 @06:27PM (#31008999)
Unfortunately, I haven't found a ton of "easily-digestible" and, at the same time, comprehensive guides on compiling functional languages. Generally you'll find a mix of blog posts/class notes/papers covering a single step.

Some resources I like:

- Andrew Kennedy's 2007 paper Compiling with Continuations, Continued [1]. This one is the most clear IMO

- Andrew Appel's Compiling with Continuations book (a bit outdated though... assembly code is for VAX)

- Matt Might's series [2]

- MLton's source and documentation [3]

[1] https://www.microsoft.com/en-us/research/wp-content/uploads/...

[2] https://matt.might.net/articles/closure-conversion/

[3] http://mlton.org/