You use ASDF:LOAD-SYSTEM to have ASDF load all the content of the system, making it available to you.
Am I not supposed to load or compile the contents of an `.asd` file?
https://asdf.common-lisp.dev/asdf.html#Configuring-ASDF-to-f...
Personally I use the (:tree (:home "dev/lisp")) form.
The workflow is:
- open the .asd file,
- compile it so that your Lisp image knows about it: C-c C-k in Slime, or (asdf:load-asd "project.asd")
- you are ready to "quickload" it.
The link shows how you can tell ASDF to find your projects at startup, so than you can "quickload" it directly.
There's also a chatbot company on the front page posted by a new account. I kinda suspect they're related.
Yes one can also load system definitions, they are Lisp code. But usually it is expected that they are found automatically, when calling a system operation (load, compile, ...), when registered correctly.
One problem I run into when learning Common Lisp is ASDF. For some reason I can't figure out how to use it properly. For example, when I open a system definition in a new REPL, what's the expected workflow? I'm using emacs and slime by the way. Maybe my environment is set up wrong. I also have to prefix the `defsystem`s with `asdf:`. When I look at examples in open source projects they just straight up use `uiop` functions and `defsystem` in their `.asd` files without the package.