Professional Documents
Culture Documents
Unit 0
Unit 0
CHAPTER 0
COURSE OBJECTIVES:
Upon completion of this course, students will have gained knowledge of
compiler design and construction concepts and to:
Introduce the major concept areas of language translation and compiler
design.
Understand the phases of the compilation process and be able to describe
the purpose and implementation approach of each phase.
Know how to use compiler construction tools, such as generators of
scanners and parsers
Be able to define LL(1), LR(1), and SLR(1) grammars with parsing
CON’T
2
Texts Books:
T1: Alfred Aho, Ravi Sethi, V.Jeffery Ullman D. “COMPILERS
PRINCIPLES, TECHINQUES AND TOOLS “, Addison- Wesley, 1988.
Compilers: Principles, techniques and tools by Alfred V. Aho, Ravi
Sethi, Jeffrey D. Ullman
Reference Books:
Allen Holub l. “Compiler Design in C”, Prentice Hall of India. 1990
Charles N.Fischer Richard J.Leblanc, “Crafting a compiler with C”,
Benjamin Cummings,1991
Compiler construction : Principles and practice; Kenneth C.Louden
Summary of Teaching Learning Methods:
6
Plagiarism will cause not only automatic course dismissal but also
academic discipline based on the rules and regulations of the
university.
If someone is caught while cheating during final examination, his/her
grade will automatically be ‘F’.
However, other assessments are evaluated as ‘0’. If someone misses
any assessments with a valid justification, he/she has a right to sit for
makeup exam.
Course outline
10
1. Introduction Construction and simulation of NFA and DFA
Analysis and synthesis in a compilation Conversion from RE – NFA –DFA
Various phases in a compilation Lex scanner generator
Grouping of phases 3. Syntax analysis and Yacc
Major data and structures in a compiler Role of a parser
Compiler construction tools Context Free Grammar
2. Lexical analysis and Lex Derivation, parse tree, ambiguity, left recursion,
Instruction selection
5. Type checking
Type systems Register allocation
?
12 Thank You