CLISP-LINK(1)
π CLISP-LINK π
okay so bestie, welcome to clisp-link β it's the manual page for the clisp-link script, running on x86_64-pc-linux-gnu. buckle up, this one's a whole vibe β¨
πΈ NAME πΈ
clisp-link β link a new external module to CLISP[1]. that's it, that's the girl. π
π¦ SYNOPSIS π¦
clisp-link [create] [module] [file...]
clisp-link [add] [source] [destination] [module...]
clisp-link [run] [source] [module...]
clisp-link [install] [module...]
β¨ DESCRIPTION β¨
okay so this is a shell script and it operates on CLISP[1] module sets and linking sets. here's the tea on what she does:
- creates new module sets out of source files π
- adds module sets to a linking set to produce a new linking set π₯
- runs CLISP[1] with module sets added
- Only in CLISP[1] built without configure flag
--without-dynamic-modules. β installs new module sets for general use π
π OPTIONS π
createβ the command
$ clisp-link create module file ...
creates a module set in the module directory which refers (via symbolic links) to files file... the files are expected to be modules of their own, no cap.
addβ the command
$ clisp-link add source destination module ...
combines the linking set in directory source and the modules in directories module... to a new linking set, in the directory destination which is newly created. brand new, fresh out the box π«Ά
runβ the command
$ clisp-link run source module ...
runs the linking set in directory source, with the modules in directories module... unless CLISP[1] has been built with the configuration option --without-dynamic-modules, the loading will be performed using SYS::DYNLOAD-MODULES. otherwise β and bestie, this is much slower π β a temporary linking set will be created and deleted afterwards.
installβ Only in CLISP[1] built without configure flag--without-dynamic-modules.
the command
$ clisp-link install module ...
installs the modules in directories module... into CUSTOM:*LIB-DIRECTORY* or, if it is not writable to the user (e.g., if a system-wide CLISP[1] installation is used and the user does not have administrative privileges), into CUSTOM:*USER-LIB-DIRECTORY*.
variable CUSTOM:*USER-LIB-DIRECTORY* is initially set to (MERGE-PATHNAMES[2] ".clisp/" (USER-HOMEDIR-PATHNAME[3])) if that directory exists, and can be reset in the RC file. β¨
Note β Do not addCUSTOM:*USER-LIB-DIRECTORY*toCUSTOM:*LOAD-PATHS*or under any element thereof. UseREQUIREinstead ofLOADto load dynamic modules. seriously, don't do it π
for this command to work, each module directory must contain a Makefile with a clisp-module-distrib target which uses LN to distribute the files necessary to run the module into destdir. this is in addition to the general requirement that link.sh is present. the way that it needs BOTH... yeah. π
π EXAMPLES π
See Section 32.2.6, "Example".
π§ FILES π§
clisp-link needs a "link kit" directory containing:
"modules.c""clisp.h"
clisp-link expects to find these files in a subdirectory linkkit/ of the installation directory (i.e., CUSTOM:*LIB-DIRECTORY*) which it acquires by running
$ `dirname $0`/clisp -b
this can be overridden by the environment variable[4] CLISP_LINKKIT. slay π
π SEE ALSO π
- CLISP impnotes
- clisp(1)
π AUTHORS π
- Bruno Haible
<http://www.haible.de/bruno/>β the original author and long-time maintainer. the blueprint fr - Michael Stoll
<http://www.mathe2.uni-bayreuth.de/stoll/>β the original author. - Sam Steingold
<http://sds.podval.org/>β co-maintainer since 1998. - Others β see COPYRIGHT (file in the CLISP sources) for the list of other contributors and the license.
πΈ COPYRIGHT πΈ
Copyright Β© 1992-2024 Bruno Haible Copyright Β© 1998-2018 Sam Steingold
π NOTES π
- CLISP β
http://clisp.org - MERGE-PATHNAMES β
http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_merge-pathnames.html - USER-HOMEDIR-PATHNAME β
http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_user-homedir-pathname.html - environment variable β
[set $man.base.url.for.relative.links]/basedefs/V1_chap08.html
and that's the whole page bestie!! this was CLISP 2.49.95+, last modified 2024-11-09. go link some modules, you absolute icon ππ¦β¨π
π¦ where this page comes from
- debian trixie: clisp 1:2.49.20241228.gitc3ec11b-2 Β· GPL-2.0-or-later
- fedora 43: clisp-devel 2.49.95-5.20250504gitf662209.fc43 Β· GPL-2.0-or-later AND (GPL-2.0-or-later OR GFDL-1.2-or-later) AND LGPL-2.1-or-later AND HPND AND X11
- fedora 43: clisp-devel 2.49.95-6.20260221git1248cdf.fc43 Β· GPL-2.0-or-later AND (GPL-2.0-or-later OR GFDL-1.2-or-later) AND LGPL-2.1-or-later AND HPND AND X11
- fedora 44: clisp-devel 2.49.95-7.20250504gitf662209.fc44 Β· GPL-2.0-or-later AND (GPL-2.0-or-later OR GFDL-1.2-or-later) AND LGPL-2.1-or-later AND HPND AND X11
- fedora 44: clisp-devel 2.49.95-8.20260221git1248cdf.fc44 Β· GPL-2.0-or-later AND (GPL-2.0-or-later OR GFDL-1.2-or-later) AND LGPL-2.1-or-later AND HPND AND X11
- ubuntu questing: clisp 1:2.49.20250504.gitf662209-1
- ubuntu resolute: clisp 1:2.49.20250504.gitf662209-2 Β· GPL-2.0-or-later
- ubuntu stonking: clisp 1:2.49.20250504.gitf662209-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms