Professional Documents
Culture Documents
1.1 Introduction
1.1 Introduction
1.1 Introduction
Contents
q Introduction
q Compiler vs Interpreter
Why Compiler
• Writing machine language-numeric codes is time consuming
and tedious
• The assembly language has a number of defects
• Not easy to write
• Difficult to read and understand
Language Processing System
Compilers and Interpreters
• “Compilation”
• Translation of a program written in a source language into a semantically
equivalent program written in a target language
Input
Source Target
Compiler
Program Program
Source
Program
Interpreter Output
Input
Error messages
Thank
You