305372 การสร้างคอมไพเลอร์ Compiler Construction 3 (2-2)

ภาคการศึกษาที่ ๑ ปีการศึกษา ๒๕๔๘

ผู้สอน: ดร. สุรเดช จิตประไพกุลศาล          ห้องพัก: EE-408

หนังสืออ้างอิง

  1. (CCG) Terry, P.D., Compilers and Compiler Generators: An Introduction with C++. 1996, International Thomson Computer Press. www.scifac.ru.ac.za/compilers/
  2. (HTDP) Felleisen, M., et al., How to Design Programs: An Introduction to Computing and Programming. 2001: The MIT Press. ISBN 0262062186 www.htdp.org

เนื้อหาโดยสังเขป

Week

Topics

References

1

Review how to design program

HTDP Ch. 2-6

2

Compound data & Binary Tree

HTDP Ch. 6, 14

3

Automata

Additional Material

4

Translator Overview & Regular Expression

CCG Ch. 1-3, 5

5

Language Specification

CCG Ch. 5

6

Construction Scanner

CCG Ch. 10

7

Language Specification (continue)

CCG Ch. 5

8

Midterm Exam

-

9

Contextual analysis

CCG Ch. 8

10

Contextual analysis (continue)

CCG Ch. 8, 9

11

Constructing Parser

CCG Ch. 10

12

Translation

CCG Ch. 11

13

The complete front end

CCG Ch. 14

14

The backend

CCG Ch. 15

15

Block structure

CCG Ch. 16

16

Code generation

CCG Ch. 17

17

Final Exam

-

 

แนวทางการเรียนการสอน

ผู้สอนจะบรรยายสรุปและเนื้อหาเพิ่มเติมนอกเหนือตำรา ดังนั้นนิสิตควรจะศึกษาตำราหรือ หนังสืออ้างอิงล่วงหน้าก่อนเข้าฟังการบรรยายเพื่อที่จะได้รับประโยชน์จากการเรียนอย่าง เต็มที่  วิชานี้เน้นการเรียนรู้ด้วยการกระทำ (Learning by doing)

การประเมินผล

บันทึกทางวิศวกรรม

10%

การบ้าน

30%

Project

20%

การสอบ

40%

หมายเหตุ

เนื้อหาวิชาและการประเมินผลอาจเปลี่ยนแปลงได้ตามดุยพินิจของผู้สอน