Hide
Login/Register to vote and to have access to more featuresYou are here: Root > Software > Development > Tools
View the dependency graph for this libraryStorable Functions
Created by gugamilare on: Fri, 06 Mar 2009 01:54:45 GMT, Last modification: Fri, 06 Mar 2009 01:54:45 GMT
Storable Functions implements transformations of functions (including closures) from and to CLOS instances of some specific classes. It contains a set of macros for making this transformation possible, and tools for actually doing the transformation. The goal is to provide a simple, portable way to serialize functions. It includes cl-store+functions, which implements the serialization for cl-store.
Storable Functions implements transformations of functions (including closures) from and to CLOS instances of some specific classes. It contains a set of macros for making this transformation possible, and tools for actually doing the transformation. The goal is to provide a simple, portable way to serialize functions.
Portable in the sense that it should work across multiple Common Lisp implementations. Serialization is intended to be portable as well (e.g., you can store the functions within one implementation and restore it within another), depending, off course, on the portability of the serialization library being used.
Simple in the sense that supporting the serialization of all functions defined using this library should be just a matter of defining / redefining one or two methods of the serialization protocol.
The only restriction to make functions serializable is to use a set of macros to create closure and function information. It includes cl-store+functions, which implements the serialization for cl-store.
Code to support serializing functions in other serialization libraries should not be hard to do, but general knowledge about the internals of the serialization library is required. If you want to add support to a specific serialization library and you have this knowledge, contact me and I probably can help you with the coding.
Compatible Implementations
LispWorks | Allegro Common Lisp | OpenMCL | CMUCL | CLISP | SBCL
trivial-garbage
Authors and Maintainers
Gustavo H. Milare
Tags
Tools | MIT | Open Source | Libraries
0 Notes and 0 comments
0 Notes
You must be logged to add a note
0 Comments
You must be logged to add a comment