[CM] Saving LISP objects to disk
Bret Battey
BBattey at dmu.ac.uk
Tue Mar 25 04:19:05 PDT 2008
One thing that has cropped up as I am trying to resurrect my PICACS code in SBCL is that the code I developed to save objects (and any subobjects) to disk is broken, because of all of the CCL calls I used.
I there a standard LISP way of writing objects to disk (and later restoring them), including all subobjects?
As it was, I solved it three years ago by writing code that determines the slots of any object, traverses the whole object and subobject tree of a given object and writes out to disk the code needed to recreate the objects.
Surely there is a better way, and one that doesn't require system-specific calls (?) -- and three days of hunting poor documentation to figure out how to translate my CCL implementation to SBCL?
Cheers,
-=Bret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20080325/b3125e9e/attachment.html>
More information about the Cmdist
mailing list