This repository contains a collection of Common Lisp recipes that I found helpful.
* (ql:quickload "quickproject")
* (quickproject:make-project #p"~/src/myproject/" :depends-on '(drakma cxml))
* (asdf:load-system "myproject")
https://koji-kojiro.github.io/sb-docs/build/html/sb-ext/function/SAVE-LISP-AND-DIE.html
sbcl --eval '(ql:quickload :myproject)' \
--eval "(sb-ext:save-lisp-and-die #p\"myproject\" :compression 9 \
:toplevel #'myproject::main \
:executable t)"
https://www.xach.com/lisp/buildapp/
buildapp --output myproject \
--compress-core \
--asdf-path ~/src/myproject/ \
--load-system myproject \
--eval '(defun main (args) (myproject:main))' \
--entry main
buildapp --eval '(defun main (argv) (declare (ignore argv)) (write-line "Hello, world"))' \
--entry main \
--compress-core \
--output hello-world
https://github.com/fare/inferior-shell
(ql:quickload "inferior-shell")
(inferior-shell:run "ls"
:on-error nil
:error-output :string
:output :string)
https://github.com/lisp-maintainers/clerk
(ql:quickload "clerk")
(clerk:job "print hello" every 5.seconds (print "hello"))
(clerk:start)
...
(clerk:stop)
(clerk:empty-jobs-queue)