Skip to content

北航编译原理 2020 课设 / BUAA Compiler 2020 / Naive speedrun useless compiler

Notifications You must be signed in to change notification settings

GrapeLemonade/useless-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[北航 6 系 19 级编译] Useless Compiler - 速通向极简编译器

特性介绍

  • 没有 IR
  • 没有寄存器分配
  • 除/模常数优化
  • 抛弃所有不必要的功能

= =

写的时候想的是做一个尽量简单的编译器,但是实际上可能还有可以优化的部分。不过感觉现在这样已经蛮简单了,性能也还过得去 = =

可能并不速通、并不极简、编译出来的代码并不快、实现并不好、C++ 使用并不规范。笔者不对本仓库内容提供任何担保,不对参考本仓库内容造成的后果负责。

About

北航编译原理 2020 课设 / BUAA Compiler 2020 / Naive speedrun useless compiler

Topics

Resources

Stars

Watchers

Forks