How to customize the SBCL REPL?

徘徊边缘 提交于 2019-12-21 08:44:09

问题


Is there a way to customize the SBCL REPL in a way that makes it work similar to the CLISP REPL. The standard SBCL REPL isn't really usable on Mac OS X. I can't use the arrow keys or backspace.


回答1:


You could use rlwrap

If you have MacPorts installed you can get it with

sudo port install rlwrap

The invoke sbcl with

rlwrap sbcl



回答2:


There's vim+slime (slimv) too, for vim users.




回答3:


Most of the people use SBCL REPL with SLIME. It gives it by far much more features, then readline, that is used in CLISP. If you aren't comfortable with using Emacs, you can try ABLE (available through quicklisp) - a very simple editor, that supports some basic REPL features on par with readline, but as well has basic code highlighting and built-in Hyperspec.




回答4:


You can try linedit which is available via Quicklisp. That said, Emacs+SLIME is a real beast. In fact, Firebug is the only thing close to it that I'm aware of.



来源:https://stackoverflow.com/questions/11109249/how-to-customize-the-sbcl-repl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!