[Snow-devel] Slime or other framework for developing Snow

Matus Kmit simply.nitaai at gmail.com
Wed Jun 1 20:55:10 UTC 2011


On Thu, May 26, 2011 at 8:18 PM, Alessio Stalla <alessiostalla at gmail.com> wrote:
> On Thu, May 26, 2011 at 12:52 PM, Matus Kmit <simply.nitaai at gmail.com> wrote:
>> Hi Alessio
>>
>> What do You use for developing and testing Snow code? i configured
>> emacs+slime for using ABCL. Is it possible to do it for Snow as well,
>> in the way, that when one would start REPL in smile, all the necessary
>> jar files with snow would be loaded, and one could test the snow code?
>>
>> Or what would You recommend as the most convenient way to write and
>> test snow code?
>
> Slime can be used. The way I do it:
>
> - have a file in the classpath named abcl-script-config.lisp
> containing the following lines:
>
> (in-package :abcl-script-user)
> (setq *launch-swank-at-startup* t)
> (setq *swank-dir* #P"/home/alessio/slime/slime/") ;;Here substitute
> with the path to your installation of Slime
>
> - launch Snow normally, ensuring the file above is in the classpath[1]
>
> - launch Emacs and do M-x slime-connect <return> keep the standard
> host and port (localhost:4005) and you should connect to the ABCL
> instance running Snow.
>
> [1] the way I do it is: I have abcl-script-config.lisp in the Snow
> root, along with the following run.sh script:
>
> #!/bin/bash
> java -classpath ".:dist/snow.jar:lib/*" snow.Snow $@
>
> notice the extra . (dot) in the classpath. It only works if the script
> is in the same directory as the Lisp file.
>

it works, i can connect to the instance running snow, but there is no
REPL and other slime facilities in emacs.

could You maybe provide content of Your .emacs file or give me some
advice. i think i am missing something...

thanks,
matus




More information about the snow-devel mailing list