Literature on Compilers

Books suggested by members of the Pascal Compiler mailing list:

    1. Compilers: Principles, Techniques, and Tools. Aho, Sethi, and Ullman, Addison-Wesley, 1986. This is the classic "dragon" book. It covers a wide range of topics and is used as a textbook for compiler classes.
    2. Compiler Construction. Niklaus Wirth, Addison-Wesley, 1996. He develops an Oberon-0 compiler in Oberon using recursive descent. Oberon-0 is a cut down version of Oberon.
    3. Compiler Construction: A Recursive Descent Model. John Elder, Prentice Hall, 1994. Describes compiler design for languages in the Pascal family using recursive descent.
    4. Writing Compilers and Interpreters: An Applied Approach. Ronald Mak, John Wiley & Sons, 1991. There is a more recent version. This book is very practical. It shows you step by step how to create a Pascal compiler (in C, unfortunately).
    5. Advanced Compiler Design and Implementation. Steven S. Muchnick, Morgan Kaufmann Publishers, Inc., 1997.
    6. CodeWarrior Plug-ins SDK. Metrowerks.
    7. The PowerPC Compiler Writer's Guide (Web only). Steve Hoxey & others, IBM, 1996.

Other Compiler books found at Amazon.com:

    1. Art of Compiler Design, The: Theory and Practice. by Thomas Pittman, James Peters, Prentice Hall, 1997.
    2. Building an Optimizing Compiler . by Robert Morgan, Digital Press, 1998.
    3. Compiler Design (International Computer Science). by Renhard Wilhelm, Addison-Wesley, 1995.
    4. An Introduction to Compiler Construction. by Thomas W. Parsons, W H Freeman & Co., 1993.
    5. Linkers and Loaders (Operating Systems). by John R. Levine, Ap Professional, 1999.
    6. An Algebraic Approach to Compiler Design. by A. Sampaio, World Scientific Pub Co, 1995.
    7. Loop Transformations for Restructuring Compilers. by Utpal Banerjee, Kluwer Academic Publishers, 1993.

Web-based Literature:

    1. Compilers for beginners : Let's build a compiler! by Jack Crenshaw.
    2. Parsing techniques an html course.
    3. Code generation: the approach of the Oberon-2 optimizing compilers.
    4. Three oberon-related pdf document :
    5. Apple documentation :
    6. Some thoughts of James L. Peterson on writing Pascal Compiler
    7. Data Sheets on PIC 16C74 series PICmicro Devices.