defsystem

Macro

Package: excl

Arguments: system-name options &body modules

This macro creates a new system with name system-name and options taken from options, containing module-groups specified by modules. system-name must be a symbol (we recommend using a keyword) which will identify the system. options must be a (possibly empty) list of keyword/value pairs. modules is a list consisting of one or more short form module-specifications and/or long form module-specifications.

This macro returns the symbol system-name.

The allowable options keywords are shown in the table below.

See also defsystem.htm for general information on the defsystem facility in Allegro CL and for a description of module specifications.

Keyword

value type

default value

Notes

:pretty-namestringprint-name of system-name symbolThis name will be used for printing.
:default-module-classsymbol identifying a classds:lisp-module

Predefined classes are:

ds:lisp-module,

ds:text-module,

ds:c-module. Users may define additional classes, see defsystem.htm.

:default-packagepackage object or string or symbol naming a packageThe value of *package*Can be overridden for a module or module-group with the package option in the long module form. Also can be overridden during an operation with the package argument.
:default-pathnamepathname object or string or symbol naming pathname*default-pathname-defaults*This pathname will be merged with the filenames of the modules of the system in order to find files.
:default-file-typestringdepends on value of :default-module-class - see notes at right.Specifies file type (extension) for source files for modules in system. If :default-module-class is ds:lisp-module, default is value of *source-file-types*; if ds:text-module, default is nil; if ds:c-module, default is "c".
:property-listproperty listnilThe value is added to the property list of the system.

Table 1: options keywords and values

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.