DEV Community

Vee Satayamas
Vee Satayamas

Posted on

My Common Lisp config in January 2021

I specified the source path in $HOME/.config/common-lisp/source-registry.conf.

source-registry.conf:

(:source-registry
  (:tree (:home "Develop/t/mt2021"))
  (:tree (:home "Develop/free"))
  :inherit-configuration)
Enter fullscreen mode Exit fullscreen mode

Common Lisp packages can be put in $HOME/Develop/t/mt2021 or Develop/free.

Now I create a new project using Quickproject.

In SBCL, I ran this:

* (ql:quickload 'quickproject)
* (quickproject:make-project #p"~/Develop/free/amphi" :depends-on '(arrow-macros cl-ppcre jonathan))
Enter fullscreen mode Exit fullscreen mode

I just realized yesterday that I don't have to use

(asdf:load-system :amphi)
Enter fullscreen mode Exit fullscreen mode

.

I can use

(ql:quickload :amphi)
Enter fullscreen mode Exit fullscreen mode

to load my local projects. The upside of ql:quickload is that it also install all dependencies specified in .asd.

Now the process is easy and started to make sense. 😅

Top comments (0)