

| |||||||
|
You are here: Root > By Topic > Database
cl-store is an asdf-installable portable library for serializing and deserializing Common Lisp objects to and from streams. It currently runs on SBCL, CMUCL, CLISP, ACL, OpenMCL and Lispworks.
| rossd@gmail.com | |
| Web site | http://common-lisp.net/project/cl-store/ |
| Mailing list | http://www.common-lisp.net/mailman/listinfo/cl-store-devel |
| Version | 0.6 - |
| Maturity | Stable |
| OS compatibility | |
| ASDF installable | Yes |
| Official Download | http://common-lisp.net/project/cl-store/files/cl-store-latest.tgz |
| Mirrored Download | |
| Source code repository | http://common-lisp.net/cgi-bin/viewcvs.cgi/cl-store/?cvsroot=cl-store |
CL-STORE is a package written by Sean Ross for serializing and deserializing CL objects from streams
It has been tested and works onCL-STORE currently supports serialization of
Example:
;; Store a class and instance
cl-user(1): (defclass foo ()
((bar :accessor bar :initarg :bar)))
cl-user(2): (cl-store:store (list (find-class 'foo)
#'bar
(make-instance 'foo :bar "bar"))
"test.out")
;; Then restore them in a fresh lisp session
cl-user(1): (let ((vals (cl-store:restore "test.out")))
(funcall (second vals) (third vals)))
=> "bar"
ECL | OpenMCL | Allegro Common Lisp | LispWorks | CLISP | CMUCL | SBCL
cl-wdim | The Sewer Massacre | BDB - Berkeley DB CFFI bindings
Database | MIT | Utilities | Object-Oriented | Data structures
You must be logged to add a note
You must be logged to add a comment