Skip to main content

Textbook and References

Purple Dragon Book Compilers: Principles, Techniques and Tools (2nd Edition), Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jeffrey D. Ullman, Addison-Wesley, 2006: ISBN-13: 9780321486813 (the purple dragon book). The book also has: a webpage. In particular visit it for the Errata and the online Resources. We will follow the material in this textbook closely but not in all aspects. The exercises and discussion in this book will be helpful to supplement what is discussed in class.
Lex Yacc Book lex & yacc. 2nd Ed. John R. Levine, Tony Mason and Doug Brown. O’Reilly. ISBN 1565920007.

Other References

  • LLVM API and Documentation
  • Modern Compiler Implementation in {C,ML,Java} by Andrew W. Appel. 2002, Cambridge Univ Press.
  • Theory of Parsing, Translation and Compiling (Vol 1: Parsing and Vol 2: Compiling) by A. V. Aho and J. D. Ullman. 1972-1973, Prentice Hall.
  • Advanced Compiler Design and Implementation by Steven S. Muchnick. 1997, Morgan Kaufmann.