Published on

how to learn a compiler

Authors

需要知道的流程

  1. 环境配置, 拉取代码

  2. 代码编译

  3. 跑通一个demo

  4. 如何debug

  5. 整体的流程,workflow是怎么设计的

  6. 了解一下运行时

  7. IR是如何定义,序列化,可视化

  8. 基础的硬件相关知识

  9. Pass的设计 9.1 Pass是如何设计的 9.2 context是如何传递的 9.3 如何添加一个Pass, 并注册运行

  10. 前端IR/ 中段IR / 后端IR是如何设计的

how to

  1. how to compiler
  2. how to debug
  3. how to add pass
  4. how to debug crash problem
  5. how to debug mismatch problem