-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.lisp
54 lines (50 loc) · 1.09 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
;;; -*- Mode:LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10; indent-tabs-mode: nil -*-
;;; ***********************************************************
;;;
;;; Project: marshal
;;; Simple (de)serialization of Lisp datastructures.
;;;
;;; File: package.lisp
;;;
;;; ***********************************************************
(in-package :cl-user)
(defpackage :utils
(:use :cl)
(:export
:circular-list-p
:dotted-list-p
:proper-list-p))
(defpackage :serialization-format
(:use :cl)
(:export
:id
:reference-id
:data-type
:class-slots-values
:list-values
:array-values
:array-sizes
:array-elements-type
:ht-values
:ht-size
:ht-rehash-size
:ht-rehash-threshold
:ht-test-fn
:ht-hash-fn
:simple-string-value
:string-value
:string-adjustable-p
:string-fill-pointer
:object-class-name
:object-package-name
:function-value-package-name))
(defpackage :marshal
(:use :cl)
(:nicknames :ms)
(:export
:*idiom-table*
:marshal
:unmarshal
:class-persistent-slots
:class-persistant-slots
:initialize-unmarshalled-instance))