17.7 Creating a system

If you have followed this example from the beginning, the interface and its callbacks are now completely specified. Next, you can create a Common Lisp system which integrates the interface definition with the callback code.

Choose
File > New or click

. This creates a new, unnamed file in the editor.

Type the following form into this new file:

(defsystem ib-test

(:package "CL-USER")

:members ("ib-callbacks" "ib-example"))

This form creates a system called
ib-test
that contains two members;
ib-example.lisp
(the file containing the interface definition) and
ib-callbacks.lisp
(the file containing the callback code).

Choose
File > Save or click

to save the new file. Save it in the same directory that you saved the
ib-example.lisp
and
ib-callbacks.lisp
files, and call this file
defsys.lisp
.Common LispWorks User Guide (Unix version) - 11 Apr 2005