Compiler Construction - Spring 2008
Instructor :
Ahmed Khademzadeh
Class URL:
http://khademzadeh.mshdiau.ac.ir/teaching/cc/cc8602.html
Textbook :
Ahmed Khademzadeh
Class URL:
http://khademzadeh.mshdiau.ac.ir/teaching/cc/cc8602.html
Textbook :
|
Compilers: Principles, Techniques, and Tools, 2/E Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman Publisher: Addison-Wesley, 2007 ISBN-10:0321486811 ISBN-13:9780321486813 |
Schedule :
Announcements:
Azad University
- I will be available in my office on Monday, June. 16, 2008 (27 Khordad 1387) from 15:30 to answer your questionsImam Reza University
Exams & Grades
Grading
Homeworks and programming assignments: 25%
Midterm exam: 30%
Final exam: 40%
Class participation: 5%
Midterm exam: 30%
Final exam: 40%
Class participation: 5%
Previous Exams
Fall 2005 - Midterm (First semester of 84-85)
Fall 2005 - Final (First semester of 84-85)
Spring 2005 - Midterm (2nd semester of 84-85)
Spring 2005 - Final (2nd semester of 84-85)
Fall 2006 - Midterm (First semester of 85-86)
Fall 2006 - Final (First semester of 85-86)
Spring 2006 - Midterm (2nd semester of 85-86)
Spring 2006 - Final (2nd semester of 85-86)
Fall 2007 - Midterm (First semester of 86-87)
Fall 2007 - Final (First semester of 86-87)
Fall 2005 - Final (First semester of 84-85)
Spring 2005 - Midterm (2nd semester of 84-85)
Spring 2005 - Final (2nd semester of 84-85)
Fall 2006 - Midterm (First semester of 85-86)
Fall 2006 - Final (First semester of 85-86)
Spring 2006 - Midterm (2nd semester of 85-86)
Spring 2006 - Final (2nd semester of 85-86)
Fall 2007 - Midterm (First semester of 86-87)
Fall 2007 - Final (First semester of 86-87)
Lecture Slides
2- Lexical Analyser (With white background for printing)
3- Syntax Analyser - Top Down Parsing (Black & white Version)
4- Syntax Analyser - Bottom up Parsing (1) (Black & white Version)
5- Syntax Analyser - Bottom up Parsing (2) (Black & white Version)
6- Syntax Analyser - Bottom up Parsing (3) (Black & white Version)
7- Syntax Analyser - Bottom up Parsing (4) (Black & white Version)
8- Semantic Analysis and Intermediate Code Gen (1) (B&W Ver)
9- Semantic Analysis and Intermediate Code Gen (2) (B&W Ver)
Homeworks
Some useful Links
-
Java bytecode http://www-128.ibm.com/developerworks/ibm/library/it-haggar_bytecode/
- Microsoft Intermediate Language (MSIL) Tutorial http://www.codeguru.com/Csharp/.NET/net_general/il/article.php/c4635
- ModernCompiler Implementation in Java
by Andrew W. Appel - A compiler textbook describes all phases of a modern compilers including lexical analysis, syntax analysis, semantic actions, intermediate representations, instruction selection, dataflow analysis, graph-coloring register allocation, and runtime systems. - LALR Parser Genertaor for Java - JFlex, CUP
- JACC: just another compiler compiler for Java!
http://web.cecs.pdx.edu/~mpj/jacc/index.html - Demonstration of Parsing Algorithms (Animated)