Compiler Design Overview




Compiler Design Overview

 Language Processing System

Compiler Design Overview

Preprocessor

 Preprocessor

Preprocessor

  • They may perform the below functions.
 Preprocessor Functions

Preprocessor Functions

Compiler

  • Compiler is a translator program that translates a program written in (High Level Language) the source program and translates it into an equivalent program in (Machine Level Language) the target program.
  • As an important part of a compiler is error showing to the programmer.
Machine code

Machine Code

 Compiler

Compiler

Read Also

List of Compiler

 List of Compilers

List of Compilers

Assembler

  • Programs known as assembler were written to automate the translation of assembly language into machine language.
  • The input to an assembler program is called source program, the output is a machine language translation.
 Assembler

Assembler

Interpreter

  • An Interpreter is a program that appears to execute a source program as if it were machine language.
 Interpreter

Interpreter

  • Languages such as BASIC, SNOBOL, LISP can be translated using interpreters. JAVA also uses interpreter.

Loader and Link Editor

  • A loader is a program that places programs into memory and prepares them for execution. The loader determines and allocates the required memory space for the program to execute properly.
 Loader and Link Editor

Loader and Link Editor

Translator

  • A translator is a program that takes as input a program written in one language and produces as output a program in another language. Beside program translation, the translator performs another very important role, the error-detection.
  • Any violation of the High level language specification would be detected and reported to the programmers.
translator

Translator



Related Searches to Compiler Design Overview