简单编译器用于优化目的 [英] simple compiler for optimization purposes

查看:182
本文介绍了简单编译器用于优化目的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个简单编译器的源代码通过交换延迟分支的代码来优化我的分配。

I want a source code of a simple compiler to optimize by interchanging the code for delayed branches for my assignment.

我阅读了有一个简单的编译器为一个小语言问题,并发现几个好的编译器。

I read the is there a simple compiler for a small language question and found several good compilers.

但是几乎所有的优化已经完成,一些链接已经死了。有人可能推荐我一个简单的编译器为一个小语言,没有实现优化延迟分支。

But optimization has done for almost all of them and some links are dead. Can someone recommend me a simple compiler for a small language that is not implemented optimization for delayed branches.

推荐答案

a href =http://zserge.com/blog/cucu-part1.html =nofollow> cucu:可以理解的编译器

You might try: cucu: a compiler you can understand

这是一个简单的C编译器,少于700行代码。我发现它写得很好,很容易跟随。

It is a simple C compiler, less than 700 lines of code. I found it well written and easy to follow.

这篇关于简单编译器用于优化目的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆