SYSU-DCS290/292: 编译原理与实验,Spring 2022

> Instructor

- 张献伟 (zhangxw79[AT]mail.sysu.edu.cn)
- Office Hours: Thu 16:30 - 18:10 (实验中心 D402)

> Teaching Assistants

- 邓志涛 (dengzht6[AT]mail2.sysu.edu.cn)
- 吴坎 (wukan3[AT]mail2.sysu.edu.cn)
- 王永康 ([AT]mail2.sysu.edu.cn)
- 刘皓铧 ([AT]mail2.sysu.edu.cn)

> Lecture

- Time: Tue 14:20 - 16:00 (wk2-9), Thu 14:20 - 16:00 (wk1-19)
- Location: 教学大楼 C203

> Lab

- Time: Thu 16:30 - 18:10 (wk1-19)
- Location: 实验中心 D402

> Miscellaneous

- QQ Group: 687 642 753
- Lab Projects: https://github.com/arcsysu/SYsU-lang
- HW/Proj Submission: https://easyhpc.net/course/144

> Schedule

Week/Date Topic Note
wk1: Feb 17 Overview Lab: basics
wk2: Feb 22 Lexical Analysis: Intro, RegEx
wk2: Feb 24 Lexical Analysis: NFA, DFA (1) Lab: lex (proj1 release)
wk3: Mar 1 Lexical Analysis: NFA, DFA (2) HW1
wk3: Mar 3 Lexical Analysis: NFA, DFA (3), Parser Lab
wk4: Mar 8 Syntax Analysis: CFG
wk4: Mar 10 Syntax Analysis: CFG, Top-down (1) [ppt] Lab: yacc (proj2 release)
wk5: Mar 15 Syntax Analysis: Top-down (2) [ppt] (HW1 due)
wk5: Mar 17 Syntax Analysis: Top-down (3), Bottom-up (1) [ppt] Lab (proj1 due)
wk6: Mar 22 Syntax Analysis: Bottom-up (2) [ppt]
wk6: Mar 24 Syntax Analysis: LR(0) [ppt] Lab
wk7: Mar 29 Syntax: SLR, LR [ppt] HW2
wk7: Mar 31 Syntax: LALR, Semantic Analysis: Intro [ppt] Lab: proj2 [ppt]
(parser.y, test.sysu.c)
wk8: Apr 5 NO CLASS HOLIDAY
wk8: Apr 7 Semantic Analysis: Syntax Directed Trans. Lab
wk9: Apr 12 Semantic Analysis: SDD, SDT [ppt] (HW2 due)
wk9: Apr 14 Semantic Analysis: SDT, Symbol Table [ppt] Lab (proj3 release) / HW3
wk10: Apr 19/21 NO CLASS MIDTERM
wk11: Apr 28 Semantic Analysis: Symbol Table, Type Checking [ppt] Lab: proj3 [ppt]
(proj2 due) / (HW3 due)
wk12: May 5 Intermediate Code: IR (1) Lab ( HW4 )
wk13: May 12 Intermediate Code: Generation (2) [ppt] Lab: proj3 guide
proj1&2 summary
wk14: May 19 Intermediate Code: Generation (3), Code Opt (1) [ppt] Lab (proj4 release)
(HW4 due)
wk15: May 26 Code Optimization (2)[ppt] Lab: proj4 (proj3 due)
wk16: Jun 2 Target Code Generation (1) Lab
wk17: Jun 9 Target Code Generation (2) Lab( HW5 )
wk18: Jun 16 Target Code Generation (3), RollBin Lab
(HW5 due: 6/19)
wk19: Jun 23 Final Review, [prac], Compiler Golden Age Lab (proj4 due)
wk20: Jun 28 NO CLASS FINAL EXAM (14:30 - 16:30, C204)