Another System Definition Facility
Stable release | 3.3.4 / February 14, 2020; 4 years ago (2020-02-14)[1] |
---|---|
Repository |
|
Operating system | Linux, FreeBSD, NetBSD, OpenBSD |
License | Expat License |
Website | common-lisp |
ASDF (Another System Definition Facility) is a package format and a build tool for Common Lisp libraries. It is analogous to tools such as Make and Ant.
History
ASDF was originally designed and written in 2001-2002[2][3] as a successor for a previous program, mk-defsystem, taking advantage of Common Lisp features such as CLOS and pathname support.[4] It has since[when?] expanded to become the default build tool for Common Lisp programs.[5] It is now[when?] used as the basis for Common Lisp library build systems, and dependency managers, such as Quicklisp, cl-build, and Debian's Common Lisp Controller. (Note: ASDF-Install is obsolete.[6]) Most maintained, open-source Common Lisp libraries are buildable and installable through ASDF.
Uses
Installing and building open-source systems defined with ASDF is now a relatively easy thanks to Quicklisp. In cases where the user is forced to install ASDF libraries by hand, as may still happen, the user will be forced to first download and unpack the library in a location recognized by the user's source-registry, which has sensible defaults (at least on Unix) and can otherwise be configured.
Creating and defining systems installable though ASDF is done through the creation and placement of one or more system definition (.asd) files at the root of a directory containing the files that make up the system. The system definition file must contain at least one call to defsystem, a lisp form in which are defined all of the components and dependencies of the system. ASDF is capable of automatically compiling and loading lisp source code, as well as automatically building and linking C programming language (also known as C source code). It contains hooks to allow for definitions of alternate compilers and complex treatment of custom components.
References
- ^ Goldman, Robert (2018-05-04). "ASDF 3.3.2 Released" (Mailing list). asdf-announce. Retrieved 2019-03-28.
- ^ "CLOCC - Common Lisp Open Code Collection / Another defsystem proposal".
- ^ "Last Monday (I.e two days following the previous entry here) I had - diary at Telent Netowrks".
- ^ "CLiki: Asdf".
- ^ "Smuglispweeny: A Beginners Guide to ASDF (Ha!)". 7 December 2008.
- ^ "CLiki: Asdf-install".
External links
- Official website
- v
- t
- e
- Allegro CL
- Armed Bear Common Lisp (ABCL)
- CLISP
- Clozure CL
- CMU Common Lisp (CMUCL)
- Corman Common Lisp
- Embeddable Common Lisp (ECL)
- GNU Common Lisp (GCL)
- LispWorks
- Macintosh Common Lisp
- ManKai Common Lisp (MKCL)
- Mocl
- Poplog
- Scieneer CL
- Steel Bank Common Lisp (SBCL)
- Symbolics Common Lisp
Libraries |
|
---|---|
Applications |
|
Development environments |
|
- Common Lisp the Language
- Paradigms of AI Programming
- The Art of the Metaobject Protocol
- On Lisp
- Practical Common Lisp
- Object-Oriented Programming in Common Lisp
![]() | This computer-library-related article is a stub. You can help Wikipedia by expanding it. |
- v
- t
- e