-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall.go
61 lines (58 loc) · 1.58 KB
/
all.go
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
package tapestry
import (
"git.sr.ht/~ionous/tapestry/dl/call"
"git.sr.ht/~ionous/tapestry/dl/debug"
"git.sr.ht/~ionous/tapestry/dl/format"
"git.sr.ht/~ionous/tapestry/dl/game"
"git.sr.ht/~ionous/tapestry/dl/grammar"
"git.sr.ht/~ionous/tapestry/dl/list"
"git.sr.ht/~ionous/tapestry/dl/literal"
"git.sr.ht/~ionous/tapestry/dl/logic"
"git.sr.ht/~ionous/tapestry/dl/math"
"git.sr.ht/~ionous/tapestry/dl/object"
"git.sr.ht/~ionous/tapestry/dl/prim"
"git.sr.ht/~ionous/tapestry/dl/rel"
"git.sr.ht/~ionous/tapestry/dl/render"
"git.sr.ht/~ionous/tapestry/dl/text"
"git.sr.ht/~ionous/tapestry/lang/typeinfo"
)
// all serialized runtime signatures
var AllSignatures = []map[uint64]typeinfo.Instance{
call.Z_Types.Signatures,
debug.Z_Types.Signatures,
format.Z_Types.Signatures,
// frame.Z_Types.Signatures,
game.Z_Types.Signatures,
grammar.Z_Types.Signatures,
// jess.Z_Types.Signatures,
list.Z_Types.Signatures,
literal.Z_Types.Signatures,
logic.Z_Types.Signatures,
math.Z_Types.Signatures,
object.Z_Types.Signatures,
// play.Z_Types.Signatures,
prim.Z_Types.Signatures,
rel.Z_Types.Signatures,
render.Z_Types.Signatures,
// rtti.Z_Types.Signatures,
// story.Z_Types.Signatures,
// testdl.Z_Types.Signatures,
text.Z_Types.Signatures,
}
// gob like registration
func Register(reg func(any)) {
call.Register(reg)
debug.Register(reg)
format.Register(reg)
game.Register(reg)
grammar.Register(reg)
list.Register(reg)
literal.Register(reg)
logic.Register(reg)
math.Register(reg)
object.Register(reg)
prim.Register(reg)
rel.Register(reg)
render.Register(reg)
text.Register(reg)
}