Skip to main content
Home Documents Macintosh Macintosh Allegro Common LISP Dump LISP
Macintosh Allegro Common LISP Dump LISP

Macintosh Allegro Common LISP Dump LISP

Macintosh · PDF
FilenameMacintosh_Allegro_Common_LISP_Dump_LISP.pdf
Size0.55 MB
Subsection developer / Macintosh_Allegro_Common_LISP
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Macintosh Allegro Common LISP Dump LISP
/
Loading…
OCR / Text contents
é Macintosh® Allegro Common LISP Dump LISP Overview This documentation describes the dumplisp facility in Allegro CL. This feature lets you save images (snapshots) of Allegro CL environments. Such images can be restarted very quickly. Working with images is much faster than loading fasl files. As an example, you may generally work with the Traps and Records files loaded, and with a Particular extra set of menus and Fred commands. You can arrange your system the way you like it (by loading files, etc.) and then call dumplisp. dumplisp will produce a heap image which you can later restart. The heap image will boot faster than Allegro normally boots, and it will also contain all the information from files you have loaded, etc. To run Allegro CL with a heap image, double-click the heap image in the Finder, or select both Allegro CL and the heap image, and choose Open from the Finder’s File menu. (If you use the first method, make sure there is only one copy of Allegro CL on your disk.) Heap images created with dump1isp cannot be run without a copy of Allegro CL. To create stand-alone images, you need to use the Allegro Stand-alone Application generator. However, dump1isp is an excellent way to prototype stand-alone applications. After loading the files and setting up the menubar of your prototype stand-alone application, doa ¢set -toplevel to your toplevel function, then do a dumplisp. When the image file created by the dumplisp is double-clicked it will behave just like a stand-alone application. dumplisp pathname &key :compress :toplevel-function [Function] creates an image of the current Lisp environment and saves it to the file specified by pathname. If there is not enough room on the selected disk for the image, Allegro CL will exit to the Finder. In general, heap images with compression are upwards of 200K bytes and heap images without compression will be upwards of 325K bytes. These numbers will also be smaller or larger depending on how much has been loaded into the environment and whether function swapping is enabled. pathname a pathname for the image to be created. If there is already a file with that name, it will be deleted before the dump is performed. The default extension for images is ". image". :compress if true (the default), then the heap image is compressed as it is dumped. When it is rebooted, it is uncompressed in memory. Compressed images are smaller, but they take much longer to create and restart. DumpLisp stoplevel-function ; the toplevel function to be set up when the heap image is A restarted. Toplevel functions are described below. This i. argument defaults to the current toplevel function. If supplied, the toplevel function must be a compiled function object. (It cannot be a symbol.) Before dumping a heap image, dump1isp executes all the functions in the list *save- exit-functions*, This list initially contains a single function which closes all windows, takes down and stores the current menubar, and dispose…

Showing first 3,000 characters of 11,602 total. Open the full document →

mp.ls