Dale - Computer Science Illuminated 254

Dale - Computer Science Illuminated 254 - 8.1 Translation...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Interpreter A program that inputs a program in a high-level language and directs the computer to perform the actions specified in each state- ment 8.1 Translation Process 227 Figure 8.1 Compilation process Program in a high-level language Program in machine code Compiler Output Input program, which then had to be run through an assembler to finally get the machine-language program to execute. As computer scientists began to have a deeper understanding of the translation process, compilers became more sophisticated and the assembly-language phase was often eliminated. See Figure 8.1. A program written in a high-level language can be run on any computer that has an appropriate compiler for the language. Note that a compiler is a program; therefore, there must be a machine-code version of the compiler for a particular machine in order to be able to compile a program. Thus, to be able to be used on multiple types of machines, each high-level language must have many compilers for that language. Interpreters
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online