小编use*_*935的帖子

需要一个后端编译器

我创建了一个生成中间代码的编译器.我没有时间为我的项目编写后端.

有没有我可以用来评估生成的中间代码的软件?我在哪里可以下载这个软件?

输出看起来像这样:

    t1 = 0.67596e-7
    sum = t1

    t1 = 2
    t2 = 3
    t3 = t2 + t1
    i = t3

L0:
    t1 = sum
    t2 = 20
t3 = compare(t1 <= t2)
    t4 = sum
    t5 = 12
t6 = compare(t4 ~= t5)
t7 = t3 | t6
    t8 = sum
    t9 = 20
t10 = compare(t8 > t9)
t11 = t7 & t10
if t11 true then goto L1 else goto L2
L1: 
    t1 = 2 …
Run Code Online (Sandbox Code Playgroud)

compiler-construction

7
推荐指数
3
解决办法
2587
查看次数

标签 统计

compiler-construction ×1