Hi,
I would like to start sbcl as an inferior-lisp with slime and load a previously saved image (saved with sb-ext:save-lisp-and-die). How can I do this? I just want to do this occasionally, not all the time, and the path of the image is not fixed (I use many images), so I need to be able to enter that interactively.
Thanks,
Tamas
On Thu, 1 Jan 2009, Tamas K Papp tkpapp@gmail.com writes:
I would like to start sbcl as an inferior-lisp with slime and load a previously saved image (saved with sb-ext:save-lisp-and-die). How can I do this? I just want to do this occasionally, not all the time, and the path of the image is not fixed (I use many images), so I need to be able to enter that interactively.
You can introduce lisp images with different names to SLIME-LISP-IMPLEMENTATIONS and start them via "M-- M-x slime RET lisp-image-name RET".
Regards.
* Tamas K Papp [2009-01-01 16:22+0100] writes:
Hi,
I would like to start sbcl as an inferior-lisp with slime and load a previously saved image (saved with sb-ext:save-lisp-and-die). How can I do this? I just want to do this occasionally, not all the time, and the path of the image is not fixed (I use many images), so I need to be able to enter that interactively.
If your image creates a REPL on stdin, you can start SLIME with C-u M-x slime and enter something like sbcl --core <file>
On startup, SLIME sends some forms to the stdin of the subprocess to load Swank. If the subprocess doesn't create a REPL then this approach will obviously not work.
Helmut.