Spring 2025
Spring 2025
Welcome to CSE322 Compiler! 🐉 Can you imagine programming without a compiler? No way. This implies the importance of compilers in computer engineering. This course will teach you the basic concepts of compilers from front-end compilation to back-end compilation. Additionally, you will have a chance to implement a tiny compiler in this course.
Time & Location
Tuesday 10:30-11:45 @ College of Electronics Information and Applied Science B06
Thursday 10:30 -11:45 @ College of Electronics Information and Applied Science B06
Objectives
Learn how compilers translate a program
Understand the role of compilers
Know the basic algorithms used in modern compilers
Structure
This course consists of three parts:
Lecture will be given by the instructor, covering the core concepts of compilers in depth.
Exercise will be conducted before midterm and final exams where sample questions are shared and discussed with students.
Assignment will be released at the end of a corresponding part where students will be asked to complete a given code. The details of each assignment will be given at the time of its release.
Assignment 0. Your First Functional Programming 🏁
Deadline: March 25, 2025
Instructions
Download as0.zip on e-campus
Read the handout and complete the tasks
Submit your as0.zip on e-campus
Please do "dune clean" before you zip the folder!
Assignment 1. Lexical Analysis ✂️
Deadline: April 15, 2025
Instructions
Download as1.zip on e-campus
Read the handout and complete the tasks
Submit your as1.zip on e-campus
Please do "dune clean" before you zip the folder!
Assignment 2. Syntax Analysis 📜
Assignment 3. Type Checking
The grade will be given according to the following grading percentages.
Midterm Exam 35%
Date: April 24, 2025 from 10:30 - 11:45
Format: Written exam, open book
Coverage: Chapter 1. Introduction - Chapter 6. Activation Records
Final Exam 35%
Assignment 20%
Attendance 10%
Gaeun Ko, COS Lab, Contact 📧
Andrew W. Appel and Maia Ginsburg: Modern Compiler Implementation in ML. Cambridge University Press. 2004.