1 comment

[ 2.6 ms ] story [ 17.5 ms ] thread
I'm sharing this partly because it seems to be freely available on archive.org. It's also freely shared on the author's website: http://hjemmesider.diku.dk/~torbenm/Basics/index.html

This book has a really nice and simple summary of how graph coloring register allocation works.

It also has an overview of the basics of type checking, as well as the basics of data-flow analysis and optimizations, including: common subexpression elimination, index check elimination, function inlining, and tail call elimination.

Those are only sections of the book. There are also sections about syntax analysis, parsing, and symbol tables. I'm just pointing out what seemed like the "best" or "most interesting" parts of the book in my opinion.