Macintosh Allegro Common LISP Stand Alone Application Generator
Macintosh Allegro Common LISP Stand Alone Application Generator
Macintosh · PDF
| Filename | Macintosh_Allegro_Common_LISP_Stand_Alone_Application_Generator.pdf |
|---|---|
| Size | 0.25 MB |
| Subsection | developer / Macintosh_Allegro_Common_LISP |
| Downloads | 1 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
Reader
Loading…
OCR / Text contents
é Macintosh®
Allegro Common LISP
Stand Alone
Application Generator
Overview
, This documentation describes a function for creating stand-alone applications from Allegro CL
environments. These stand-alone applications can be run on any Macintosh. They do not
require the presence of a copy of Allegro CL.
Licensing Applications
An inexpensive annual license is required to ship stand-alone applications. Licenses are
available from: Apple Computer Software Licensing
. 20525 Mariani Avenue, MS: 381
Cupertino, CA 95014
For further information, see the shrinkwrap license included with this product
Installing the Stand-Alone Application Generator
To use the stand-alone application generator, run Allegro CL and load the file "save-
application. fas" found in the folder “Application Generator Folder”. When complete, your
environment includes the functionality described below.
Creating Stand-Alone Applications
The system used to create stand-alone applications is almost identical to the Allegro CL
dumplisp capability. There are three differences:
Stand Alone Applications
* the function save-application is used, instead of dumplisp.
* the resulting image can be run without a copy of Allegro CL.
* some tools are missing from the resulting application (for example, the inspector
and compiler).
Before reading further, you should be familiar with the Dumplisp section of the Allegro CL
User’s Guide.
save-application pathname &key :compress [Function]
stoplevel-function
creates a stand-alone application containing the functionality of the current Lisp environment.
When save-applicat ion is finished, Allegro CL exits to the Finder.
The syntax and semantics of save-application are identical to those of dumplisp.
pathname a pathname specifying the directory and filename of the
application to be created. If there is already a file with that
name, it will be deleted before the save-application is performed.
:compress if true (the default), then the heap image stored with the
application is compressed as it is written. Compressed
applications are smaller, but they take somewhat longer to boot.
:toplevel-function
the toplevel function to be set up when the application is booted.
Toplevel functions are described in the Dumplisp section of the
Allegro CL User Guide. This argument defaults to the current
toplevel function. If supplied, the toplevel function must be a
compiled function object; it cannot be a symbol naming a
function.
The functions contained on the lists *save-exit-functions* and *restore-lisp-
functions * perform the same operation as for dumped images. This process is described
in the Dumplisp section of the Allegro CL User Guide.
If there is not enough room for the application on the selected disk, Allegro CL will error or
simply quit to the Finder. Applications have a base size of about 700K.
Saving an application can take over 5 minutes (300 seconds) on 68000-based Macintoshes
running from floppy disks. During this time, moving the mou…
Showing first 3,000 characters of 4,793 total. Open the full document →