Reading Materials

Books

  • Modern Compiler Implementaion in ML (The tiger Book)
    Note that the author has a number of versions of the book (for ML, Java, and C) and multiple editions. ANY VERSION of the book will be okay. And see Modern Compiler Implementation in Java on china-pub
  • Engineering a compiler. (The ark book)
  • Compiler: principals, techniques, and tools (2nd). (The dragon book)
  • Modern compiler implementation. (The whale book)

SML/NJ

MLton

IA32 and Assembler

  • gas: the GNU assembler
    Starting from version 2.10, gas supports intel syntax.
  • Intel 80386 reference programmers' manual. local copy
    This manual is relatively old (dates back to 1985), but it covers every detail used in this course. Also this manual is sufficient to understand Linux, Windows kernel and GCC output.

GDB

  • gdb: the GNU debugger

LD

  • ld: the GNU linker