Questions tagged [quicklisp]

Quicklisp is a library manager for Common Lisp

Quicklisp is a library manager for Common Lisp written by Zach Beane.

Information on it, including how it can be installed, can be found on its website

161 questions
16
votes
2 answers

How to use quicklisp when CL program is invoked as a shell script?

I am currently have a small program in Common Lisp, which I want to run as a shell script. I am using the SBCL and perfectly fine with this so will prefer to stay on this platform. :) I am aware about the --script option and it works flawlessly…
hijarian
  • 2,159
  • 1
  • 28
  • 34
13
votes
2 answers

How to properly save Common Lisp image using SBCL?

If I want to create a Lisp-image of my program, how do I do it properly? Are there any prerequisites? And doesn't it play nicely with QUICKLISP? Right now, if I start SBCL (with just QUICKLISP pre-loaded) and save the image: (save-lisp-and-die…
mobiuseng
  • 2,326
  • 1
  • 16
  • 30
13
votes
2 answers

Confused about ``ql:quickload`` and executable scripts in SBCL

I've been trying to use Quicklisp packages in an executable script of mine. A (trivial) working example is: #!/usr/bin/sbcl --script (eval-when (:compile-toplevel :load-toplevel :execute) (ql:quickload "lisp-unit")) ;as explained by another…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
13
votes
1 answer

How to use packages installed by quicklisp?

I've installed the CL-PNG package using quicklisp. (ql:quicklisp 'png) Now I want to define my own package which depends on the CL-PNG package. Like so: (defpackage :FOO (:use :CL :PNG) (:export :BAR)) When compiling it I get this error: The…
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
11
votes
4 answers

Suppress "loading" output in Quicklisp

Is there a way to have quicklisp load a library without sending: To load "drakma": Load 1 ASDF system: drakma ; Loading "drakma" To standard out? I've tried adding :verbose nil and :explain nil to the arguments of ql:quickload (which is how…
Haldean Brown
  • 12,411
  • 5
  • 43
  • 58
11
votes
1 answer

Are there easy way of installing Lisp library such as ruby gem (Ruby) or easy_install (Python)?

I find easy_install extremely useful for programming with Python, and the same as rubygem with Ruby. Does Lisp have similar feature? I understand that there are many Lisp implementations (clisp, sbcl, clozure cl ...), but I just wanted to know what…
prosseek
  • 182,215
  • 215
  • 566
  • 871
11
votes
4 answers

How to add a local project to asdf configured by quicklisp

I want to add a local project to the known projects by asdf, but due to the fact that asdf was installed and configured by quicklisp and the *central-registry* points to "#P/home/user/quicklisp/quicklisp/", which contains .lisp files. I do not know…
Sim
  • 4,199
  • 4
  • 39
  • 77
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
9
votes
4 answers

Where should a Quicklisp QUICKLOAD go in my source? Nowhere?

Let's say I build an application on top of net.aserve and bordeaux-threads. My package declaration might look like this: (defpackage :my-package (:use :cl :net.aserve :bordeaux-threads) (:export …)) I use Quicklisp, so I run (ql:quickload…
Asherah
  • 18,948
  • 5
  • 53
  • 72
9
votes
1 answer

Proper way of defining packages using asdf:defsystem and quickproject

I'm a Lisp beginner trying to understand how to properly use Lisp package system while learning LTK for GUI programming, using SBCL 1.0.55.0.debian and Limp 0.3.4 (and Debian Wheezy if that matters). I have installed ASDF using aptitude package…
nrz
  • 10,435
  • 4
  • 39
  • 71
7
votes
1 answer

Is there a way to get the CLISP compiled with dynamic FFI support on Mac OS?

I use clisp 2.48 (2009-07-28) on Mac OS X 10.6.4. I downloaded the clisp with 'sudo port install clisp'. After installing quick lisp, I installed some packages, and most of them are OK. However, when I tried to install "sqlite", I got the following…
prosseek
  • 182,215
  • 215
  • 566
  • 871
7
votes
2 answers

How to configure quicklisp for offline use?

I'm about to go on a long trip to remote places with no internet access, and I want to get some lisp programming done. I thought it might be wise to download the entire quicklisp archive including all its dependencies configure quicklisp itself to…
Reb.Cabin
  • 5,426
  • 3
  • 35
  • 64
7
votes
4 answers

How do I manage common lisp dependencies?

What's the lisp equivalent of a pip requirement file, ruby gemfile, node package.json, etc? I'm not entirely sure how asdf and quicklisp relate if those are the proper things to use.
deadghost
  • 5,017
  • 3
  • 34
  • 46
7
votes
1 answer

loading quicklisp in a program

What's the correct way to load quicklisp at the start of my program? I'm currently copy/pasting in the block that quicklisp inserted into my .eclrc, e.g. ;;; quicklisp (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" …
Martin DeMello
  • 11,876
  • 7
  • 49
  • 64
5
votes
3 answers

Why does Quicklisp fail to load log4cl on MacOS

On MacOS: When I try to load log4cl I get a compile error: CL-USER> (ql:quickload "log4cl") To load "log4cl": Load 1 ASDF system: log4cl ; Loading "log4cl" . ; ; caught ERROR: ; READ error during COMPILE-FILE: ; ; Lock on package…
mbruun
  • 63
  • 3
1
2 3
10 11