compiler Lec09-13

Lecture 9
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 41
Semantic Analysis
The semantic analysis phase of compiler connects variable
definition to their uses ,and checks that each expression has a
correct type.

compiler Lec08

Lecture 7
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 32
Bottom-Up Parsing
The term "Bottom-Up Parsing" refer to the order in which
nodes in the parse tree are constructed, construction starts at the

compiler Lec07

Lecture 7
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 32
Bottom-Up Parsing
The term "Bottom-Up Parsing" refer to the order in which
nodes in the parse tree are constructed, construction starts at the

compiler Lec06

Lecture 6
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 26
Top-Down Parsing :-
Top-down parsing can be viewed as an attempt to
find a leftmost derivation for an input string. Equivalently, A top

compiler Lec05

Lecture 5
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 20
Syntactic Analyzer ( Parser )
Every programming language has rules that prescribe the
syntactic structure of well formed programs. The syntax of

compiler Lec04

Lecture 4
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 16
Symbol Table ( ST )
A symbol table is a data structure containing a record for
each identifier, with fields for attributes of the identifier.The

compiler Lec03

Lecture 3
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 12
Lexical Analyzer
The analysis of source program during compilation is often
complex . The construction of compiler can often be made easier

compiler Lec02

Lecture 2
Compilers
Principle ,Techniques, and Tools
With My Best Wishes 4
Compilation concepts
What is compiler?
A compiler is a program that translates a computer
program(source program) written in H.L.L (such as Pascal,C++)