macos OS X 的最佳 Scheme 或 LISP 实现是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/459323/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:00:56  来源:igfitidea点击:

What is the best Scheme or LISP implementation for OS X?

macoslispschemeracket

提问by Mark Brittingham

I am looking for a version of Scheme or even LISP that I can use to recover some lost Lisp development skills. Some web capabilities would be nice but not essential.

我正在寻找一个 Scheme 甚至 LISP 版本,我可以用它来恢复一些丢失的 Lisp 开发技能。一些网络功能会很好,但不是必需的。

I've looked at Plt and MIT scheme and, while both look pretty good, the Plt seems to be more feature rich. I've also looked at Lisp implementations but all of the seem quite expensive.

我看过 Plt 和 MIT 方案,虽然两者看起来都不错,但 Plt 似乎功能更丰富。我也看过 Lisp 的实现,但所有的看起来都很昂贵。

I favor free/inexpensive implementations as this is truly likely to just be occasional hobby programming. What recommendations would you have?

我喜欢免费/便宜的实现,因为这真的很可能只是偶尔的业余爱好编程。你有什么建议?

采纳答案by Kyle Cronin

I'd go with Racket. It may not be as fast as SBCL, but it does have excellent libraries and documentation, as well as an integrated environment that's designed to get you developing and running Scheme programs right out of the gate. What I really like about Racket's IDE, DrRacket, is what you don't have to do—you don't have to learn Emacs, you don't have to learn SLIME, you don't have to worry about hunting down third-party libraries, as virtually all libraries meant for Racket can be found in packages. All in all, it really cuts down on the learning curve and allows you to focus on the actual task at hand: writing great code.

我会和球拍一起去。它可能不如 SBCL 快,但它确实拥有出色的库和文档,以及旨在让您立即开发和运行 Scheme 程序的集成环境。我真正喜欢 Racket 的 IDE,DrRacket,是你不必做的事情——你不必学习 Emacs,你不必学习 SLIME,你不必担心追捕第三——派对库,因为几乎所有用于 Racket 的库都可以在包中找到。总而言之,它确实缩短了学习曲线,让您可以专注于手头的实际任务:编写出色的代码。

Also, it comes with a web serverif you want to make Racket-powered websites (which I'm currently looking into).

此外,如果您想制作 Racket 驱动的网站(我目前正在研究),它还带有一个网络服务器

回答by Charlie Martin

I did quite a bit of experimenting with this.

我做了很多实验。

Clozure Common Lisp(née Open MCL) is by far the fastest; 25-30 percent faster than the next competitor on my intel Mac Mini.

Clozure Common Lisp(née Open MCL) 是迄今为止最快的;在我的英特尔 Mac Mini 上比下一个竞争对手快 25-30%。

MIT Schemeworks quite nicely on a Mac. I think I eventually compiled it myself, but there are binaries at that site. PLT Scheme is also nice, and possibly a little better integrated into the Mac world. (PLT Scheme is now known as Racket, but I haven't experimented with it after the change.)

MIT Scheme在 Mac 上运行良好。我想我最终自己编译了它,但是该站点上有二进制文件。PLT Scheme 也不错,并且可能更好地融入 Mac 世界。(PLT Scheme 现在被称为Racket,但我没有在更改后尝试过它。)

回答by dnolen

I'm a huge fan of Clojure, SBCL, and Clozure CL. They are all fantastic, but they are also overkill if all you want to do is refresh your Lisping chops. They all require absurd amounts of info hunting, mailing list searching, package installing, irc lurking, etc.

我是 Clojure、SBCL 和 Clozure CL 的忠实粉丝。它们都很棒,但如果你只想刷新你的 Lisping 排骨,它们也太过分了。它们都需要大量的信息搜索、邮件列表搜索、软件包安装、irc 潜伏等。

Dr Scheme just installs and runs. I finished the first 3 chapters of SICP four and half years ago using Dr Scheme. Nothing was more profound than defining a Scheme evaluator in itself. Once you get your head around that you'll have a lot more patience for the industrial strength brethren.

Scheme博士只是安装并运行。四年半前,我使用 Dr Scheme 完成了 SICP 的前 3 章。没有什么比定义 Scheme 评估器本身更深刻的了。一旦你明白了这一点,你就会对工业实力的兄弟们有更多的耐心。

回答by Sébastien RoccaSerra

For Scheme, DrRacketis awesome (included in Racket).

对于 Scheme,DrRacket很棒(包含在Racket 中)。

For Common Lisp, Ready Lispis great. A single dmg with SBCL, Aquamacs and Slime working out of the box.

对于 Common Lisp,Ready Lisp很棒。带有 SBCL、Aquamacs 和 Slime 的单个 dmg 开箱即用。

From the Web site:

从网站:

Ready Lisp is a binding together of several popular Common Lisp packages especially for Mac OS X, including: Aquamacs, SBCL and SLIME. Once downloaded, you'll have a single application bundle which you can double-click — and find yourself in a fully configured Common Lisp REPL.

It's ideal for OS X users who want to try out the beauty of Common Lisp with a minimum of hassle. It could also be used by teachers to give their Mac students a free, complete Common Lisp environment to take home with them. Requirements

The current version of Ready Lisp is 20090127 and requires Mac OS X 10.5 (Leopard).

It includes the following component software versions:

Aquamacs  1.6
SBCL    1.0.24
SLIME   2009-01-23
CL-FAD  0.6.2
CL-PPCRE    2.0.1
LOCAL-TIME  0.9.3
SERIES  2.2.10
CL HyperSpec    7.0
paredit.el  20
redshank.el     1
cldoc.el    1.16

Ready Lisp 是几个流行的 Common Lisp 软件包的绑定,特别适用于 Mac OS X,包括:Aquamacs、SBCL 和 SLIME。下载后,您将拥有一个可以双击的应用程序包 — 并发现自己处于完全配置的 Common Lisp REPL 中。

它非常适合希望以最少的麻烦尝试 Common Lisp 之美的 OS X 用户。教师也可以使用它为 Mac 学生提供一个免费、完整的 Common Lisp 环境,让他们带回家。要求

Ready Lisp 的当前版本是 20090127,需要 Mac OS X 10.5 (Leopard)。

它包括以下组件软件版本:

Aquamacs  1.6
SBCL    1.0.24
SLIME   2009-01-23
CL-FAD  0.6.2
CL-PPCRE    2.0.1
LOCAL-TIME  0.9.3
SERIES  2.2.10
CL HyperSpec    7.0
paredit.el  20
redshank.el     1
cldoc.el    1.16

回答by Matthew Schinckel

I've just started playing with Clojure. It apparently has a nice web framework, and compiles to JVM bytecode.

我刚刚开始玩Clojure。它显然有一个很好的web 框架,并编译为 JVM 字节码。

I also use DrSchemequite a lot. It's a simple yet useful IDE.

我也经常使用DrScheme。这是一个简单而有用的IDE。

回答by Brian Carper

Depending how you define "Lisp", Clojuremay fit the bill. It runs on OS X fine (it runs anywhere the JVM runs). It has web capabilities and it's free.

根据您如何定义“Lisp”,Clojure可能符合要求。它在 OS X 上运行良好(它可以在 JVM 运行的任何地方运行)。它具有网络功能,而且是免费的。

It also has the benefit of being new and fresh and fun to use. Might be ideal for hobby programming. It's easy to write web apps or GUI apps (using Java's Swing or even Qt).

它还具有新颖、新鲜和使用乐趣的优点。可能是爱好编程的理想选择。编写 Web 应用程序或 GUI 应用程序很容易(使用 Java 的 Swing 甚至 Qt)。

回答by Dana

I haven't used it myself, but Steel Bank Common Lisphas received some favourable buzz over at reddit. It's open source and free so the price is right for some hobby programming.

我自己没有使用过它,但Steel Bank Common Lisp在 reddit 上收到了一些好评。它是开源且免费的,因此价格适合一些业余爱好编程。

In the past, I've had GNU Common Lisprunning on my macbook pro.

过去,我在我的 macbook pro 上运行过GNU Common Lisp

回答by Marko

If you are looking for Scheme you can take a look at just released JazzScheme.

如果您正在寻找 Scheme,您可以查看刚刚发布的JazzScheme

回答by pnkfelix

I do recommend Racket to new-comers, since it provides one of the nicest IDE's for Scheme beginners (or rather, programming beginners who happen to be using Scheme, or better still, working their way through HtDP).

我确实向新手推荐 Racket,因为它为 Scheme 初学者提供了最好的 IDE 之一(或者更确切地说,是碰巧使用 Scheme 的编程初学者,或者更好的是,通过 HtDP 工作)。

http://racket-lang.org/

http://racket-lang.org/

Another option, for people who are more interested in a small Scheme system in order to modify it themselves or read its source code, is Larceny Scheme, which is of interest largely because its JIT compiler, Twobit, is itself implemented entirely in Scheme.

对于那些对小型 Scheme 系统更感兴趣以便自己修改或阅读其源代码的人来说,另一种选择是 Larceny Scheme,这主要是因为它的 JIT 编译器 Twobit 本身完全在 Scheme 中实现。

http://www.larcenists.org/

http://www.larcenists.org/



Update: In addition, Chez Scheme has recently been open sourced:

更新:此外,Chez Scheme 最近已经开源:

https://github.com/cisco/ChezScheme

https://github.com/cisco/ChezScheme

(It may not be as "small" as Larceny, but it has a very aggressive optimizing compiler.)

(它可能不像 Larceny 那样“小”,但它有一个非常积极的优化编译器。)

回答by David Thornley

You might want to look at what's at the Association of Lisp Usersor the Common Lisp Wikito see what's there. I set myself up with Steel Bank Common Lisp and Emacs, but have done little with it so far.

您可能想查看Lisp 用户协会Common Lisp Wiki 中的内容以了解其中的内容。我为自己建立了 Steel Bank Common Lisp 和 Emacs,但到目前为止几乎没有做过什么。