11 May 2012 07:51
Loading external packages in Common Lisp with SLIME on Debian
Faheem Mitha <faheem <at> faheem.info>
2012-05-11 05:51:32 GMT
2012-05-11 05:51:32 GMT
Hi, I just posted the following on Stack Overflow. http://stackoverflow.com/questions/10543906/loading-external-packages-in-common-lisp-with-slime-on-debian Short short version: I want an easy way to load external package dependencies into a lisp file I am writing. This is not as easy as one would like it to be. After posting this, I found http://xach.livejournal.com/130040.html which goes into the issue in a little more detail. To quote the article, "I need to make sure cl-ppcre is compiled loaded before my file is compiled and loaded. The easiest way is to make a simple ASDF system file.'" So, it seems that one needs to have the external dependency loaded before one can compile the file, which is in line with what my experiments showed. If one attempts to add the external dependency as part of the file one is trying to compile, the compilation fails. However, the article does not have a complete, self-contained example that I can use. I tried (asdf:defsystem #:foo :depends-on (#:split-sequence) :components ((:file "foo")))(Continue reading)
RSS Feed