Questions tagged [sbcl]

Steel Bank Common Lisp: an open-source compiler and runtime implementation of ANSI Common Lisp.

SBCL is an open-source implementation of ANSI Common Lisp (1994), the Common Lisp standard. It runs on Linux, FreeBSD and variants, MAC OS X, and recently on Windows (x64 support in progress). It features unicode support, native interface to C libraries (UFFI), threading (Windows support not official yet), and a native compiler.

849 questions
12
votes
4 answers

How to customize the SBCL REPL?

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.
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
11
votes
2 answers

Evolving a lisp image

I love the idea of image-based languages, and lately I've been toying with Common Lisp via sbcl. I've read in a few places about how through being able to save and load back an image of the virtual machine, you can evolve an application or set of…
clintm
  • 1,259
  • 10
  • 23
11
votes
2 answers

auto indentation on common lisp emacs + slime + sbcl in windows

I can't use auto indentation function on emacs + slime + sbcl when I define my function and so on. My .emacs file configuration is this: (setq inferior-lisp-program "D:/emacs/sbcl_1.0.37/sbcl.exe" lisp-indent-function…
john
  • 2,054
  • 4
  • 20
  • 25
11
votes
3 answers

Setting up SLIME on MacOSX

I've been dancing around LISP for decades, but now have decided to get serious. I'm going through the online version of Practical Common LISP. This is my setup: MacOSX 10.7.8 Xcode 4.5.2 SBCL 1.0.55.0-abb03f9 Emacs 24.2.1 (x86_64-apple-darwin, NS…
Quasaur
  • 1,335
  • 1
  • 10
  • 27
10
votes
3 answers

Writing Common Lisp code that executes from the command line, but not inside the interpreter

When writing Common Lisp code, I use SLIME. In particular, I compile the buffer containing definitions of functions by using C-C C-k, and then switch to the REPL to run those functions. Putting executable code to run those functions in the buffer…
Faheem Mitha
  • 6,096
  • 7
  • 48
  • 83
10
votes
2 answers

operator #+ and #- in .sbclrc

Anybody know what #+ and #- operators means in .sbclrc? I couldn't find it in the manual. I see #- in .sbclrc after I installed quicklisp: #-quicklisp (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" …
sudo
  • 647
  • 2
  • 7
  • 19
10
votes
2 answers

lisp as a shebang script vs lisp running in SLIME

I just started with common-lisp, having come from C++ and Python. I'm trying to run a simple SDL program that does nothing other than show an image on-screen. I can get it working from within SLIME. The problem is, it won't work when run from the…
SuperElectric
  • 17,548
  • 10
  • 52
  • 69
10
votes
2 answers

Where does "Your Kitten of Death awaits" come from?

If you run SBCL (at least on Windows, I use CLISP at home), you get the message, "Your Kitten of Death awaits." I suspect that this has something to do with some form of inside joke (like Super Cow Powers). I've tried Googling and I have found…
cwallenpoole
  • 79,954
  • 26
  • 128
  • 166
10
votes
4 answers

Getting started with SLIME and SWANK: Lisp connection closed unexpectedly: connection broken by remote peer

I was trying to use the slime-connect function to get access to a remote server with sbcl. I followed all the steps from the slime.mov movie from Marco Baringer, but I got stuck when creating the ssh connection for slime. This is after already…
wallyqs
  • 7,456
  • 5
  • 26
  • 25
10
votes
1 answer

SBCL warning that a variable is defined but never used

I'm getting a warning from the sbcl compiler, that a variable has been defined but is not used. And the compiler is right. I want to get rid of the warning, but don't know how to do it. Here is an example: (defun worker-1 (context p) ;; check…
Ollimaus
  • 207
  • 1
  • 6
10
votes
2 answers

SBCL: Deploying Hunchentoot application as executable

I started playing with SBCL Common Lisp and want to develop a small web application using Hunchentoot. For easy deployment I planned to save everything in a binary using sb-ext:save-lisp-and-die as I can live with the big output size. For the…
Sojaki
  • 187
  • 1
  • 8
10
votes
4 answers

How to process input and output streams in Steel Bank Common Lisp?

I'm trying to figure out how to use the output stream of one program I start with RUN-PROGRAM so it can be used as the input of another program started with RUN-PROGRAM (i.e., the moral and perhaps literal equivalent of piping). I've tried using a…
Pillsy
  • 9,781
  • 1
  • 43
  • 70
10
votes
1 answer

SBCL initialization file

I would like to know where I should save my .sbclrc file. I tried saving it in my .sbcl folder, but it doesn't seem to be working. I'm using Windows XP with Emacs version 23. I'm trying to set up asdf-install, that is why I'm mucking around with…
jack the lesser
  • 701
  • 2
  • 7
  • 15
10
votes
5 answers

Reading a character without requiring the Enter button pressed

read-line and read-char both require you press Enter key after typing something. Is there any mechanism in Common Lisp that would allow the program to continue upon the press of any single character immediately, without requiring the additional step…
johnbakers
  • 24,158
  • 24
  • 130
  • 258
10
votes
1 answer

How to use buildapp in combination with quicklisp

I want to use buildapp to make the curl-lisp executable given as an example: buildapp --output lisp-curl --asdf-path ~/src/clbuild/systems/ \ --load-system drakma \ --eval '(defun main (args) (write-string (drakma:http-request (second…
Sim
  • 4,199
  • 4
  • 39
  • 77
1 2
3
56 57