CDAP of Compiler Design
CDAP of Compiler Design
PO12. Life-long learning: Recognize the need for and have the
preparation and ability to engage in independent and life-long
learning in the broadest context of technological change.
Program Specific PSO1: Able to understand the concepts of Computer Science
Outcomes (PSOs) and engineering and their applications in the field of Computer
Science/IT/programming, communication/ networking and
other relevant areas.
Course Outcomes
CO Description BT Level
Explain the concepts and different phases of
1 BTL - 3
compilation with compile time error handling.
Design lexical analyzer for a language and
2 represent language tokens using regular BTL - 3
expressions, context free grammar.
Compare top down with bottom-upparsers and develop
3 appropriate parser to produce parse tree representation BTL - 3
of the input.
Design syntax directed translation schemes for a given
4 context free grammar.
BTL - 3
Apply optimization techniques to intermediate code and
5 generate machine code for high level language BTL - 3
program.
CO-PO-PSO Mapping
1 CO-1 3 3 3 - 3 - - - - - 2 3 3 3 3
2 CO-2 3 3 3 2 3 - - - - - 2 3 3 3 3
3 CO-3 2 3 3 2 3 - - - - - 2 3 2 3 3
4 CO-4 2 3 3 2 3 - - - - - 2 3 2 3 3
5 CO-5 3 3 3 2 3 - - - - - 2 3 3 3 3
2 Grouping of
Phases,
Compiler Classroom
Writing Tools, Understan
/ White
Bootstrapping, Understan d the
I The role of
T1, R1
concept
Board /
d
Lexical and apply Presentatio
Analyzer, n
Input
Buffering
3 Specifications Online –
of Tokens Teams –
Understan
using Regular
Understan d the White
I Expressions, T1, R1
concept
Recognition of d Board /
and apply Presentatio
Tokens,
Symbol Table n
4 Role of
Syntax Online –
Analyzer, Understan Teams –
Syntax Error Understan d the White
II T1, R1
concept
Handling, d Board /
Review of and apply Presentatio
Context-Free n
Grammars
5 Parse Trees
Online –
&
Understan Teams –
Derivation,
Understan d the White
II Eliminating T1, R1
concept
d Board /
Ambiguity, and apply Presentatio
Basic Parsing
n
Approaches
6 II Eliminating Understan T1, R1 Understan Online –
Left
Recursion,
Left Factoring, Teams –
Top Down d the White
Parsing, d concept Board /
and apply Presentatio
Recursive
Descent n
Parsing
7 Predictive
Parsing,
LL(1)
Grammars,
Bottom Up Online –
Parsing, Understan Teams –
Handle Understan d the White
II T2, R1
concept
Pruning, Shift d Board /
Reduce and apply Presentatio
Parsing, n
Operator
Precedence
Parsing, LR
Parsers
8 Online –
SLR Parsing Understan Teams –
Table, Understan d the White
III T2, R1
concept
Canonical LR d Board /
Parsing Table and apply Presentatio
n
9 LALR Parsing Online –
Tables, Parser Understan Teams –
Generators, Understan d the White
III T2, R1
concept
Syntax d Board /
Directed and apply Presentatio
definitions n
10 S-attributed
definitions, L- Online –
attributed Understan Teams –
definitions, d the White
IV Apply T2, R1
concept
Bottom-up Board /
evaluation of and apply Presentatio
S-attributed n
definitions
11 Intermediate
Code Online –
Generation, Understan Teams –
Intermediate d the White
IV Languages, Apply T2, R1
concept Board /
Graphical and apply Presentatio
Representatio n
n
12 IV Three Apply T2, R1 Understan Online –
Address d the Teams –
Code, concept White
and apply
Quadruples, Board /
Triple, Type Presentatio
Checking n
13 Run Time
Environments-
Source
Language
Issues, Online –
Storage Understan Teams –
Organization, Understan d the White
IV T2, R1
concept
Storage d Board /
Allocation and apply Presentatio
Strategies, n
Introduction
to Garbage
Collection
14 Code
Optimization-
Principal
Sources of Online –
Optimization, Teams –
Understan
Machine
Understan d the White
V Dependent and T2, R1
concept
Machine d Board /
and apply Presentatio
Independent
Optimization, n
Local and
Global
Optimizations
15 Code
Generations-
Issues in the Online –
design of Understan Teams –
Code Understan d the White
V Generation,
T2, R1
concept
d Board /
Target and apply Presentatio
Language, A n
Simple Code
Generator
Text Books:
1. Alfred V. Aho, Monica S.Lam, Ravi Sethi, Jeffrey D.Ullman, “Compilers: Principles,
Techniques and Tools”, Second Edition, Pearson Education, 2023, ISBN-13 : 978-
9357054119
2. Andrew W. Appel. Modern Compiler Implementation in C. Cambridge University Press. 1991
ISBN-13 : 978-8175960718
3. Andrew W. Appel. Modern Compiler Implementation in JAVA. Cambridge University
Press. 2nd Edition 2002 ISBN-13 : 978-0521820608
4. V Raghvan, Principles of Compiler Design, TMH
5. Charles Fischer and Ricard LeBlanc, Crafting a Compiler with C, Pearson Education
Reference Books
1. Kenneth C. Louden, Compiler Construction – Principles and Practice, Cengage
Learning Indian Edition, 2006.
2. Allen I. Hollub, “Compiler Design in C”, PHI Learning, 2023 ASIN : B0C9CBP87G
3. K Muneeswaran, Compiler Design, Oxford University Press
4. Tremblay and Sorenson, The Theory and Practice of Compiler Writing, TMH, 1984
5. D M Dhamdhare, System Programming and Operating Systems, Tata McGraw Hill &
Company
6. Shriram Krishnamurthi (Editor), Martin Odersky (Editor) COMPILER
CONSTRUCTION: 16TH INTERNATIONAL CONFERENCE, CC 2007, HELD AS
PART OF THE JOINT EUROPEAN CONFERENCES ON THEORY AND PRACTICE
OF SOFTWARE, ... 4420 (Lecture Notes in Computer Science) Paperback – 8 March
2007
MOOC:
1.NPTEL course linked with credit transfer:
https://nptel.ac.in/courses/106/105/106105190/
CP(Class Criteria
Participation)
Grade Exemplary Proficient Partially Need
proficient improvement
Marks 5 4 3 2
Level of engagement The student listens The student The student The student listens
in class and proactively listens and listens and but never
contributes to class proactively contributes to contributes to class
by sharing ideas or contributes to class by sharing by sharing ideas or
clearing doubts class by ideas or clearing clearing doubts
many times in sharing ideas doubts rarely
every session or clearing
doubts at least
once in every
session
Preparation The student is The student is The student is The student is
always prepared usually rarely prepared partially prepared
with given reading prepared with with given with given reading
materials and given reading reading materials materials and
completed home materials and and completed completed home
works completed home works works
home works
Project The student who The student The student who The student who
completes mini who completes completes mini completes partially
project mini project project and trying to do
implementing a implementing a implementing a their level best
solution to a data medium basic data mining
mining problem complexity algorithm
and analyzing the data mining
data algorithm
Problem Solving Actively seeks and Improves Does not come up Does not try to
suggests solutions solutions based with solutions but solve problems or
to problems on suggestions tries out solutions help others to solve
by peer suggested by problems
others
Date:
04.12.24
DETAILS OF GOODS/ SERVICES REQUIRED
Indent No: 2024-2025/CSE-IT/EVENSEM/PILIB/
Expect
Approx. Approx
ed
Edition/ Unit Cost Total
Title Author(S) Publisher ISBN No. Qty Purpose Delive
Year (Rs) Cost (Rs)
ry
Date
This is a
Text Book
ISBN-13 : for B.Tech.
Cambridge 2nd 978-
Modern Compiler Andrew W (CSE) VIth Rs. Rs.
University Edition 0521820608 5
Implementation in JAVA Apple Semester 2472/- 12360/-
Press 2002
course on
Compiler
Design
This is a
ISBN-13 : Text Book
978- for B.Tech.
Cambridge 8175960718 Rs.3830
Modern Compiler Andrew W (CSE) VIth Rs.
University 1999 5 /-
Implementation in C Apple Semester 766/-
Press
course on
Compiler
Design
This is a
ISBN-13 : Text Book
Aho A., Ravi 978- for B.Tech.
Compilers: Principle Sethi and D 935705411 (CSE) VIth Rs. Rs.2225
Pearson 2023 5
Techniques & Tools Ullman, Lam 9 Semester 445/- /-
Monica S course on
Compiler
Design
This is a
Reference
ASIN : Book for
B0C9CBP87 B.Tech.
PHI 2023 G 5 (CSE) VIth Rs. Rs.5975
Compiler Design in C Allen I. Hollub
Semester 1195/- /-
course on
Compiler
Design