灯下 登录
计算机科学 / SICP / 5.5.7 Interfacing Compiled Code to the Evaluator

Exercise 5.52 · 习题

Exercise 5.52: As a counterpoint to

Exercise 5.51, modify the compiler so that it compiles Scheme procedures

into sequences of C instructions. Compile the metacircular evaluator of

4.1 to produce a Scheme interpreter written in C.

练习 5.52:作为练习 5.51 的对应,修改编译器,使其将 Scheme 过程编译为 C 指令序列。将 4.1 节的元循环求值器编译,生成一个用 C 语言编写的 Scheme 解释器。