6
6
include = Core.include
11
11
# simple print definitions for debugging. enable these if something
12
12
# goes wrong during bootstrap before printing code is available.
13
13
length(a::Array) = arraylen(a)
14
print(x) = print(stdout_stream, x)
15
show(x) = show(stdout_stream, x)
14
print(x) = print(STDOUT, x)
15
show(x) = show(STDOUT, x)
16
16
write(io, a::Array{Uint8,1}) =
17
17
ccall(:ios_write, Uint, (Ptr{Void}, Ptr{Void}, Uint),
18
18
io.ios, a, length(a))
159
178
compile_hint(pwd, ())
160
179
compile_hint(fdio, (Int32,))
161
180
compile_hint(ProcessGroup, (Int, Array{Any,1}, Array{Any,1}))
162
compile_hint(select_read, (FDSet, Float64))
163
181
compile_hint(next, (Dict{Any,Any}, Int))
164
182
compile_hint(start, (Dict{Any,Any},))
165
183
compile_hint(perform_work, ())
175
193
compile_hint(Set, ())
176
194
compile_hint(assign, (Dict{Any,Any}, Bool, Cmd))
177
195
compile_hint(rehash, (Dict{Any,Any}, Int))
178
compile_hint(run, (Cmd,))
179
compile_hint(spawn, (Cmd,))
180
compile_hint(assign, (Dict{Any,Any}, Bool, FileDes))
196
#compile_hint(run, (Cmd,))
197
#compile_hint(spawn, (Cmd,))
198
#compile_hint(assign, (Dict{Any,Any}, Bool, FileDes))
181
199
compile_hint(wait, (Int32,))
182
200
compile_hint(system_error, (Symbol, Bool))
183
201
compile_hint(SystemError, (ASCIIString,))
187
205
compile_hint(min, (Int32, Int32))
188
206
compile_hint(==, (ASCIIString, ASCIIString))
189
207
compile_hint(arg_gen, (ASCIIString,))
190
compile_hint(RNG.librandom_init, ())
191
compile_hint(RNG.srand, (ASCIIString, Int))
208
compile_hint(Random.librandom_init, ())
209
compile_hint(Random.srand, (ASCIIString, Int))
210
compile_hint(Random.srand, (Uint64,))
192
211
compile_hint(open, (ASCIIString, Bool, Bool, Bool, Bool))
193
compile_hint(RNG.srand, (Uint64,))
194
212
compile_hint(done, (IntSet, Int64))
195
213
compile_hint(next, (IntSet, Int64))
196
214
compile_hint(ht_keyindex, (Dict{Any,Any}, Int32))
197
215
compile_hint(perform_work, (WorkItem,))
198
216
compile_hint(notify_done, (WorkItem,))
199
217
compile_hint(work_result, (WorkItem,))
200
compile_hint(del_fd_handler, (Int32,))
201
compile_hint(enqueue, (Array{WorkItem,1}, WorkItem))
218
compile_hint(unshift!, (Array{WorkItem,1}, WorkItem))
202
219
compile_hint(enq_work, (WorkItem,))
203
compile_hint(pop, (Array{WorkItem,1},))
220
compile_hint(pop!, (Array{WorkItem,1},))
204
221
compile_hint(string, (Int,))
205
222
compile_hint(parse_int, (Type{Int}, ASCIIString, Int))
206
223
compile_hint(repeat, (ASCIIString, Int))
207
224
compile_hint(KeyError, (Int,))
208
225
compile_hint(show, (Float64,))
209
226
compile_hint(match, (Regex, ASCIIString))
210
compile_hint(strlen, (ASCIIString,))
227
compile_hint(length, (ASCIIString,))
211
228
compile_hint(alignment, (Float64,))
212
229
compile_hint(repl_callback, (Expr, Int))
213
230
compile_hint(istaskdone, (Task,))
214
compile_hint(make_stdout_stream, ())
215
compile_hint(make_stdin_stream, ())
216
compile_hint(make_stderr_stream, ())
217
231
compile_hint(int, (Uint64,))
218
232
compile_hint(copy, (Bool,))
219
233
compile_hint(bool, (Bool,))
228
242
compile_hint(isequal, (Symbol, Symbol))
229
243
compile_hint(isequal, (Bool, Bool))
230
244
compile_hint(WaitFor, (Symbol, RemoteRef))
231
compile_hint(answer_color, ())
232
245
compile_hint(get, (EnvHash, ASCIIString, ASCIIString))
233
246
compile_hint(notify_empty, (WorkItem,))
234
247
compile_hint(rr2id, (RemoteRef,))