課堂講稿

電腦語言工程(SMA 5502)

因舊版課程無指定課堂作業與考試,因此統整所有作業、講義、考試內容合併列出。

    需要特定軟體來使用課程中的部分檔案:.rm, .mp3.

     

    除了可下載的課堂講稿,下面還提供了某些課程(L)和復習課(R)的影片和聲音。

    (S):Saman Amarasinghe教授的課

    (M):Martin Rinard教授的課

     

    課程單元

    VIDEOs

    AUDIO

    L1

    課程管理資訊和總覽Course Administration Information and Overview (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 11.3MB)

    R1

     

    掃描解析器專題

    (由Punyashloka Biswal提供並授權使用。)Scanner Parser Project (PDF) (Courtesy of Punyashloka Biswal. Used with permission.)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 11.2MB)

    L2

    程式設計語言總覽Overview of Programming Languages (M)

     

     

    L3

    正則運算式,使用形式語法的語言規範Regular Expressions, Language Specification by Formal Grammars (M)

     

     

    L4

    分析表建構

    Parse Table Construction (M)

     

     

    L5

    自上至下分析法Top-down Parsing (M)

     

     

    L6

    中間表現

    Intermediate Representations (M)

     

     

    L7

    語義分析

    Semantic Analysis (M)

     

     

    L8

     

    未優化的代碼生成Unoptimized Code Generation (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 13.3MB)

    L9

    未優化的代碼生成(繼續)

    Unoptimized Code Generation (cont.) (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 13.3MB)

    L10

    程式分析和優化導論Introduction to Program Analysis and Optimization (M)

     

     

    L11

    資料流程分析

    Data-flow Analysis (M)

     

     

    L12

    資料流程優化

    Data-flow Optimizations (M)

     

     

    L13

    資料流程分析基礎Foundations of Data-flow Analysis (M)

     

     

    L14

    指令調度

    Instruction Scheduling (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 11.9MB)

    L15

    指令調度(續)

    Instruction Scheduling (cont.) (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 11.4MB)

    L16

    寄存器分配

    Register Allocation (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 11.5MB)

    L17

    所有模組綜合

    Putting it all Together (S) (PDF)

    (RM - 56K)

    (RM - 220K)

    (MP3 - 9.1MB)

    L18

    編譯器競賽

    Compiler Derby (S)