編譯器製作 (全英班)

DESIGN AND IMPLEMENTATION OF COMPILERS

Professor 張玉盈(Ye-In Chang) changyi@mail.cse.nsysu.edu.tw
(Please send your leave request via email.)
Office EC5021 / Lab EC5023
Office Hours : Mon. 12:00-14:00
TA 丁襄龍(Xiang-Long, Ding) m133040006@gmail.com
EC5023
Office Hours : Mon. 12:00-14:00

campaign Announcement

  • Midterm Exam
    Scope:
    Time:
    Location:EC5012
  • Final Exam
    Scope:
    Time:
    Location:EC5012
  • Lab1 - Lex Scanner
    Deadline:
    Method:Submission
    D E M O:Registration Demo Period
    Location:EC5023
  • Lab2 - Yacc
  • Class Location
    Electrical and Computer Engineering Building, Room EC5012.

image Photos

topic Lecture notes

1. Introduction to Compiler
2. Lexical Analysis
3A. Parsing
3B. Grammar
4. Semantic Analysis
5. Code Optimization
6. Storage Allocation
7. Code Generation
8. Lex and Yacc

menu_book 教學大綱

  • Syllabus 2025
  • Grading
    30% Labs (Lex & Yacc)
    30% Midterm Exam
    40% Final Exam

menu_book 參考用書

  • Crafting a Compiler with C,
    The Benijamin/Cummings Publishing Company (開發), 2005
  • Compilers: Principles, Techniques and Tools, 2nd ed.,
    Addison-Wesley Publishing Company (台北書局), 2006
  • System Software: An Introduction to Systems Programming,3rd ed.,
    Addison-Wesley Publishing Company (台北書局), 1997
  • Lex & YACC 中譯本,
    O'REILLY (美商歐萊禮), 1999