Professional Documents
Culture Documents
Semester/Branch/Section
: V / CSE / A, B
Credits
: 3
Prerequisites
Course Goal
Provide the foundation for understanding the theory and pracitce of compilers. Learn
programming language translation and compiler design concepts; language recognition,
symbol table management, semantic analysis and code generation.
Course Objectives
Learning Outcomes
Providing the student with skills and knowledge (such as lexical analysis and parsing)
which are applicable to a broad range of computer science application areas (such as text
editors, information retrieval, etc...).
Author / Publisher(s) /
Year
Compilers principles,
techniques and tools
Compiler Design in C
Crafting a compiler
with C
Introduction to
Compiler Techniques
http://www.aue.auc.dk/~akbar/2007/compl
Compiler Construction: Kenneth C. Louden/
ierconst07.html
Principles and Practice Thompson Learning/ 2003.
REFERENCE BOOK(S)
TEXTBOOK
Sno
Companion Websites
http://dragonbook.stanford.edu/
www.holub.com/software/compiler.design.
in.c.docs.pdf
http://163.21.82.150/compiler/
http://www.macs.hw.ac.uk/~gabbay/teachi
ng/2007-f23pf2/index.html
-------
Course Title
Introduction to
Compiler Design
Compiler Design
Introduction to
Compilers
Name of the
University
University of
Pittsburgh
Web site
http://www.cs.pitt.edu/undergrad/courses/cs1622.php
Kent State
University
Cornell University
http://www.personal.kent.edu/
%7Ermuhamma/Compilers/compiler.html
http://www.cs.cornell.edu/courses/cs412/2002sp/sched
ule.html
Write State
University
Rice University
http://www.cs.wright.edu/people/faculty/tkprasad/cours
es/cs780/cs780.html
http://www.owlnet.rice.edu/%7Ecomp412/
Rutgers University
http://www.cs.rutgers.edu/%7Eryder/415/lectures/
Compilers
Stanford University
http://www.stanford.edu/class/cs143/
Compilers
University of Texas
http://www.cs.utexas.edu/users/novak/cs375contents.html
Web Resources
S.No
Topic Name
Website
http://www.linuxgazette.com/issue39/sevenich.html
http://www.softpanorama.org/Algorithms/compilers.shtml
3
4
www.flint.cs.yale.edu
http://www.cs.nmsu.edu/~jeffery/courses/unlv/478/lecture.ht
LL(1)
ml
http://ag-kastens.uni-paderborn.de /lehre /material /compi
6
7
8
9
10
11
12
13
14
15
16
/aufgaben/blatt3/Blatt3.html
www.pdclab.cs.ucdavis.edu
http://www.cs.umd.edu/class/spr98/c msc430/slides
www.cs.gmu.edu
www.csee.umbc.edu
www.ambda.uta.edu
www.userpages.umbc.edu
www.cs.waikato.ac.nz
www.cwi.nl/~jurgenv/publications/slides/cc2002.ppt
www.wikipedia.org
www.idt.mdh.se/kurser/cd5110/ht01/t1_02 s.html
www.hardcoreprocessing.com/articles/presentations/
tiliaoc /TheDocument.html
www.met.ed.ac.uk/~hcp/wrk/idlcourse/notes/node16.html
www.isr.uci.edu/projects/archstudio/symboltable.html
www.sei.cmu.edu/str/descriptions/rpc.html
www.dcs.warwick.ac.uk
websrv.cs.fsu.edu
www.uni-koeln.de
cs.wwc.edu
17
18
19
20
21
22
23
Lesson Plan
S.No
Topic Name
Reference Book
No. of
Periods
Cumulative No.
of Periods
Introduction to compiler-The
structure of compiler
Lexical analysis-The Role of
Lexical analyzer
Input Buffering
Specification of tokens
Recognition of tokens
Lexical analyzer generator
T1(4-12)
T1(109-114)
T1(115-116)
T1(116-128)
T1(128-140)
T1(140-146)
1
2
2
1
4
6
8
9
T1(147-152)
T1(152-166)
T1(173-187)
T1(192-196)
T1(197-208)
T1(209-216)
T1(217 220)
1
2
2
1
1
1
10
12
14
15
16
17
18
T1(226-228)
19
20
21
23
25
26
28
1
1
29
30
31
1
1
32
33
Finite Automata
Regular expressions to an NFA
Optimization of DFA
The Role of parser
Context free grammars
Writing a Grammar
Top Down parsing -Recursive
Descent Parsing
Predictive parsing
Bottom up parsing-Shift reduce
parsing
Operator Precedence parsing
T1(233-238)
Course material
26.
27.
28.
T1(525-531)
T1(542-547)
1
1
34
35
T1(533 540)
36
Introduction Principal
Sources of Optimization
Peephole optimization
Optimization of basic Blocks
Loops in Flow Graphs
Run time environments-Storage
organization
Stack allocation of space
Access to non local data on the
stack
T1(584 596)
38
T1(549-552)
T1(533 540)
T1(655-667)
T1(427-429)
1
1
2
39
40
42
43
T1(430-438)
T1(441-449)
45
47
Exam
Sessional I
Sessional - II
End Exam
Related Magazine:
o Software
o IT Professional
o IEEE
Topic No
1 - 23
24 - 33
1 - 39
Prepared By
Course Coordinator
(S.Sankara Narayanan)
Verified By
HOD/CSE
(Dr.D.Devaraj)