Skip to content

Latest commit

 

History

History
6 lines (3 loc) · 527 Bytes

readme.md

File metadata and controls

6 lines (3 loc) · 527 Bytes

Rust编写的MiniDecaf 编译器

这是THU 2020年秋编译原理的大作业,是使用Rust实现MiniDecaf的一个编译器。MiniDecaf类似于一个C语言的子集,关于这个语言的介绍可以在https://decaf-lang.github.io/minidecaf-tutorial/上找到。

这个仓库的代码是参照着Mashplant的参考实现写的,在IR生成与IR生成Risc-V汇编部分大量借鉴了Mashplant的实现。