http://desc.ithu.tw/103/2/1161
1161編譯器 115/11/26 00:41:04
103學年第二學期東海大學教師授課計劃表
Course Plan of Tunghai University
一.課程基本資料 Course Information
開課系所
Department
(日)資工系Department of Computer Science
課程名稱
Course Title
中文 (Chinese) : 編譯器
英文 (English) : Compiler
必選修類別
Required/Elective
必選Required 先修課程
Prerequisites
計算機概論/程式語言/系統程式與組合語言
學分數
Credits
0 - 3
先修課程說明
Prerequisites instruction
課程概述
(系所共同性目標)
Course Description
A compiler is a program that translates programs written in a source language into programs written in a target language. This course introduces the principles, techniques and tools for constructing a compiler. An emphasis is also placed on a programming project that applies the techniques and tools learned from the course to implement a compiler for a small language.
二、教師相關資料 Instruction Information
授課教師資料
授課教師
Instructor
楊朝棟 / ctyang@thu.edu.tw /
行動電話 0936146247 常用聯絡方式 ctyang@thu.edu.tw
上課時間、地點
Class Time And Classroom
二/6,7,8[SS101]
晤談時間、地點
Office Hours And Classroom
Office Hours星期五14:00~16:00
地點CS Office ST035
三、課程大綱 Syllabus (本課程大綱教師得依實際教學進度及學生學習情況進行調整)
■  課程目標 (Course Objectives)
At the end of this course, students should be able to:
1. Understand the principles and techniques of automatic program generators.
2. Understand lexical analysis and implement a scanner for a simple language using a scanner generator.
3. Understand syntax analysis and implement a parser for a simple language using a parser generator.
4. Understand semantic analysis and implement an abstract syntax tree constructor for a simple language using a bottom-up translator generator.
5. Understand intermediate code generation and implement a pretty printer for a simple language using a recursive evaluator.
6. Understand code generation and implement a code generator for a simple language using a recursive evaluator.
■  課程內涵 (Course Contents)
Programming language representation: concrete and abstract syntax, context free grammars. Use of lexer and parser generators. Implementation of expressions and statements in a simple language by postfix code and by simple machine code; simple optimizations. Procedures: value, name and reference parameters, local and non-local variables, static and dynamic binding. Abstract machines and storage management: activation records, static and dynamic chains, stacks and heaps.
■  多元教學方式 (Muliti-Teaching Methods)
說明:除了課堂講授與考試測驗之外,本課程在學期中可能會運用到以下哪些教學方式,以期能進一步提升學生學習成效
■  主要參考書籍/資料 (Textbooks and References) (教科書遵守智慧財產權觀念不得非法影印)
書名 Compilers: Principles, Techniques, and Tools
出版社 Addison-Wesley
作者 A. V. Aho, R. Sethi, and J. D. Ullman
出版年 2007
■  教學進度(Course Schedule) - 18週次(Weeks)
週次
Week
日期
Date
內容主題
Course Topics and Contents

指定閱讀資料
Course Reading Materials
1 104/02/22 ~ 104/02/28 Introduction to Compilers
2 104/03/01 ~ 104/03/07 Lexical Analysis
3 104/03/08 ~ 104/03/14 Lexical Analysis
4 104/03/15 ~ 104/03/21 Lexical Analysis
5 104/03/22 ~ 104/03/28 Top-down Syntax Analysis
6 104/03/29 ~ 104/04/04 Top-down Syntax Analysis
7 104/04/05 ~ 104/04/11 Top-down Syntax Analysis
8 104/04/12 ~ 104/04/18 Bottom–up Syntax Analysis
9 104/04/19 ~ 104/04/25 Middle examination
10 104/04/26 ~ 104/05/02 Bottom–up Syntax Analysis
11 104/05/03 ~ 104/05/09 Bottom–up Syntax Analysis
12 104/05/10 ~ 104/05/16 Semantics Analysis
13 104/05/17 ~ 104/05/23 Semantics Analysis
14 104/05/24 ~ 104/05/30 Intermediate Code Generation
15 104/05/31 ~ 104/06/06 Intermediate Code Generation
16 104/06/07 ~ 104/06/13 Code Generation
17 104/06/14 ~ 104/06/20 Code Generation
18 104/06/21 ~ 104/06/27 Final examination

■  評分方式 (Grading Policy)

  評分項目
Assessment Item
配分比例
Percentage
相關說明
Description
1 作業 15%
2 小考 15%
3 專題 20%
4 期中考 25%
5 期末考 25%
■  相關參考書目 (Other Useful Readings)
Crafting a Compiler with C
Charles N. Fischer
Charles N. Fischer (Author)
Find all the books, read about the author, and more.
See search results for this author
Are you an author? Learn about Author Central
(Author), Richard J. LeBlanc (Author)
■  本課程具有關懷/服務學習之意涵 
是
■  本課程可做為學生職涯發展之準備 
是
四、課程內涵與學生核心能力之對應
Correspondence Between Course Contents and Core Competency
1_Array 2_Array 3_Array 4_Array 5_Array 6_Array 7_Array 8_Array
序
No.
課程內涵與學生核心能力之對應
Correspondence Between Course Contents and Core Competency>
1 運用數學、科學、工程與資訊科技知識的能力
2 分析問題與定義需求的能力
3 設計與實作元件或系統所需的技術能力
4 實務應用所需的工具使用能力
5 配合與執行工程與管理的能力  
6 具備團隊合作的能力並理解專業倫理  
7 吸收科技新知與產業動態的能力
8 建立科技語文表達的能力  
五、課程內涵與學生就業力之對應
Correspondence Between Course Contents and Employability
序
No.
課程內涵與學生就業力之對應
Correspondence Between Course Contents and Employability
1 學習意願強、可塑性高  
2 穩定度與抗壓性高  
3 團隊合作  
4 專業知識與技術
5 具有發現、分析、解決問題能力
6 具有國際觀與外語能力  
7 具有創新能力
8 融會貫通能力
9 口語與書寫溝通能力  
10 跨領域整合與多元適應能力
115/11/26 00:41:04