Compiler: Spring 2004
徐讚昇
研究員
台北市南港區 11529
研究院路
二段一二八號
中央研究院資訊科學研究所
A24 號信箱
E-mail: tshsu [AT] iis.sinica.edu.tw
Homepage: http://www.iis.sinica.edu.tw/~tshsu
TEL: +886-2-2788-3799 ext. 1701
FAX: +886-2-2782-4814
- 助教:
余家興
台大資訊工程研究所碩二
電機新館531 數位語音處理實驗室
Email: comp04 [AT] csie.ntu.edu.tw
助教的網頁
- Final Grades
- Syllabus
- Samples programs:
- Homeworks:作業遲交每一天扣10%,抄襲(被抄襲)均不計分.
- Mid-term exam: 2:20pm-5:10pm, April 15, 2004.
- Final project.
- Definition of the C-- language.
Updated May 3, 2004.
- Specification and Rule.
Last updated June 4, 2004.
There are two check points for the final project.
- Check point 1: Due 2:20pm May 27, 2004.
- Check point 2: Due 2:20pm June 10, 2004.
- Final project: Due 8:00am June 25, 2004. Late submission will NOT be accepted!
- FAQ.
Last updated June 24, 2004.
- Formula to compute the final semester score:
- Homework 25%
- Midterm 35%
- Project 40%
- Class participation
- Slides for the year 2003.
I am updating the slides this year.
- Updated slides for a Thursday lecture will normally be available
the following Monday, however there is no guarantee.
-
Part 1 --- Introduction.
Last updateded Feb. 27, 2004.
Lecture notes for Feb. 19, 2004.(pp. 1--16)
-
Part 2 --- Scanner.
Last updateded Feb. 27, 2004.
Lecture notes for Feb. 26, 2004.(pp. 1--22)
Lecture notes for Mar. 4, 2004.(pp. 23--34)
-
Part 3 --- Parser.
Last updateded May 7, 2004.
Lecture notes for Mar. 4, 2004.(pp. 1--6)
Lecture notes for Mar. 11, 2004.(pp. 7--28)
Lecture notes for Mar. 18, 2004.(pp. 29--46)
Lecture notes for Mar. 25, 2004.(pp. 47--60)
Lecture notes for Apr. 1, 2004.(pp. 61--70)
Lecture notes for Apr. 8, 2004.(pp. 71--80)
Lecture notes for Apr. 22, 2004.(pp. 81--95)
-
Part 4 --- Syntax-Directed
Translation.
Last updateded April 28, 2004.
Lecture notes for Apr. 22, 2004.(pp. 1--5)
Lecture notes for Apr. 29, 2004.(pp. 6--12)
-
Part 5 --- Symbol Tables.
Last updateded April 28, 2004.
Lecture notes for Apr. 29, 2004.(pp. 1--11)
Lecture notes for May 6, 2004.(pp. 12--21)
-
Part 6 --- Run Time Storage
Organization.
Last updateded May 3, 2004.
Lecture notes for May 13, 2004.(pp. 1--16)
Lecture notes for May 20, 2004.(pp. 16--29)
Lecture notes for May 27, 2004.(pp. 30--36)
-
Part 7 --- Code Generation.
Last updateded June 1, 2004.
Lecture notes for May 27, 2004.(pp. 1--7)
Lecture notes for June 3, 2004.(pp. 8--26)
-
Part 7-1 --- A Simple
Code Generation (PSEUDO) Example.
Last updateded June 8, 2004.
-
Part 8 --- Optimization.
Last updateded June 1, 2004.
-
Part 9 --- How to Write a
Compiler.
Last updateded June 1, 2004.
-
Part 10 --- About Term Project.
Last updateded June 11, 2004.