Common Lisp: Macroexpand-time branching

mov.im
common-lisp:-macroexpand-time-branching

#CommonLisp #Lisp Let’s consider the following function: (defun make-adder (x huge-p) (lambda (y) (+ x y (if huge-p 1000 0)))) The result of calling (MAKE-ADDER 10) closes over HUGE-P and makes a runtime check for its value. CL-USER> (disassemble (make-adder … Read more

Common shell script mistakes (2008)

pixelbeat.org

I’ve written a few shell scripts in my time and have read many more, and I see the same issues cropping up again and again (unfortunately even in my own scripts sometimes). While there are lots of shell programming pitfalls, … Read more

Common Jobs in a Medieval City

medievalists.net
common-jobs-in-a-medieval-city

By Lucie Laumonier What were the most common jobs in a late medieval city? In this piece, we’ll look at the case of fifteenth-century Montpellier, a city located in the South of France. Established in the late tenth century, Montpellier … Read more

Clog – The Common Lisp Omnificent GUI

github.com
clog-–-the-common-lisp-omnificent-gui

GitHub – rabbibotton/clog: CLOG – The Common Lisp Omnificent GUI {{ message }} You can’t perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab … Read more

Common Lisp Code Optimisation

write.as
common-lisp-code-optimisation

Common Lisp is one of the few languages which is both dynamic and also gives you a full native compiler and the ability to declare types so that the optimiser can provide more efficient code. The following examples are with … Read more

Common Lisp

lisp-lang.org

SLIME, an IDE that leverages the power of Common Lisp and the extensibility of Emacs, provides a development environment ahead of anything else. You can leave the write-compile-debug cycle behind. Everything is interactive: try your code on the REPL as … Read more