This is the course webpage for COMP130014.01 and COMP130014.01(H) Compiler Principles and Techniques for undergraduate students at Fudan University in Autumn 2024.
Classroom: HGX207 (1:30pm-4:10pm)
Date | Week | Topic | Materials |
---|---|---|---|
Sep 5 | 1 | 课程介绍 | slides, notes |
Sep 12 | 2 | 词法分析 | slides, notes |
Sep 19 | 3 | 上下文无关文法 | slides, notes |
Sep 26 | 4 | 自顶向下解析 | slides, notes |
Oct 3 | 5 | 国庆节假期 | |
Oct 10 | 6 | 自底向上解析 | slides, notes |
Oct 17 | 7 | 类型推导 | slides, notes |
Oct 24 | 8 | 线性IR | slides, notes |
Oct 31 | 9 | 静态单赋值 | slides, notes |
Nov 7 | 10 | 过程内优化 | slides, notes |
Nov 14 | 11 | 过程间优化 | slides, notes |
Nov 21 | 12 | 指令选择 | slides, notes |
Nov 28 | 13 | 寄存器分配 | slides, notes |
Dec 5 | 14 | 后端优化 | slides |
Dec 12 | 15 | 栈展开 | slides |
Dec 19 | 16 | 课程汇报 | |
Dec 25 | 17 | Open Book Exam |
Classroom: H逸夫楼302, 402 (4:20am-6:00am)
Teaching Assistant: 陈实立(Head TA)、王兆瀚、柏露、董方、张涵星、陈可
Date | Week | Topic | Materials | Responsible TA |
---|---|---|---|---|
Sep 5 | 1 | 通过LLVM了解编译器 | slides | 董方 |
Sep 12 | 2 | 实验一:语法解析 | slides, code | 陈实立 |
Sep 19 | 3 | 答疑 | 陈可 | |
Sep 26 | 4 | 答疑 | 陈实立 | |
Oct 3 | 5 | 假期停课 | ||
Oct 10 | 6 | 实验一验收 | - | 陈实立 |
Oct 17 | 7 | 实验二:类型推导 | slides, code | 董方 |
Oct 24 | 8 | 实验三: 线性IR | slides, code | 柏露 |
Oct 31 | 9 | 实验四:SSA | slides, code | 王兆瀚 |
Nov 7 | 10 | 实验二验收 | 董方 | |
Nov 14 | 11 | 实验三验收 | 柏露 | |
Nov 21 | 12 | 实验五:寄存器分配&实验六 | slides,code | 张涵星、陈可 |
Nov 28 | 13 | 实验四验收 | 王兆瀚 | |
Dec 5 | 14 | 答疑 | 张涵星 | |
Dec 12 | 15 | 答疑 | 张涵星 | |
Dec 19 | 16 | 实验五验收 | 张涵星 |
The specifications of the programming languages and intermidiate code employed in this course can be found here.