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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
|
local x
x = function()
return print(what)
end
local _
_ = function() end
_ = function()
return function()
return function() end
end
end
go(to(the(barn)))
open(function()
return the(function()
return door
end)
end)
open(function()
the(door)
local hello
hello = function()
return my(func)
end
end)
local h
h = function()
return hi
end
eat(function() end, world);
(function() end)()
x = function(...) end
hello()
hello.world()
_ = hello().something
_ = what()["ofefe"]
what()(the()(heck()))
_ = function(a, b, c, d, e) end
_ = function(a, a, a, a, a)
return print(a)
end
_ = function(x)
if x == nil then
x = 23023
end
end
_ = function(x)
if x == nil then
x = function(y)
if y == nil then
y = function() end
end
end
end
end
_ = function(x)
if x == nil then
if something then
x = yeah
else
x = no
end
end
end
local something
something = function(hello, world)
if hello == nil then
hello = 100
end
if world == nil then
world = function(x)
if x == nil then
x = [[yeah cool]]
end
return print("eat rice")
end
end
return print(hello)
end
_ = function(self) end
_ = function(self, x, y) end
_ = function(self, x, y)
self.x = x
self.y = y
end
_ = function(self, x)
if x == nil then
x = 1
end
end
_ = function(self, x, y, z)
if x == nil then
x = 1
end
if z == nil then
z = "hello world"
end
self.x = x
self.z = z
end
x(function()
return
end)
y(function()
return 1
end)
z(function()
return 1, "hello", "world"
end)
k(function()
if yes then
return
else
return
end
end)
_ = function()
if something then
return real_name
end
end
d(function()
return print("hello world")
end, 10)
d(1, 2, 3, 4, 5, 6, (function()
if something then
print("okay")
return 10
end
end)(), 10, 20)
f()()(what)(function()
return print("srue")
end, 123)
x = function(a, b)
return print("what")
end
local y
y = function(a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
local z
z = function(a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
local j
j = function(f, g, m, a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
y = function(a, b, ...)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
y = function(a, b, ...)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
local args
args = function(a, b)
return print("what")
end
args = function(a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
args = function(a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
args = function(f, g, m, a, b)
if a == nil then
a = "hi"
end
if b == nil then
b = 23
end
return print("what")
end
local self
self = function(n)
if n == 0 then
return 1
end
return n * self(n - 1)
end
do
items.every(function(item)
if item.field then
local value = item.field.get("abc")
if value then
local _exp_0 = value:get()
if 123 == _exp_0 then
return false
elseif 456 == _exp_0 then
handle(item)
end
end
end
return true
end)
items.every(function(item)
if item.field then
local value = item.field.get("abc")
if value then
local _exp_0 = value:get()
if 123 == _exp_0 then
return false
elseif 456 == _exp_0 then
handle(item)
end
end
end
return true
end)
HttpServer:post("/login", function(req)
do
local _type_0 = type(req)
local _tab_0 = "table" == _type_0 or "userdata" == _type_0
if _tab_0 then
local name = req.name
local pwd = req.pwd
if name ~= nil and pwd ~= nil then
if name ~= "" then
local user = DB:queryUser(name, pwd)
if user then
if user.status == "available" then
return {
success = true
}
end
end
end
end
end
end
return {
success = false
}
end)
local check
check = function(num)
return num
end
local func
func = function()
check(123)
end
print(func())
end
local _anon_func_0 = function(_arg_0)
local _accum_0 = { }
local _len_0 = 1
local _max_0 = #_arg_0
for _index_0 = 1, _max_0 do
local _item_0 = _arg_0[_index_0]
_accum_0[_len_0] = _item_0
_len_0 = _len_0 + 1
end
return _accum_0
end
do
local f
f = function(_arg_0)
local a, b, c
a, b, c = _arg_0.a, _arg_0.b, _arg_0.c
return print(a, b, c)
end
f = function(_arg_0)
local a, b, c
a, b, c = _arg_0.a, _arg_0.b, _arg_0.c
return print(a, b, c)
end
local g
g = function(x, _arg_0)
local y
y = _arg_0.y
return print(x, y)
end
local i
i = function(_arg_0)
local ax, by
ax, by = _arg_0.a, _arg_0.b
if ax == nil then
ax = 0
end
if by == nil then
by = 0
end
return print(ax, by)
end
j = function(name, _arg_0)
local uid, role
uid, role = _arg_0.id, _arg_0.role
if uid == nil then
uid = "n/a"
end
if role == nil then
role = "guest"
end
return print(name, uid, role)
end
local m
m = function(_arg_0)
local name, age, ver
name, age, ver = _arg_0.user.name, _arg_0.user.age, _arg_0.meta.ver
if ver == nil then
ver = 1
end
return print(name, age, ver)
end
local m1
m1 = function(_arg_0)
local name, age, meta
name, age, meta = _arg_0.user.name, _arg_0.user.age, _arg_0.meta
if meta == nil then
meta = { }
end
return print(name, age, meta and meta.ver or "nil")
end
local new
new = function(self, _arg_0)
local name, age
name, age = _arg_0.name, _arg_0.age
if name == nil then
name = "anon"
end
if age == nil then
age = 0
end
self.name = name
self.age = age
end
local set
set = function(self, _arg_0)
local name, age
name, age = _arg_0.name, _arg_0.age
if name == nil then
name = self.name
end
if age == nil then
age = self.age
end
self.name = name
self.age = age
end
local logKV
logKV = function(_arg_0, ...)
local k, v
k, v = _arg_0.k, _arg_0.v
print("kv:", k, v)
return print("rest count:", select("#", ...))
end
do
local foo
foo = function(_arg_0)
local a, b
a, b = _arg_0.a, _arg_0.b
if b == nil then
b = 0
end
return print(a, b)
end
end
local t1
t1 = function(_arg_0, x)
local a
a = _arg_0.a
return print(a, x)
end
local t2
t2 = function(_arg_0)
local a
a = _arg_0.a
return print(a)
end
local w
w = function(id, _arg_0, _arg_1)
local x, y
x, y = _arg_0.x, _arg_0.y
if x == nil then
x = 0
end
if y == nil then
y = 0
end
local flag
flag = _arg_1.flag
return print(id, x, y, flag)
end
local g1
g1 = function(_arg_0)
local a, ax
a, ax = _arg_0.a, _arg_0.a
return print(a, ax)
end
local g4
g4 = function(_arg_0)
local a, b, rest
a, b, rest = _arg_0.a, _arg_0.b, _anon_func_0(_arg_0)
return print(a, b)
end
end
return nil
|