Skip to content

CnTransGroup/EngineeringACompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

编译器学习路线

零基础 Programming Language Pragmatics

https://craftinginterpreters.com/

The Elements of Computer Systems

cs143

  • Engineer a Compiler: 超级棒,强烈推荐!尤其是IR、代码生成、优化这方面
  • Static Single Assignment Book
  • Compilers: 又名龙书,感觉 top-down parsing 也就是讲 recursive descent parser 的那一章感觉还不错,但其他的部分感觉一般,不是很好懂
  • Modern Compiler Implementation in Java/C/ML:又名虎书,
  • Parsing Techniques: 硬核 parser,我没看过,但大家都在推荐就是了
  • The Definitive ANTLR 4 Reference:如果你像我一样偷懒直接用 ANTLR 来做 lexer/parser 的话,可以看一眼这个。1 2

Engineering a Compiler 3rd

online read

RICE teacher keith Cooper