013 · UC Berkeley CS61A — Scheme 解释器
| 项目 | 内容 |
|---|---|
| 学校 | UC Berkeley |
| 课程 | UC Berkeley CS61A Structure and Interpretation of Computer Programs |
| 方向 | 编程语言 / Programming languages |
| 语言 | Python |
| 难度 | 进阶 / Intermediate |
| 预计耗时 | 5–10 天 / 5–10 days |
为什么收录
写解释器是理解求值、环境、闭包的最佳方式;支持 quote/define/lambda/if 与列表原语。
English: A carefully chosen capstone that builds transferable reasoning skills through hands-on implementation.
实测结果
- 递归阶乘 120;闭包 make-adder 记住 x(add5(3)=8)。
- 详见 05-调试与测试.md 的真实输出