###### tags: `Compiler`
編譯系統 書本版
===
Lecture-1 Overview
---
- [1. Overview of Compiler](https://hackmd.io/xgMqJDqwRQ-nah9dHkq6iw?view)
- [2. Compiler vs Interpreter](https://hackmd.io/@EWWf9n9aTCeyDevL1wcQ5g/ByJWr8gKq)
- [3. Semantic error vs Syntax error](https://hackmd.io/@EWWf9n9aTCeyDevL1wcQ5g/BysvHIeYq)
Lecture-2 Simple Compiler
---
- [1. Architecture of Compiler](https://hackmd.io/nM2wcvqHT8-3P6tpiQaw1w)
Lecture-3 Scanning
---
- [0. Overview](https://hackmd.io/JjUPBThjSiyTMUMg0Ylj9Q?view)
- [1. Regular Expression (RE)](https://hackmd.io/snxmU5CAQ_GlW3jiWROKxQ)
- [2. Finite Automata](https://hackmd.io/Yf-57ztUTpWDYRrdQjAf-Q)
- [3. RE to NFA](https://hackmd.io/LRQ3OYA2S3idinQGBrybAg)
- [4. NFA to DFA](https://hackmd.io/6i_lbvkURwuy9wcVNw6Fiw)
Lecture-4 Grammar and Parsing
---
- [0. Preliminary](https://hackmd.io/x5z8Drw4SWq2CNGUvAiYcA)
- [1. Rule Derivations](https://hackmd.io/dTXqEfvyQoSUoNpAfyd2nA)
- [2. Context free grammar](https://hackmd.io/PjnLd_HATU6FGcc-m5PCNg)
- [3. Ambiguity](https://hackmd.io/JE68I-ODQsqTqTHeZBCQkw)
- [4. Two Parsing Approaches](https://hackmd.io/DDbx3y62Qae16N592SKIGg)
- [5. First and Follow](https://hackmd.io/SV-4KikyTniYat60L-pXKg)
Lecture-5 Top-Down parsing
---
- [0. Preliminary](https://hackmd.io/eUtaLLcdTlCRKvkqfa92Yw)
- [1. Mututal recursive](https://hackmd.io/wSP61bzoSE26qEjUz_hvQw)
- [2. Table Driven](https://hackmd.io/lrQN2NIMT8e4s8ahWQtp9w)
- [3. 解決 common prefix](https://hackmd.io/Z-wjPG54RWWsPJNOnQA_Kg)
- [4. 解決 left recursion](https://hackmd.io/ndve3rB4SDap9W-2kdaflA)
Lecture-6 Bottom-Up parsing
---
- [1. Architecture](https://hackmd.io/SkwEWrytTjyiF7zqYSZOJw)
- [2. Conflict](https://hackmd.io/77BLUXWES_CXCVmS9zdH6w)
Lecture-7 Intermediate Representations and Runtime Support
---
- [1. Architecture](https://hackmd.io/RfHIJeNPRsKx8eFAbTVDRw)
- [2. LLVM](https://hackmd.io/ci3QHZerQwCFxKEEbchDNg)
- [3. JVM](https://hackmd.io/XSBrgbrVTFG4cEaDlXAcpA)
## Lecture-8 Code Analysis & Optimization
---
- [1. Architecture](https://hackmd.io/WBX7hRNvR62SCu_T3YhdkQ?view)
- [2. Many possible Optimizations](https://hackmd.io/HhrOqECWTj-J3f1FrtiaRw?view)
{"metaMigratedAt":"2023-06-17T01:36:15.523Z","metaMigratedFrom":"Content","title":"編譯系統 書本版","breaks":true,"contributors":"[{\"id\":\"11659ff6-7f5a-4c27-b20d-ebcbd70710e6\",\"add\":2126,\"del\":1}]"}
tags: Compiler
編譯系統 書本版
Lecture-1 Overview
Lecture-2 Simple Compiler
Lecture-3 Scanning
Lecture-4 Grammar and Parsing
Lecture-5 Top-Down parsing
Lecture-6 Bottom-Up parsing
Lecture-7 Intermediate Representations and Runtime Support
Lecture-8 Code Analysis & Optimization