-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
124 lines (122 loc) · 3.01 KB
/
README
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
startup-hooks get:
V{
{ "alien" [ H{ } clone callbacks set-global ] }
{
"destructors"
[
H{ } clone disposables set-global
V{ } clone always-destructors set-global
V{ } clone error-destructors set-global
]
}
{
"io.backend"
[ init-io embedded? [ init-stdio ] unless ]
}
{
"alien.strings"
[
8 special-object utf8 alien>string
string>cpu \ cpu set-global
9 special-object utf8 alien>string
string>os \ os set-global
67 special-object utf8 alien>string
\ vm-compiler set-global
]
}
{
"io.files"
[
cwd current-directory set-global
13 special-object alien>native-string cwd
prepend-path \ image set-global
14 special-object alien>native-string cwd
prepend-path \ vm set-global
image parent-directory "resource-path" set-global
]
}
{
"source-files.errors"
[ V{ } clone error-observers set-global ]
}
{
"compiler.units"
[ V{ } clone definition-observers set-global ]
}
{ "vocabs" [ V{ } clone vocab-observers set-global ] }
{ "command-line" [ default-cli-args ] }
{ "threads" [ init-threads ] }
{ "cpu.x86.features" [ \ sse-version reset-memoized ] }
{
"io.thread"
[ t io-thread-running? set-global start-io-thread ]
}
{
"environment"
[
"FACTOR_ROOTS" os-env [
os windows? ";" ":" ? split
[ add-vocab-root ] each
] when*
]
}
{
"tools.crossref"
[ invalidate-crossref add-definition-observer ]
}
{
"io.launcher"
[ H{ } clone processes set-global start-wait-thread ]
}
{
"random.unix"
[
"/dev/random" <unix-random> &dispose
secure-random-generator set-global
"/dev/urandom" <unix-random> &dispose
system-random-generator set-global
]
}
{
"bootstrap.random"
[
default-mersenne-twister random-generator
set-global
]
}
{
"tools.deprecation"
[ \ deprecation-observer add-definition-observer ]
}
{
"vocabs.cache"
[
f changed-vocabs set-global
cache-observer add-vocab-observer
]
}
{
"vocabs.refresh.monitor"
[
"-no-monitors" (command-line) member?
[ start-monitor-thread ] unless
]
}
{ "opengl.gl" [ reset-gl-function-pointers ] }
{
"pango.fonts"
[ \ (cache-font-description) reset-memoized ]
}
{
"pango.cairo"
[ <cache-assoc> cached-layouts set-global ]
}
{
"ui"
[
f \ ui-running set-global
<flag> ui-notify-flag set-global
]
}
{ "ui.tools.error-list" [ updater add-error-observer ] }
}