Compiler Design detailed syllabus for Computer Science & Engineering (CSE) for 2021 regulation curriculum has been taken from the Anna University official website and presented for the CSE students. For course code, course name, number of credits for a course and other scheme related information, do visit full semester subjects post given below.
For Computer Science & Engineering 5th Sem scheme and its subjects, do visit CSE 5th Sem 2021 regulation scheme. The detailed syllabus of compiler design is as follows.
Course Objectives:
Download the iStudy App for all syllabus and other updates.
Unit I
INTRODUCTION TO COMPILERS & LEXICAL ANALYSIS 8 Introduction- Translators- Compilation and Interpretation- Language processors -The Phases of Compiler – Lexical Analysis – Role of Lexical Analyzer – Input Buffering – Specification of Tokens – Recognition of Tokens – Finite Automata – Regular Expressions to Automata NFA, DFA -Minimizing DFA – Language for Specifying Lexical Analyzers – Lex tool.
Unit II
Download the iStudy App for all syllabus and other updates.
Unit III
SYNTAX DIRECTED TRANSLATION & INTERMEDIATE CODE GENERATION 9 Syntax directed Definitions-Construction of Syntax Tree-Bottom-up Evaluation of S-Attribute Definitions- Design of predictive translator – Type Systems-Specification of a simple type CheckerEquivalence of Type Expressions-Type Conversions. Intermediate Languages: Syntax Tree, Three Address Code, Types and Declarations, Translation of Expressions, Type Checking, Back patching.
Unit IV
Download the iStudy App for all syllabus and other updates.
Unit V
CODE OPTIMIZATION 8 Principal Sources of Optimization – Peep-hole optimization – DAG- Optimization of Basic Blocks -Global Data Flow Analysis – Efficient Data Flow Algorithm – Recent trends in Compiler Design.
List of Experiments:
Download the iStudy App for all syllabus and other updates.
Course Outcomes:
On Completion of the course, the students should be able to:
- Understand the techniques in different phases of a compiler.
- Design a lexical analyser for a sample language and learn to use the LEX tool.
- Apply different parsing algorithms to develop a parser and learn to use YACC tool
- Understand semantics rules (SDT), intermediate code generation and run-time environment.
- Implement code generation and apply code optimization techniques.
Text Books:
- Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman, Compilers: Principles, Techniques and Tools, Second Edition, Pearson Education, 2009.
Reference Books:
Download the iStudy App for all syllabus and other updates.
For detailed syllabus of all other subjects of Computer Science & Engineering, 2021 regulation curriculum do visit CSE 5th Sem subject syllabuses for 2021 regulation.
For all Computer Science & Engineering results, visit Anna University CSE all semester results direct link.