當期課號 |
2785 |
Course Number |
2785 |
授課教師 |
陳青文 |
Instructor |
CHEN,CHING WEN |
中文課名 |
編譯程式設計 |
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. |
教材 |
上課寫黑板 |
Teaching Materials |
|
成績評量方式 |
期中考:30% 期末考:40% 作業:30% |
Grading |
Midterm Exam.: 30% Final Exam.: 40% Homework: 30% |
教師網頁 |
|
教學內容 |
本課程介紹編譯器的設計與原理,讓學生能夠瞭解編譯器在每個階段是如何運作的,最後瞭解一般程式語言是如何被編譯器翻譯成目的碼的。同時也讓學生能夠利用工具做出簡易的編譯器程式。 |
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. |