Compilers and Interpreters

  • Oliver Grillmeyer
Part of the Undergraduate Texts in Computer Science book series (UTCS)


A compiler is a program that translates statements in one language into equivalent statements in another language. Typically, compilers translate programs written in a high-level language into programs that perform that same task in machine language. These machine-language programs can then be run on the computer. A cross-compiler produces machine language that is to be run on a different machine than the one on which the compiler runs. This is helpful when the computer for which the machine language is being produced is not readily available (e.g., a developmental machine).


Function Call Parse Tree Assembly Language Program Counter Assembly Code 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Additional Reading

  1. Aho, A.V., Sethi, R., and Ullman, J.D. (1986). Compilers, Principles, Techniques, and Tools, Addison-Wesley, Reading, MA.Google Scholar
  2. Aho, A.V. and Ullman, J.D. (1977). Principles of Compiler Design, Addison-Wesley, Reading, MA.Google Scholar
  3. Wilhelm, R. and Maurer, D. (1995). Compiler Design, Addison-Wesley, Harlow, England.MATHGoogle Scholar
  4. Wirth, N. (1996). Compiler Construction, Addison-Wesley, Harlow, England.Google Scholar

Copyright information

© Springer Science+Business Media New York 1998

Authors and Affiliations

  • Oliver Grillmeyer
    • 1
  1. 1.Department of Computer ScienceUniversity of California at BerkeleyBerkeleyUSA

Personalised recommendations