Questions tagged [asdf]

ASDF is a tool for describing how source files are organized: what depends on which and when. It is roughly what Common Lisp hackers use to build software where C hackers would use say GNU Make. ASDF stands for Another System Definition Facility, in the continuity of the Lisp DEFSYSTEM of yore.

204 questions
2
votes
1 answer

ASDF not finding package in custom directory

I'm new to Common Lisp, I'm using Emacs/SLIME on Windows 10, and I'm trying to wrap my head around how CL and ASDF/packaging works. I have a custom package 'my-pack' in a directory 'D:\Dropbox\my-packages'. I have created a .conf file…
cyrus
  • 1,338
  • 3
  • 17
  • 26
2
votes
2 answers

SBCL and LangUtils

Has anyone got langutils working with sbcl?
Abhijith
  • 929
  • 8
  • 9
2
votes
1 answer

How to understand this Common Lisp package behavior?

I am new to Common Lisp. Even more when the topic is packages and systems. I am working with a program and something intrigues me. Btw, I am using SBCL and Slime (Emacs). Being on the top-level (CL-USER) I can do: CL-USER>…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
2
votes
1 answer

(ASDF 3) How do you flag a file|component as "dirty" or in need of rebuilding?

I would like to tell ASDF that the status of a particular component has changed and it should be recompiled the next time the enclosing system gets loaded. Motivation: I envision having configuration variables which trigger this process upon being…
Dumaiu
  • 138
  • 1
  • 8
2
votes
0 answers

Circular Dependency Error While Loading an ASDF System

I'm trying to get a first program to load with ASDF under SBCL on Windows: (asdf:load-system "dependencies"). ASDF is able to find the directory and .asd file, but produces a warning and an error: * (asdf:load-system "dependencies") WARNING: System…
davypough
  • 1,847
  • 11
  • 21
2
votes
1 answer

Correct way to use the iterate package in Common Lisp

On my Windows XP box with sbcl-1.4.14 I've installed the ASDF using (load "C:\\Program Files\\clisp-2.49\\asdf\\asdf.lisp") (require :asdf) (push "C:\\Documents and Settings\\mayhem\\lisp\\iterate\\" asdf:*central-registry*) On SLIME (require…
Lars Malmsteen
  • 738
  • 4
  • 23
2
votes
2 answers

How to get a list of all dependencies withing each system provided by Quicklisp?

I know how to list all systems providing by Quicklisp (ql:system-list) And I need to get a sort of most depended systems which I want to pack for Guix. Is there any ASD or Quicklisp facility which provide that?
Hellseher
  • 286
  • 2
  • 10
2
votes
2 answers

Redefining a Deleted Package (Common Lisp)

I’m using delete-package as a simple way to unintern a lot of old (user specified) variable names, before loading a project back in following certain edits to the package files. (Otherwise, new values can get pushed onto the old values for those…
davypough
  • 1,847
  • 11
  • 21
2
votes
2 answers

Fail to use quicklisp with clozure-cl

While using SBCL normally I want to try CCL for some testing and installed it via homebrew on my computer. That worked fine but I fail to use quicklisp with CCL. If I try to load quicklisp's setup.lisp I get the following error message: ➜ ~…
Martin Buchmann
  • 1,161
  • 7
  • 14
2
votes
2 answers

Can a file in a system depend on a file from another system?

I'm reading the book Practical Common Lisp and I'm at chapter 25 now. For each chapter I create a folder in my book's folder, containing the chapter's system definition file, package definition file and the code. In chapter 25, I'll need the package…
2
votes
2 answers

SLIME interactive development - paste code into SLIME REPL != eval commands from buffer

I'm trying to create just a basic package called "a" (to learn) with asdf which I've already defined in package.lisp, and my main file a.lisp starts with: (in-package :a) ... If I'm developing my module I'd just like to run eval the whole buffer…
Alberto
  • 565
  • 5
  • 14
2
votes
1 answer

When installing quicklisp on Windows 10, where should I put ~/.config/common-lisp/source-registry.conf.d/projects.conf for ASDF to find?

I am trying to get Common Lisp running on my Windows 10 machine and I have run into a problem with getting ASDF/(ql:quickload "...") to load a project. I generated the given project with the following command (after creating a…
ig88th
  • 29
  • 3
2
votes
1 answer

I can (asdf:load-system :foo), but asdf still complains that '"foo" doesn't designate a package'

Trying to finally start using asdf for my lisp doodles, I tried setting up a simple example. The files are ; contents of example.asd (asdf:defsystem "example" :name "example" :depends-on ("foo") :components ((:file "example"))) and ;…
BlenderBender
  • 524
  • 3
  • 17
2
votes
1 answer

How to update a dependency with quicklisp?

I have updated quicklisp to the lates version CL-USER> (ql:update-all-dists) 1 dist to check. You already have the latest version of "quicklisp": 2017-06-30. NIL But this did not update the dependencies to the latest version, ex. Hunchentoot…
dbow
  • 637
  • 8
  • 18
2
votes
0 answers

Lisp disabling ASDF warning

I wrote my first SBCl Lisp program, which will be execute from the command line. I use the following command for execution: sbcl --noinform --noprint --load processfile.fasl --eval '(progn (parse_graph "infile.txt" 3 4) (sb-ext:quit))' And it works…
sdgaw erzswer
  • 2,182
  • 2
  • 26
  • 45