| 課程名稱(中文): |
編譯器 |
開課單位: |
資訊工程研究所 |
| 課程名稱(英文): |
Compilers |
課程代碼: |
4105605_01 |
| 授課教師: |
林迺衛 |
| 學分數: |
3 |
必/選修: |
必修 |
開科年級: |
碩博 |
先修科目或 先備能力: |
Programming experiences in at least one programming language. |
| 課程概述: |
A compiler is a program that automatically translates programs written in a language into programs written in another language. This course introduces the principles and techniques of constructing compilers and introduces the principles and techniques of constructing compiler-generators. This course includes a programming project that uses the compiler-generators Flex and Bison to construct a compiler for a small language in the C programming language. |
| 學習目標: |
1.Understand the applications of compiler technology 2.Understand the principles and techniques of lexical analysis 3.Be able to use the tool Flex to construct lexical analyzers 4.Understand the principles and techniques of syntax analysis 5.Be able to use the tool Bison to construct syntax analyzers 6.Understand the principles and techniques of semantic analysis 7.Be able to use the tool Bison to construct semantic analyzers 8.Understand the principles and techniques of code generation 9.Be able to use the tool Bison to construct code generators 10.Be able to use the simulator SPIM to simulate MIPS assembly code
|
| 教科書: |
A. V. Aho, M. S. Lam, R. Sethi and J. D. Ullman, Compilers: Principles, Techniques, and Tools, Second Edition, Addison-Wesley, 2007.
|