Course Plan CD
Course Plan CD
Coordinator : Mr. Abhishek Tiwari Pre-Requisite BASIC KNOWLEDGE DSTL & TAFL
Course Objectives:
1. Provide an understanding of the fundamental principles in compiler design
2. Provide the skills needed for building compilers for various situations that one may encounter in a career in Computer Science.
3. Learn the process of translating a modern high-level language to executable code required for compiler construction.
4. To represent the target code in any one of the code formats
5. To understand the machine dependent code
6. To draw the flow graph for the intermediate codes.
7. To apply the optimization techniques to have a better code for code generation
Course Outcomes:
1. To realize basics of compiler design and apply for real time applications.
2. To introduce different translation languages.
3. To understand the importance of code optimization.
4. To know about compiler generation tools and techniques.
5. To learn working of compiler and non-compiler applications.
6. Design a compiler for a simple programming language.
Unit I
Text Books:
Introduction to Compiler 1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
Target Lecture Hours :16 4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
5. V Raghvan, “ Principles of Compiler Design”, McGraw-Hill,
6. Kenneth Louden,” Compiler Construction”, Cengage Learning.
Target Tutorial Hours : 02
7. Charles Fischer and Ricard LeBlanc,” Crafting a Compiler with C”, Pearson Education
Sl. Period Ref. Book/ Page Actual Date of
Date Topics to be Covered Mode of Teaching Remark
No. Reqd. No. Completion
01 17.08.2022 1 Introduction to Subject & discuss Syllabus 1 Marker & talk
02 18.08.2022 1 translators 1 Marker & talk
03 19.08.2022 1 Phases and passes 1 Marker & talk
04 20.08.2022 1 Bootstrapping 1 Marker & talk
Finite state machines and regular expressions Marker & talk
05 22.08.2022 1 1
and their applications to lexical analysis
Optimization of DFA-Based Pattern Matchers Marker & talk
06 23.08.2022 1 1
implementation of lexical analyzers
07 24.08.2022 1 lexical-analyzer generator 1 Marker & talk
08 25.08.2022 1 LEX compiler 1 Marker & talk
Formal grammars and their application to Marker & talk
09 26.08.2022 1 syntax analysis 1
Unit II
Basic Parsing Techniques Text Books:
1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
Target Lecture Hours :14 2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
Target Tutorial Hours : 02 5. V Raghvan, “ Principles of Compiler Design”, McGraw-Hill,
Unit III
Text Books:
Syntax-directed Translation 1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
Target Lecture Hours :14
4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
5. V Raghvan, “ Principles of Compiler Design”, McGraw-Hill,
Target Tutorial Hours : 02
09 01.10.2022 1 statements that alter the flow of control 1 Marker & talk
Unit IV
Text Books:
Symbol Tables 1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
Target Lecture Hours :10 3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
Target Tutorial Hours : 02
Sl. Period Ref. Book/ Page Actual Date of
Date Topics to be Covered Mode of Teaching Remark
No. Reqd. No. Completion
01 14.10.2022 2 Data structure for symbols tables 1 Marker & talk
02 17.10.2022 1 representing scope information 1 Marker & talk
Run-Time Administration: Marker & talk
03 18.10.2022 1 Implementation of simple stack allocation 1
scheme
storage allocation in block structured Marker & talk
04 19.10.2022 2 1
language
05 21.10.2022 1 Error Detection & Recovery 1 Marker & talk
Unit V
Text Books:
Code Generation 1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
Target Lecture Hours :15 3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
Target Tutorial Hours : 02
Text Books:
1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. K. Muneeswaran, Compiler Design, First Edition, Oxford University Press
3. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
4. Henk Alblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
Reference Books:
1. Aho, Sethi & Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
2. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, McGraw-Hill, 2003.
PRINCIPAL