Another System Definition Facility

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Materialscientist (talk | contribs) at 11:04, 19 November 2016 (Reverted 1 edit by 183.87.54.202 identified as test/vandalism using STiki). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

ASDF
Stable release
3.1.7 / March 23, 2016; 8 years ago (2016-03-23)[1]
Repository
Operating systemLinux, FreeBSD, NetBSD, OpenBSD
LicenseExpat License
Websitecommon-lisp.net/project/asdf/

Another System Definition Facility (asdf) 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 written initially [when?] as a replacement for a previous program, mk-defsystem, taking advantage of internal Common Lisp features such as CLOS and pathname support.[2] It has since[when?] expanded to become the default build tool for Common Lisp programs.[3] 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.[citation needed]) Most maintained, open-source Common Lisp libraries are build-able and installable through ASDF.

Uses

Installing and building open-source systems defined with ASDF is now made 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

  1. ^ Goldman, Robert (2016-03-23). "Version 3.1.7 has been released" (Mailing list). asdf-announce. Retrieved 2016-08-23.
  2. ^ [1]
  3. ^ [2]

External links