朝陽科技大學 094學年度第1學期教學大綱
Compiler Design 編譯程式設計

當期課號 2432 Course Number 2432
授課教師 陳金鈴 Instructor CHEN,CHIN LING
中文課名 編譯程式設計 Course Name Compiler Design
開課單位 資訊工程系(四日)三A Department  
修習別 選修 Required/Elective Elective
學分數 3 Credits 3
課程目標 本課程主要介紹編譯程式的設計與觀念,學生在完成本課程後,將可了解關於編譯程式整體的架構介紹,其主要涵蓋的範圍有:1.編譯程式的架構介紹. 2. 語意分析 3. 語法分析4. 中間碼的產生 5.機械碼(Machine- code)產生 6. 碼的最佳化 7.執行時間組織(Run- time Organization)8. 簡單編譯器之設計 Objectives The goal of this course is to provide the students with a basic knowledge of compiler. The students will realize the following important compiler topics after finishing this course:1. Concepts of Compiler Structure. 2. Lexical analysis and Parsing. 3. Syntax Directed Translation. 4. Intermediate Code Gereration. 5. Machine- code Generation. 6. Code Optimization. 7. Run- time Organization. 8. Implementation of a Simple compiler.
教材 1.課本(Textbook):
(1)Crafting a Compiler with C
作者: Charles Fischer, Richard LeBlanc
出版社:開發圖書公司代理。
(2)投影片(Slides)及補充資料。
2.參考書目(Reference Books):
(1)Compilers Principles, Techniques, and Tools
作者: Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman
Teaching Materials  
成績評量方式 1.作業與計劃:30%
2.期中考: 30%
3.期末考: 30%
4.課堂參與: 10%
Grading 1.Homework and Project: 30%
2.Midterm Exam.: 30%
3.Final Exam.: 30%
4.Participation:10%
教師網頁  
教學內容 本課程介紹編譯器的設計與原理,讓學生能夠瞭解編譯器在每個階段是如何運作的,最後瞭解一般程式語言是如何被編譯器翻譯成目的碼的。同時也讓學生能夠利用工具做出簡易的編譯器程式。 Syllabus The principle and design of a compiler are introduced in this class. In this class, students can realize how a source language is compiled to machine code and understand each stage a compiler worked.
尊重智慧財產權,請勿非法影印。