Back
CS 31003 Compilers
(Autumn Semester 2023)
Theory & Laboratory
Bivas Mitra, Pralay Mitra
Teaching Assistant
Salma Mandi salmamandi [AT] gmail.com
Arpan Dam ARPANDAM1 [AT] gmail.com
Dibya Kanti Haldar dibyohaldar72 [AT] gmail.com
Purnima Gautam purnimagautam94 [AT] gmail.com
Tarannum Ara tarannum.ara17 [AT] gmail.com
Deep Majumder deep.majumder2019 [AT] gmail.com
Nandita Sharma nandita.sharma9494 [AT] gmail.com
Debraj Das debrajdaspgadmission [AT] gmail.com
Athithya Prakash R athithyap01 [AT] gmail.com
Gubbala Sai Kishor g.chantikishore [AT] gmail.com
Arpit Das arpitdas38 [AT] gmail.com
Harsh Borse harshzf2 [AT] gmail.com
Notices
17.10.2023 Class Test 2 and Lab Quiz 2 have been scheduled on Oct 31, 17.00-20.00. Venue: Dept. of CSE.
16.10.2023 Lab Assignment 6 is up.
09.10.2023 Lab Assignment 5 is up.
29.08.2023 Class Test 1 and Lab Quiz 1 have been scheduled on Sep 5, 17.00-20.00. Venue: Dept. of CSE.
29.08.2023 Lab Assignment 4 is up.
18.08.2023 Lab Assignment 3 is up.
11.08.2023 Lab Assignment 2 is up.
4.08.2023 Lab Assignment 1 is up.
31.07.2023 First class: Aug 1, 2023, Tue. Venue: NC 442, Time: 12 noon. Students with ODD roll number should join this class (Section 1).
Theory
       Lectures
       Evaluation
       Study Materials
       Evaluation
       Assignments
Theory
General Information
Lectures : MON(8:00-10:00), TUE(12 noon-13:00)
Room # : NC442
Units : 3-0-2
Credits : 3 (Theory)
Contact : Room #322 (CSE), Phone 82358
Important!: Class attendance is mandatory! Any time your attendance falls below 85%, you have 100% chance of being de-registered irrespective of your class performance, CGPA etc!
Attendance Policy
If you are not present in the class (or do not respond), when I call by your name (may be randomly or sequentially....surprise!), you will lose 1.5 credit (instead of one) for the attendance for that week. If that happens twice in a week, you will be marked as absent for the entire week (i.e. you will lose all the three credits for attendance for that week).
Text Books (Theory and Lab):
[1] Aho, A. V., Sethi, R. and Ullman, J. D.
Compilers - Principles, Techniques and Tools
Addison-Wesley
[2] Advanced Compiler Design Implementation
Steven S. Muchnick
Elsevier, 2003
[3] Compiler Design in C, Allen Holub
[4] Modern compiler implementation in C by Appel
[5] System Software: An Introduction to Systems Programming
Leland L. Beck, Addison-Wesley.
[6] Systems Programming, John J. Donovan,
McGraw - Hill Education
Evaluation
Teacher's Assessment (Class Test I & II, Attendance) : 20
Mid-sem : 30
End-sem : 50
Lectures
Slides just contain very informal outlines of the topics; details will be discussed in the class.
1. Course Details
2. Compiler overview
3. Lexical Analysis
4. Syntax Analysis & Parser
5. Syntax-Directed Translation
6. Intermediate Code Generation
7. Target Code Generation & Optimization
8. Code Optimization
9. Data Flow Analysis
Laboratory (CS39003)
General Information
Lab venue and time : NR411, TUE (14.30-17.00)
Units : 3-0-2
Credits : 2 (Lab)
Evaluation
Regular Assignments: 40 (Individual weight of each assignment will be announced later)
Lab Tests: 40 (Two Lab Quizzes)
Lab Viva-voce: 20 (Continuous evaluation)
Study Materials
1. Understanding x86-64 Assembly
2. x86-64 Machine Programming
3. Using Assembly Language in Linux
4. Creating Library
5. Lex tutorial
6. Yacc tutorial
General Guidelines
-
Important!: Cheating and code plagiarism are strictly prohibited. If identified, you will be immediately de-registered from the Lab course.
Lab Assignments
1. 04.08.2023 - Assignment 1, C Code
2. 11.08.2023 - Assignment 2
3. 18.08.2023 - Assignment 3
4. 29.08.2023 - Assignment 4
5. 09.10.2023 - Assignment 5
6. 16.10.2023 - Assignment 6