Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A book about writing compilers. In very early stages of writing.
Tree: 0d32f5ba63

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md

README.md

So, I'm writing a compiler book. Inspiration comes from this HN comment. Kudos also to Matthew Walton for thinking it'd be a good idea. ☺

Here's a tentative table of contents, cribbed straight from the HN comment in question, but hopefully evolvable into something more complete:

  • SSA
  • abstract interpretation
  • compiling high level languages
  • pointer analysis
  • compiling dynamic dispatch
  • garbage collection
  • closures

I expect to delve deeply into the Dragon book, SICP, and Modern Compiler Design in order to learn more of the theory and practice of writing compilers. It'll be both a learning experience and a teaching experience. ☺

Oh, and the plan is to use Perl 6 as the implementation language throughout the book. Partly because it's a pleasant langauge which will easily and succinctly express the points of the text; partly because it'll give us parsing for free through grammars. So we don't have to reinvent the wheel there. In fact, that's part of the intended use of Perl 6 — as a sort of "language incubator".

Something went wrong with that request. Please try again.