Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
TO
COMPILER DESIGN
Manu Bansal
Assistant Professor
UIET,PU, CHD
mrmanubansal@gmail.com
OUTLINE
Scope
Programming Languages
Language Processors
Elements Used in Executable Target Program
The Analysis-Synthesis Model of Compilation
Applications of Compiler Technology
SCOPE
Aim:
Course Prerequisites:
System Software(IT534)
PROGRAMMING LANGUAGES
LANGUAGE PROCESSORS
A compiler is a program that can read a program in one
language (the source language) and translate it into an
equivalent program in another language (the target language).
An important role of the compiler is to report any errors in the
source program that it detects during the translation process.
Fig: A Compiler
Fig: Interpreter
Program Translations
While we normally think of compiling as a translation from a
high-level language to the machine level, the same technology
can be applied to translate between different kinds of languages.
The following are some of the important applications of programtranslation techniques.
1) Binary Translation
Compiler technology can be used to translate the binary
code for one machine to that of another, allowing a machine
to run programs originally compiled for another instruction
set.
Binary translation technology has been used by various
computer companies to increase the availability of software
for their machines.
THANKS