Lisp in a box 安装指南
分类:
LISP
2012-06-24 22:15
189人阅读
评论(0)
收藏
举报
什么是Lispbox?
lispbox 是Common Lisp的集成开发环境。实际是Lispbox只是组合配置了Emacs编辑器,SLIME(Emacs的高级Lisp 交互模式)和Quicklisp 库管理工具和CCL Lisp编译器。
这些工具组合在一起给你了你所期望的一个ide能给你的所用的功能集合,甚至更多。Lispbox使你可以迅速和简单的投入使用。
Lispbox可以让新的Lisp程序员在一流的开发环境上近似于无痛的起步。所以强烈建议新手下载安装Lispbox作为学习Common Lisp的开始。
Lispbox的安装和使用
想使用Lispbox很简单,只要下载和解压对应你操作系统的版本即可。不需要安装!可以通过运行lispbox.bat (Windows) / lispbox.sh (Linux) / Emacs (OS X)开始Lispbox使用。
下载地址:http://common-lisp.net/project/lispbox/
Lispbox的中文问题
默认的Emacs没有开启UTF-8字符集支持,所以并不支持中文,甚至中文注释也不行。如果输入中文将会出现如下错误:
CL-USER> '你好
slime-net-send: Coding system iso-latin-1-unix not suitable for "00004c(:emacs-rex (swank:listener-eval \"'你好
\") \"COMMON-LISP-USER\" :repl-thread 4)"
要对中文支持需修改文件解压后的文件夹下的文件 emacs-23.2\site-lisp\lispbox.el
在(require 'slime)这一行的后面增加一行:
(setq slime-net-coding-system 'utf-8-unix)
也可以设置成其它编码,重启Lispbox即可。
What is Lispbox?
Lispbox is anIDEfor Common Lisp development.
Actually, Lispbox is just a pre-configured packaging of theEmacsediting environment,SLIME(The Superior
Lisp Interaction Mode for Emacs), theQuicklisplibrary manager, and theClozure Common Lispcompiler.
Combined, these components integrate to provide all of the functionality you would expect from an IDE, and more. Lispbox makes it quick and easy to get started using them.
Lispbox test builds
To get Lispbox, simply download and extract the distribution for your platform. No installation required! Start Lispbox by running lispbox.bat (Windows) / lispbox.sh (Linux) / Emacs (OS X).
Known issues:
- The Mac OS X version currently requires OS X 10.6 Snow Leopard.
- The Linux version requires GTK2 and some other common libraries, and has issues with glibc on some Linux distributions.
- All versions require a CPU with SSE2 support (anything relatively recent).