1 | 344-441 การสร้างตัวแปลภาษา (Compiler Construction) |
|||||||||||||||||
HOME :: | ||||||||||||||||||
|
||||||||||||||||||
ANNOUNCEMENTS | SYLLABUS | SCHEDULE | WORKS |
ANNOUNCEMENTS: |
SYLLABUS: |
วัตถุประสงค์
เพื่อให้นักศึกษาเข้าใจถึงขั้นตอนต่างๆของระบบการแปลภาษา และสามารถเขียนโปรแกรมตัวแปลภาษาง่ายๆได้
เนื้อหาวิชา
บทที่ 1 Introduction
- Phases of Compiler
- Discussion of Grammars
- Classification of Grammars
- BNF/EBNF notation
- Syntax Diagram
บทที่ 2 Lexical Analysis and Finite Automata
- Transition Diagram
- Regular Expression
- Finite Automata
- NFA
- DFA
บทที่ 3 Syntax Analysis
- Top-down Parsing
- Bottom-up Parsing
- error-handler
- Symbol Table
บทที่ 4 Semantic Analysis and Code Generation
งานกลุ่ม โจทย์ปัญหา และการนำเสนองาน
วิธีการเรียนการสอน
บรรยาย 3 คาบต่อสัปดาห์ (คาบละ 50 นาที)
อาจารย์ผู้สอน
ผศ. ดร. สุภาภรณ์ กานต์สมเกียรติ ห้อง CS318
E-mail: supaporn.k@psu.ac.th
การวัดผล
- งานเดี่ยว งานกลุ่ม สอบย่อย 30 %
- สอบกลางภาคการศึกษา 35 %
- สอบปลายภาคการศึกษา 35 %เกณฑ์การให้ระดับขั้นคะแนนเบื้องต้น
A 85 100
B+ 75 84
B 70 74
C+ 65 69
C 55 64
D+ 50 54
D 45 49
E 0 44
ทั้งนี้ อาจมีการเปลี่ยนแปลงตามอิงเกณฑ์และอิงกลุ่มภายใต้ดุลยพินิจของคณะกรรมการประกันคุณภาพของภาควิชาฯเงื่อนไข
รายวิชาบังคับก่อน : 344-211 Data Structure
เอกสารประกอบการสอน
- อิว ไอยรากาญจนกุล การเขียนคอมไพเลอร์ สำหรับ IBM PC บริษัทซีเอ็ดยูเคชั่น จำกัด, 2534
- Aho A.V., Ravi Sethi and Jeffrey D. Ullman, Compilers Principles, Techniques, and Tools, Addison-Wesley Publishing Company, 1986
- Tremblay, J.-P., and Sorenson, P. G. The Theory and Practice of Compiler Writing. McGraw-Hill, Singapore, 1985
Back to the top
SCHEDULE: 344-441 Compiler Construction
Topic Handouts Resources Note 0 Course Oultlineoutline (pdf) 1 Introductionchapter 1 2 Lexical Analysis and Finite Automatachapter 2 3 Syntax Analysischapter 3 4 Semantic Analysis and Code Generationchapter 4 Back to the top
WORKS: งานในชั้นเรียน
งานในห้องปฏิบัติการ
Back to the top
Back to my home page last updated: 6 Jan 2018