CourseFile CE0702 Compiler Design
CourseFile CE0702 Compiler Design
Students will be contacted throughout the Session via Mail with important information
relating to this Course.
Course Objectives
By participating in and understanding all facets of this Course a student will:
Course Outline
Lexical Analyzer, Parsing, Error-recovery, Intermediate code generation, Code
optimization and generation
Method of delivery
1. Chalk & Talk
2. PPT presentation
Study time
Lecture: 3 hours per week
Reading Time :5 Hours
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3 - 1 - - - - - - - - 3
CO2 - - 3 2 3 - - - - - - 3
CO3 - 3 3 - - - - - - - - 1
CO4 3 3 - - - - - - - - - 3
CO5 3 - - 2 - - - - - - - 3
CO6 3 - 1 - - - - - - - - 1
Lecture/tutorial times
The University norms states that it is the responsibility of students to attend all lectures,
tutorials, seminars and practical work as stipulated in the Course outline. Minimum
attendance requirement as per university norms is compulsory for being eligible for mid and
end semester examinations.
Text books
1. Compilers: Principles, Techniques and Tools ByAho, Lam, Sethi, and Ullman,
Pearson Second Edition, 2014, ISBN-13: 978-0321486813
Reference Books:
1. Compiler Design in C By Allen I. Holub, Prentice-Hall/Pearson.,1990, ISBN:0-13-
1550454
2. Advanced Compiler Design and Implementation, Morgan Kaufmann Publishers Inc.
San Francisco, CA, USA,1998, ISBN:1-55860-320-4
Additional Materials
https://youtu.be/yxnbvS2t_QA
• http://nptel.ac.in/courses/106108113
• https://youtu.be/1qOMlqE6LhU
• https://youtu.be/EpAzj7zXrbk
ASSESSMENT GUIDELINES
Your final course mark will be calculated from the following:
Students who receive an overall mark less than 40% in mid semester or end semester will
be considered for supplementary assessment in the respective components (i.e mid
semester or end semester) of semester concerned. Students must make themselves
available during the supplementary examination period to take up the respective
components (mid semester or end semester) and need to obtain the required minimum 40%
marks to clear the concerned components.
Late Work
Late assignments will not be accepted without supporting documentation. Late submission
of the reports will result in a deduction of -% of the maximum mark per calendar day
Format
All assignments must be presented in a neat, legible format with all information sources
correctly referenced. Assignment material handed in throughout the session that is
not neat and legible will not be marked and will be returned to the student.
Plagiarism - Plagiarism is not acceptable and may result in the imposition of severe
penalties. Plagiarism is the use of another person’s work, or idea, as if it is his or her own
- if you have any doubts at all on what constitutes plagiarism, please consult your Course
coordinator or lecturer. Plagiarism will be penalized severely.
Teaching
Week # Topic & contents CO Addressed Learning
Activity (TLA)
Overview of the Translation Process,
A Simple Compiler, Difference
between interpreter, assembler and
Weeks 1 compiler. Overview and use of linker Chalk & Board
CO1, CO2
and loader, types of Compiler,
Analysis of the Source Program, The
Phases of a Compiler
Cousins of the Compiler, The
Grouping of Phases, Lexical Analysis,
Hard Coding and Automatic
Weeks 2 CO2 Chalk & Board
Generation Lexical Analyzers, Front-
end and Back-end of compiler, pass
structure
Introduction to Lexical Analyzer, Input
Week 3 Buffering, Specification of Tokens, CO2 Chalk & Board
Recognition of Tokens
A Language for Specifying Lexical
Analyzers, Finite Automata From a
Week 4 Regular Expression, Design of a CO2 Chalk & Board
Lexical Analyzer Generator,
Optimization of DFA
Top Down and Bottom up Parsing
Algorithms, Top-Down Parsing,
Week 5 CO2 Chalk & Board
Bottom-Up Parsing, Operator-
Precedence Parsing