3.1 Statement of Problem:
Recognizing
Basic Elements
Recognizing
Syntactic Units and Interpreting Meaning
Intermediate
form
Arithmetic
statements
Non-Arithmetic
statements
Non-executable
statements
Storage
Allocation
Code Generation
Optimization
(Machine-independent)
Optimization
(Machine Dependent)
Assembly
Phase
General
Model of the Compiler
3.2 Phases of the Compiler:
Lexical
Phase
Syntax
Phase
Interpretation
Phase
Optimization
Storage
Assignment
Code
Generation
Assembly
Phase
Passes
of the Compiler.
3.3 Data structures:
Introduction
Implementation
Recursion
Call
& Return Statements
Storage
Classes- Static, Automatic, External Control & Based Storage.
Implementation-
Block structure, Non-local Go To’s, Interrupts, Pointers.
3.4 Interpreters:
Use
& Overview
Pure
& Impure Interpreters