next up previous contents index
Next: Editor Support Up: Top-level Commands Previous: Checking interpreter status

Saving NESL state

dump world [filename]; 
This dumps an executable Common Lisp  image containing all of the current NESL environment to filename. If filename is not specified it defaults to bin/runnesl   relative to the NESL distribution tree. The NESL\ image can then be run directly rather than entering Common Lisp and loading the NESL source files. Note that the image will typically be very large (from 3 to 35 Megabytes) and might take a long time to dump. Also, since it contains everything defined in the current session, you might want to start a fresh NESL before executing dump world.

dump vcode filename exp; 
In normal operation the NESL system deletes the intermediate VCODE  files after they have been read. This command writes a permanent copy of the VCODE program that evaluates exp to the file filename. It is normally used for reporting bugs (see Section 6.2). It can also be used for creating stand-alone VCODE applications, which can be executed by the VCODE interpreter outside of the NESL system. This is useful for improving the startup time and memory usage of applications once they have been debugged in the NESL system.

Guy Blelloch
Tue Nov 28 18:37:09 EST 1995