Skip to content

Latest commit

 

History

History
executable file
·
12 lines (8 loc) · 356 Bytes

README.md

File metadata and controls

executable file
·
12 lines (8 loc) · 356 Bytes

Thie-super-tiny-compiler 学习笔记

传送门

Lisp => C

编译器整个工作流程:

  1. 词法分析:input => tokenizer => tokens
  2. 语法分析:tokens => parser => ast
  3. 语义分析:ast => transformer => newAst
  4. 生成(目标)代码:newAst => generator => output