forked from ruricolist/serapeum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserapeum.asd
165 lines (163 loc) · 6.05 KB
/
serapeum.asd
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
;;;; serapeum.asd
(defsystem "serapeum"
:description "Utilities beyond Alexandria."
:author "Paul M. Rodriguez <[email protected]>"
:license "MIT"
:in-order-to ((test-op (test-op "serapeum/tests")))
:depends-on ("alexandria"
"trivia"
"trivia.quasiquote"
"uiop"
"split-sequence"
"string-case"
"parse-number"
"trivial-garbage"
"bordeaux-threads"
"named-readtables"
"fare-quasiquote-extras"
"parse-declarations-1.0"
"introspect-environment"
"trivial-cltl2"
"global-vars"
"trivial-file-size"
"trivial-macroexpand-all"
"babel"
(:feature :abcl (:require :extensible-sequences)))
:serial t
:components ((:file "package")
;; The basics: these files can use CL and Alexandria.
(:file "macro-tools") ;Very early.
(:module "level0"
:serial nil
:pathname ""
:components
((:file "types")
(:file "definitions"
:depends-on ("iter"))
(:file "defining-types"
:depends-on ("iter" "threads"))
(:file "binding")
(:file "control-flow"
:depends-on ("definitions"))
(:file "threads")
(:file "iter")
(:file "conditions")
(:file "op")
(:file "functions"
:depends-on ("types" "hash-tables" "iter"))
(:file "trees")
(:file "hash-tables"
:depends-on ("iter" "types" "control-flow"))
(:file "files"
:depends-on ("types"))
(:file "symbols")
(:file "arrays")
(:file "queue"
:depends-on ("types"))
(:file "box"
:depends-on ("types" "definitions"))
(:file "numbers"
:depends-on ("types" "op"))
(:file "octets"
:depends-on ("types"))
(:file "time")
(:file "clos"
:depends-on ("binding"))
(:file "hooks"
:depends-on ("threads"))
(:file "fbind"
:depends-on ("binding" "control-flow" "op" "iter" "trees"))
(:file "reader"
:depends-on ("definitions"))
(:file "packages")
(:file "heap"
:depends-on ("types" "fbind"))))
;; Level 1 files can use CL, Alexandria, and any
;; Serapeum utilities defined at level 0. Intended for
;; functions on sequences.
(:module "level1"
:pathname ""
:serial nil
:components
((:file "lists")
(:file "sequences")
(:file "strings" :depends-on ("sequences"))
(:file "vectors")))
;; Level 2 files can use CL, Alexandria, and the rest
;; of Serapeum. Anything at this level could, in
;; principle, be its own separate library that depends
;; on Serapeum.
(:module "level2"
:pathname ""
:serial nil
:components
((:file "exporting")
(:file "vector=")
(:file "mop")
(:file "internal-definitions")
(:file "tree-case")
(:file "dispatch-case")
(:file "range" :depends-on ("dispatch-case"))
(:file "generalized-arrays" :depends-on ("range"))
(:file "units")))
(:module "contrib"
:components
((:file "hooks")))))
(defsystem "serapeum/tests"
:description "Test suite for Serapeum."
:author "Paul M. Rodriguez <[email protected]>"
:license "MIT"
:depends-on ("serapeum" "fiveam" "local-time")
:perform (test-op (o c) (symbol-call :serapeum.tests :run-tests))
:pathname "tests/"
:serial t
:components ((:file "package")
(:file "tests"
:depends-on ("package"))
(:module "test suites"
:pathname ""
:serial nil
:components
((:file "macro-tools")
(:file "types")
(:file "definitions")
(:file "defining-types-aux"
:if-feature (:not :abcl))
(:file "defining-types"
:if-feature (:not :abcl)
:depends-on ("defining-types-aux"))
(:file "internal-definitions")
(:file "binding")
(:file "control-flow")
(:file "threads")
(:file "iteration")
(:file "conditions")
(:file "op")
(:file "functions")
(:file "trees")
(:file "hash-tables")
(:file "files")
(:file "symbols")
(:file "arrays")
(:file "queue")
(:file "box")
(:file "vectors")
(:file "vector=")
(:file "numbers")
(:file "octets")
(:file "time")
(:file "clos")
(:file "mop")
(:file "hooks")
(:file "fbind")
(:file "lists")
(:file "strings")
(:file "sequences")
(:file "tree-case")
(:file "dispatch-case")
(:file "range")
(:file "generalized-arrays")
(:file "quicklisp")
(:file "units")
(:module "contrib"
:components ((:file "hooks")))))))