defsystem

$Revision: 5.0.2.4 $

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 defsystem.htm for a description of module specifications and a general discussion of the defsystem utility.

Keyword

value type

default value

Notes

:pretty-name string print-name of system-name symbol This name will be used for printing.
:default-module-class symbol identifying a class ds:lisp-module Predefined classes are:

ds:lisp-module,

ds:text-module,

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

:default-package package object or string or symbol naming a package The 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-pathname pathname 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-type string depends 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 sys:*source-file-type*; if ds:text-module, default is nil; if ds:c-module, default is "c".
:property-list property list nil The value is added to the property list of the system.

Table 1: options keywords and values

The general documentation description is in introduction.htm. The index in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.