THE COMPILER Figure: 7.1 A diagram of the operation of at Ab compilerb is a computer program language (the source language) into another computer language (the original sequence is usually called the the output has a form suitable for processing by other programs (e.g., a human-readable text file. The most common reason for wanting to translate source code is to create an program. The name "compiler" is primarily used for programs that translate source code from a high-level programming language language. A program that translates from a low level language to a higher level one is a decompiler. A program that translates between high translator, source to source translator program that translates the form of expressions without a A compiler is likely to perform many or all of the following operations preprocessing, parsing, semantic analysis, A diagram of the operation of atypical multi-language, multi-target compiler. computer program (or set of programs) that translates text written in a ) into another computer language (the target language original sequence is usually called the source code and the output called object code the output has a form suitable for processing by other programs (e.g., a linker, but it maybe a The most common reason for wanting to translate source code is to create an executable program. The name "compiler" is primarily used for programs that translate source code from a level programming language to a lower level language (e.g., assembly language. A program that translates from a low level language to a higher level one is a . A program that translates between high-level languages is usually called a source to source translator, or language converter. A language rewriter program that translates the form of expressions without a change of language. A compiler is likely to perform many or all of the following operations lexical analysis, semantic analysis, code generation, and code optimization Page | 42 target compiler. or set of programs) that translates text written in a computer target language). The object code. Commonly ), but it maybe a executable program. The name "compiler" is primarily used for programs that translate source code from a assembly language or machine ). A program that translates from a low level language to a higher level one is ages is usually called a language rewriteris usually a lexical analysis, code optimization.