在 Mac 上搭建 SICP 学习环境

2019-10-28 22:57:51 +08:00
 DiamondYuan

1.安装 Chez Scheme

下载地址 https://cisco.github.io/ChezScheme/ 推荐用 homebrew 安装

brew install chezscheme

2.安装 Code Runner

打开 vscode 中配置,设置用 chez 执行 scheme。

{
 "code-runner.executorMap": {
    "scheme": "chez"
  }
}

3.安装语言高亮插件 vscode-chez

4. HelloWorld

  1. 新建 hello.ss
; Hello World
(display "Hello World")
(exit)
  1. 点击右上角按钮运行程序

[Running] chez "hello.ss"
Chez Scheme Version 9.5.2
Copyright 1984-2019 Cisco Systems, Inc.

Hello World
[Done] exited with code=0 in 0.115 seconds

原文

https://www.yuque.com/yuanfandi/blog/learn_sicp_on_mac

2389 次点击
所在节点    程序员
1 条回复
ech0x
2019-10-28 23:00:41 +08:00
用 Racket 不就完了……

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/613823

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX