This just arrived! :O :O :O
Conversation
oh hey, this is the one 's compilers class is using! mine was done with the Appel book, but the awful Java version (ugh I hated it). is it worth getting? I always like acquiring new books 🤔
1
2
This one seems to be a good reference for a bunch of compiler techniques. ie. parsing, IRs, optimisation, instruction selection register allocation, etc. It's less of a walkthrough on how to build an implementation like Appel's book.
1
1
1
As a heads-up though, it's pretty focused on procedural languages - ie. there is nothing about continuation passing style, A-normal form, uncurrying, graph reduction, etc. Which is a bit of a gap in the market as far as compiler books go. :(
2
3
I only know of "Compiling with Continuations" (which I stole from heh), but admittedly I have not looked into compiler stuff very much because I tend to be more into the design aspect 😅 (actually this is a primary motivation in sitting in on John's class!)
1
4
Yeah, "Compiling with Continuations" tends to be more a 'literate description of an ML compiler' than a full reference. But I haven't gone too in-depth into it yet. My copy is on loan to a friend at the moment 😅
I did find this page which describes a compiler for MinCaml - it might also be of interest: esumii.github.io/min-caml/index
1
2
I’ve been meaning to dive into that too. Use this as motivation to start!
2


