什么是最好的 Scheme 解释器或编译器? [英] What is the best Scheme interpreter or compiler?

查看:69
本文介绍了什么是最好的 Scheme 解释器或编译器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想开始使用Scheme,我有两个问题.首先,您会建议对 Scheme 使用解释器还是编译器,为什么?其次,您会推荐哪种 Scheme 解释器或编译器,为什么?谢谢!

Hey everyone, I want to start using Scheme and I have two questions. First, would you recommend using an interpreter or a compiler for Scheme and why? Second, which interpreter or compiler for Scheme would you recommend and why? Thanks!

推荐答案

对于初学者,我强烈推荐 DrRacket (以前的 Dr. Scheme),因为它为您提供了一个非常好的工作环境,支持许多 Scheme 方言,并提供非常好的失败和调试信息.我相信 Scheme 的大多数实现都是解释器,尽管那里可能有一个编译器.

For a beginner, I would highly recommend DrRacket (formerly Dr. Scheme), since it gives you a really nice environment to work in, supports many dialects of Scheme, and gives very good failure and debugging information. I believe most implementations of Scheme are interpreters, although it is possible that there is a compiler out there.

如果您像我一样是命令行迷,您可能会考虑的另一种选择是直接运行 racket 解释器,这与 Dr. Racket 本质上是一样的,但没有图形环境和命令行界面.或者,用 #! 开始你的源文件./usr/bin/env racket 并使用 chmod +x source.rkt 使其可执行.

If you are a commandline junkie like me, an alternative you might consider is to run the racket interpreter directly, which is essentially the same thing as Dr. Racket, but without the graphical environment and a commandline interface. Or, start your source file with #! /usr/bin/env racket and make it executable with chmod +x source.rkt.

这篇关于什么是最好的 Scheme 解释器或编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆