什么是Lispbox?
<style type="text/css"> <!-- @page {margin:0.79in} p {margin-bottom:0.08in} code.cjk {font-family:"新宋体",monospace} code.ctl {font-family:"Lohit Hindi",monospace} a:link {} --> </style>
SLIME (Superior Lisp Interaction Mode forEmacs)
SLIME对Emacs进行了扩充,提供了Common Lisp的一种交互式编程环境。SLIME由两部分组成:一部分针对Emacs,使用EmacsLisp开发,用来定义Emacs的编辑模式、提供CommonLisp调试器SLDB的用户界面以及创建一个REPL(Read-Eval-Print Loop) 缓冲区等;另一部分称为Swank,使用使用CommonLisp开发,是一个服务器程序,运行在某种特定的CommonLisp实现中。Emacs通过IP协议连接Swank,因此Emacs可以连接到本地或者远程机器上的Swank。本文中主要介绍Emacs连接本地Swank实例的情况。
SLIME定义了一种新的次模式(minormode)slime-mode
用以扩充标准的lisp-mode
。lisp-mode
使得Emacs能够编辑Lisp源程序,而slime-mode
使得Emacs能够与一个运行中的CommonLisp进程进行通信以完成编译、调试CommonLisp程序等任务。
Lispbox的安装和使用
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
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).