OS X 的最佳方案或 LISP 实现是什么?

发布于 2024-07-12 07:05:56 字数 1774 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(15

乱了心跳 2024-07-19 07:05:57

如果您只是爱好编程,LispWorks 有一个免费的个人版本,它非常强大且复杂。 它最大的问题是几个小时的运行时间限制。 因此,您不会在其中编写任何长时间运行的服务器,但这并不意味着它不是一个有用的工具。

CLISP 可以在几乎所有东西上运行,实际上非常好,只是它不处理线程。 (如果您想编写一个实际的服务器,这一点很重要,但正如 PHP 和 Perl 向我们展示的那样,Apache + [插入语言]是一个非常可行的平台。)

If you're just hobby programming, LispWorks has a free, personal version which is quite powerful and sophisticated. It's biggest issue is a run time limit of several hours. So, you won't be writing any long running servers in it, but that doesn't mean it's not a useful tool.

CLISP runs on most everything, and is quite nice actually, it just doesn't do threads. (Important if you want to write an actual server, but as PHP and Perl have shown us, Apache + [insert language] is a very viable platform.)

只是在用心讲痛 2024-07-19 07:05:57

您可能想看看 Lisp 用户协会Common Lisp Wiki 看看那里有什么。 我开始使用 Steel Bank Common Lisp 和 Emacs,但到目前为止还没有做什么。

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

在你怀里撒娇 2024-07-19 07:05:57

我发现 Chicken 对于Scheme 效果很好,并且可以通过自制程序获得。

brew install chicken

SICP 的大部分代码只需稍作修改即可工作。

I have found that Chicken works well for Scheme and is available through homebrew.

brew install chicken

Most of the code from SICP works with minor modifications.

能否归途做我良人 2024-07-19 07:05:57

我最近一直在问自己同样的问题。 在 OS X 上使用过 DrScheme 后,它将成为我在任何平台上的首选计划发行版。 非常好的 IDE、调试功能和一组很好的库/框架(包括一个非常好的 GUI 工具包,“即使在 Mac 上也能工作”;-))

但是,我现在正在为 Common 寻找一个类似舒适的环境口齿不清。 归根结底是 CCL (OpenMCL) 与 SBCL 的对比。 SBCL 似乎是流行的选择,但我读到它在 OS X 上不支持线程。 (这真的是一个问题吗?)。 另一方面,Clozure CL 拥有对本机线程、obj-bridge 等的良好支持...

我发现 CCL 有点奇怪,但我会坚持一段时间 - 它看起来仍然像整合的逻辑选择。

我使用 Emacs 23(使用 --with-ns 从源代码构建)和 Slime 作为环境,这对我来说效果很好。 :-)

I've been asking myself the same question lately. Having used DrScheme on OS X it would be my first choice of Scheme distribution for any platform. Very nice IDE, debugging features and a good set of libraries/frameworks (including a very nice GUI toolkit that 'just works... even on Mac' ;-) )

However, I'm now looking for a similarly comfortable environment for Common Lisp. It came down to CCL (OpenMCL) versus SBCL. SBCL seems to be the popular choice but I read that on OS X is doesn't support threading. (Is this really an issue?). Clozure CL, on the other hand, boasts good support for native threads, the obcj-bridge, etc...

I'm finding CCL a little odd but I'm going to stick at it for a while - It still looks like the logical choice for integration.

I use Emacs 23 (built from source using --with-ns) and Slime as an environment and this works well for me. :-)

烂人 2024-07-19 07:05:57

使用 Racket。 我很高兴!

Go with Racket. I'm very happy with it!

疑心病 2024-07-19 07:05:56

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

此外,如果您想制作 Racket 驱动的网站(我目前正在研究)。

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.

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

烙印 2024-07-19 07:05:56

我对此做了很多实验。

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

MIT Scheme 在 Mac 上运行得非常好。 我想我最终自己编译了它,但该网站上有二进制文件。 PLT 方案也很好,并且可能更好地集成到 Mac 世界中。 (PLT方案现在被称为Racket,但更改后我还没有尝试过它。 )

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.

MIT Scheme works 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.)

天涯离梦残月幽梦 2024-07-19 07:05:56

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

只需安装并运行即可。 四年前,我使用 DrScheme 完成了 SICP 的前 3 章。 没有什么比定义一个计划评估器本身更深刻的了。 一旦你明白了这一点,你就会对工业实力兄弟更有耐心。

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.

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.

血之狂魔 2024-07-19 07:05:56

对于Scheme,DrRacket非常棒(包含在球拍)。

对于 Common Lisp,Ready Lisp 非常棒。 与 SBCL、Aquamacs 和 Slime 一起使用的单一 dmg 开箱即用。

来自网站:

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
史莱姆 2009-01-23
CL-FAD 0.6.2
CL-PPCRE 2.0.1
当地时间 0.9.3
系列 2.2.10
CL HyperSpec 7.0
帕雷迪特.el 20
红脚鹬.el 1
cldoc.el 1.16

For Scheme, DrRacket is awesome (included in Racket).

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

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
暗藏城府 2024-07-19 07:05:56

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

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

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

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

挽你眉间 2024-07-19 07:05:56

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

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

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

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).

暮色兮凉城 2024-07-19 07:05:56

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

过去,我运行过 GNU Common Lisp在我的 MacBook Pro 上。

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

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

蓝天白云 2024-07-19 07:05:56

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

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

天煞孤星 2024-07-19 07:05:56

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

http://racket-lang.org/

另一种选择,适合对小型Scheme系统更感兴趣的人为了自己修改它或阅读它的源代码,是LarcenyScheme,它之所以引起人们的兴趣,很大程度上是因为它的JIT编译器Twobit本身完全是在Scheme中实现的。

http://www.larcenists.org/


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

< a href="https://github.com/cisco/ChezScheme" rel="nofollow">https://github.com/cisco/ChezScheme

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

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).

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.

http://www.larcenists.org/


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

https://github.com/cisco/ChezScheme

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文