CS 152: Compiler Design
Instructor: Professor Rajiv Gupta |
Office: WCH, Room 408
Office Hours: Available by appointment
TA: Mahbod Afarin
Office: WCH, Room 463
Office hours: Available by appointment
Class Homepage: http://www.cs.ucr.edu/~gupta/teaching/152-21summ/
- (Lectures) MW, 9:30am - 12:20pm
- (LAB) MW, 2:00pm - 4:50pm
- Lexical Analyzer (06/21/21 -- 06/28/21)
- Syntax Analyzer (06/28/21 -- 07/12/21)
- Code Generator (07/12/21 -- 07/21/21)
This course covers the fundamentals of compiler design, including lexical analysis, parsing, semantic analysis, compile-time memory organization, run-time memory organization, code generation, and compiler portability issues. Laboratory work involves a project and exercises covering various aspects of compilers. For detailed syllabus click here.
- Kenneth C. Louden. Compiler Construction: Principles and Practice. PWS Publishing Co., 1997.
- Aho, Lam, Sethi, and Ullman. Compilers: Principles, Techniques, and Tools, 2/E. Addison-Wesley Publishing Co.
- Cooper and Torczon. Engineering a Compiler. Second Edition. Morgan Kaufmann Publishers.
- Fischer and LeBlanc. Crafting A Compiler With C. Benjamin/Cummings Publishing Co.
- Project - 35% (Lex: 10%; Parser: 12%; CodeGen: 13%)
- Midterm - 30% (7/07/2021, 9:50am - 10:50am)
- Final - 35% (7/23/2021, 8:00am - 10:00am)
- You are responsible for all material covered in the lectures and labs.
- Cheating, fabrication, plagiarism, and unauthorized collaboration (or facilitating any of these) will result in severe penalties and sanctions.
- Examinations must be taken on the date they are given. There will be no exceptions unless you have a very good reason and have received permission well in advance of the date of the