-
Notifications
You must be signed in to change notification settings - Fork 0
/
cvm.asd
152 lines (145 loc) · 6.99 KB
/
cvm.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
(asdf:defsystem #:cvm
:description "Reference implementation of the CVM bytecode system."
:author ("Charles Zhang"
"Christian Schafmeister <[email protected]>"
"Tarn W. Burton <[email protected]>"
"Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:version "0.5.0"
:depends-on (:cvm/base :cvm/compile :cvm/compile-file :cvm/load
:cvm/vm-native :cvm/vm-cross))
(asdf:defsystem #:cvm/base
:description "Basic components of the CVM bytecode system."
:author ("Charles Zhang"
"Christian Schafmeister <[email protected]>"
"Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:version "0.5.0"
:depends-on (:closer-mop)
:components ((:file "machine")
(:file "arg-conditions")
(:file "structures" :depends-on ("machine"))
(:file "link" :depends-on ("machine"))
(:file "access" :depends-on ("machine"))
(:file "disassemble" :depends-on ("structures" "machine"))))
(asdf:defsystem #:cvm/compile
:description "Reference implementation compiler for CVM."
:author ("Charles Zhang"
"Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:depends-on (:cvm/base :alexandria :trucler :ecclesia)
:components
((:module "compile"
:components ((:file "package")
(:file "misc-program-conditions" :depends-on ("package"))
(:file "parse-macro" :depends-on ("misc-program-conditions"
"package"))
(:file "unknown-reference-conditions" :depends-on ("package"))
(:file "compilation-unit"
:depends-on ("unknown-reference-conditions" "package"))
(:file "compile" :depends-on ("unknown-reference-conditions"
"misc-program-conditions"
"compilation-unit" "parse-macro"
"package"))
(:file "documentation" :depends-on ("compile"))))))
(asdf:defsystem #:cvm/compile-file
:description "Reference implementation file compiler for CVM."
:author ("Tarn W. Burton <[email protected]>"
"Bike <[email protected]>")
:depends-on (:cvm/compile :eclector :ieee-floats)
:components
((:module "compile-file"
:components ((:file "package")
(:file "preliminaries" :depends-on ("package"))
(:file "read" :depends-on ("preliminaries" "package"))
(:file "cmpltv" :depends-on ("preliminaries" "package"))
(:file "encode" :depends-on ("cmpltv" "preliminaries" "package"))
(:file "top-level-forms" :depends-on ("preliminaries" "package"))
(:file "compile-file"
:depends-on ("read" "top-level-forms" "cmpltv"
"encode" "package"))
(:file "documentation" :depends-on ("compile-file"))))))
(asdf:defsystem #:cvm/load
:description "Reference implementation FASL loader for CVM."
:author ("Tarn W. Burton <[email protected]>"
"Bike <[email protected]>")
:depends-on (:cvm/base :ieee-floats)
:components ((:file "loadltv")))
(asdf:defsystem #:cvm/vm-native
:description "CVM VM implementation using host environment."
:author ("Charles Zhang"
"Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:depends-on (:cvm/base :trucler) ; trucler only needed for client class - remove?
:components ((:file "vm-native")))
(asdf:defsystem #:cvm/vm-cross
:description "CVM VM implementation using Clostrum environment."
:author ("Charles Zhang"
"Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:depends-on (:cvm/base :clostrum :clostrum-trucler)
:components ((:file "vm-cross")))
(asdf:defsystem #:cvm/test
:author ("Bike <[email protected]>")
:maintainer "Bike <[email protected]>"
:depends-on (:cvm :clostrum-basic :fiveam)
:components
((:module "test"
:components ((:file "packages")
(:file "suites" :depends-on ("packages"))
(:file "rt" :depends-on ("packages"))
(:file "native-sham" :depends-on ("rt" "packages"))
(:module "cross"
:depends-on ("rt" "native-sham")
:components ((:file "packages")
(:file "sham" :depends-on ("packages"))
(:file "rt" :depends-on ("sham"
"packages"))))
(:module "fasl"
:depends-on ("suites" "rt" "packages")
:components ((:file "similarity")
(:file "externalize")))
(:file "cleanliness" :depends-on ("suites" "rt" "packages"))
(:file "cooperation" :depends-on ("suites" "rt" "packages"))
(:module "compiler-conditions"
:depends-on ("suites" "rt" "packages")
:components ((:file "reference")
(:file "syntax")
(:file "macroexpansion")))
(:module "ansi"
:depends-on ("suites" "rt" "packages")
;; These can be loaded in any order.
:components (;; eval-and-compile
(:file "compile")
(:file "dynamic-extent")
(:file "eval")
(:file "eval-when")
(:file "ignorable")
(:file "ignore")
(:file "lambda")
(:file "locally")
(:file "optimize")
(:file "special")
(:file "symbol-macrolet")
(:file "the")
(:file "type")
;; data-and-control-flow
(:file "block")
(:file "catch")
(:file "flet")
(:file "if")
(:file "labels")
(:file "let")
(:file "letstar")
(:file "macrolet")
(:file "multiple-value-call")
(:file "multiple-value-prog1")
(:file "progn")
(:file "progv")
(:file "return-from")
(:file "tagbody")
(:file "unwind-protect")
;; system-construction
(:file "compile-file")))
(:file "run-all"
:depends-on ("ansi" "cross" "rt" "packages"))))))