Compilers and Interpreters
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).
KeywordsFunction Call Parse Tree Assembly Language Program Counter Assembly Code
Unable to display preview. Download preview PDF.
- Aho, A.V., Sethi, R., and Ullman, J.D. (1986). Compilers, Principles, Techniques, and Tools, Addison-Wesley, Reading, MA.Google Scholar
- Aho, A.V. and Ullman, J.D. (1977). Principles of Compiler Design, Addison-Wesley, Reading, MA.Google Scholar
- Wirth, N. (1996). Compiler Construction, Addison-Wesley, Harlow, England.Google Scholar