Home
資訊工程學系
course information of 104 - 2 | 8115 Compiler(編譯器)

Taught In English8115 - 編譯器 Compiler


教育目標 Course Target

本課程旨在介紹編譯器(Compilers)的工作原理與實作方式,本課程的學習者應可達到以下的目標: 1. 瞭解編譯器產生器的技術與原理,並能實作。 2. 瞭解語彙分析方法,對於簡易的程式語言,能夠實作出相關的語彙分析器. 3. 瞭解語法分析方法,對於簡易的程式語言,能夠實作出相關的語法分析器. 4. 瞭解語意分析方法,對於簡易的程式語言,能夠構建出抽象的語法分析樹,並能實作出由下而上的翻譯產生器. 5. 瞭解中介碼的產生方式,對於簡易的程式語言,可以實作出相關的中介碼產生器. 6. 瞭解目的碼的產生方式,對於簡易的程式語言,可以實作出相關的目的碼產生器.This course aims to introduce the working principles and implementation methods of compilers. Learners of this course should be able to achieve the following goals: 1. Understand the technology and principles of compiler generators and be able to implement them. 2. Understand lexical analysis methods and be able to implement relevant lexical analyzers for simple programming languages. 3. Understand syntax analysis methods and be able to implement relevant syntax analyzers for simple programming languages. 4. Understand semantic analysis methods, be able to construct abstract syntax analysis trees for simple programming languages, and implement bottom-up translation generators. 5. Understand how to generate intermediary codes, and for simple programming languages, you can implement relevant intermediary code generators. 6. Understand how object code is generated, and for simple programming languages, you can implement relevant object code generators.


課程概述 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.
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.


參考書目 Reference Books

Compilers: Principles, Techniques, and Tools. 2nd edition
(ISBN-10: 0321486811 and ISBN-13: 9780321486813)
本書有中文版
Compilers: Principles, Techniques, and Tools. 2nd edition
(ISBN-10: 0321486811 and ISBN-13: 9780321486813)
This book has a Chinese version


評分方式 Grading

評分項目 Grading Method 配分比例 Grading percentage 說明 Description
期中考試期中考試
midterm exam
25
平時測驗平時測驗
usual test
15
期末考試期末考試
final exam
25
作業作業
Homework
20 作業3-4次
專題作業專題作業
Special assignment
10
課程表現課程表現
course performance
5 上課出席率、隨堂測驗、上課問答等

授課大綱 Course Plan

Click here to open the course plan. Course Plan
交換生/外籍生選課登記 - 請點選下方按鈕加入登記清單,再等候任課教師審核。
Add this class to your wishlist by click the button below.
請先登入才能進行選課登記 Please login first


相似課程 Related Course

必選-1161 Compiler / 編譯器 (資工系資電,軟工3,授課教師:楊朝棟,二/6,7,8[C114])

Course Information

Description

學分 Credit:0-3
上課時間 Course Time:Monday/11,12,13[C107]
授課教師 Teacher:張啟中
修課班級 Class:資工系4
選課備註 Memo:
This Course is taught In English 授課大綱 Course Plan: Open

選課狀態 Attendance

There're now 20 person in the class.
目前選課人數為 20 人。

請先登入才能進行選課登記 Please login first