on master help sign in
.
commitd74d8772abfbd94db534ae70d64485168fe1f613 authoriko <mail@iko.soy> dateTue 30 Jul 2024, 11:52 (2 years ago) parent025791c
27 files changed+322−322
desk/res/lua/cycled/all.lua+3−3 desk/res/lua/cycled/api.lua+11−11 desk/res/lua/cycled/attrib.lua+16−16 desk/res/lua/cycled/bitwise.lua+31−31 desk/res/lua/cycled/calls.lua+1−1 desk/res/lua/cycled/code.lua+19−19 desk/res/lua/cycled/constructs.lua+17−17 desk/res/lua/cycled/coroutine.lua+7−7 desk/res/lua/cycled/db.lua+5−5 desk/res/lua/cycled/errors.lua+2−2 desk/res/lua/cycled/events.lua+26−26 desk/res/lua/cycled/files.lua+16−16 desk/res/lua/cycled/gc.lua+4−4 desk/res/lua/cycled/gengc.lua+6−6 desk/res/lua/cycled/goto.lua+1−1 desk/res/lua/cycled/heavy.lua+5−5 desk/res/lua/cycled/literals.lua+1−1 desk/res/lua/cycled/locals.lua+5−5 desk/res/lua/cycled/math.lua+109−109 desk/res/lua/cycled/nextvar.lua+5−5 desk/res/lua/cycled/pm.lua+1−1 desk/res/lua/cycled/sort.lua+4−4 desk/res/lua/cycled/strings.lua+14−14 desk/res/lua/cycled/tpack.lua+7−7 desk/res/lua/cycled/utf8.lua+1−1 desk/res/lua/cycled/vararg.lua+1−1 desk/res/lua/cycled/verybig.lua+4−4
desk/res/lua/cycled/all.lua+3−3
@@ -63,7 +63,7 @@ if not T then
6363local max = 0x0
6464showmem=function ()
6565local m = (collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 0x400)
66−max=((((m > max)) and m) or max)
66+max=(((m > max) and m) or max)
6767print(format("\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{2d}\u{2d}\u{20}\u{74}\u{6f}\u{74}\u{61}\u{6c}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}\u{20}\u{25}\u{73}\u{2c}\u{20}\u{6d}\u{61}\u{78}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}\u{20}\u{25}\u{73}\u{20}\u{2d}\u{2d}\u{2d}\u{2d}\u{a}",F(m),F(max)))
6868end
6969Cstacklevel=function ()
@@ -193,9 +193,9 @@ walltime=difftime(time(),walltime)
193193print(format("\u{a}\u{a}\u{74}\u{6f}\u{74}\u{61}\u{6c}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{3a}\u{20}\u{25}\u{2e}\u{32}\u{66}\u{73}\u{20}\u{28}\u{77}\u{61}\u{6c}\u{6c}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{3a}\u{20}\u{25}\u{67}\u{73}\u{29}\u{a}",clocktime,walltime))
194194if not usertests then
195195lasttime=(lasttime or clocktime)
196−local diff = (((clocktime - lasttime)) / lasttime)
196+local diff = ((clocktime - lasttime) / lasttime)
197197local tolerance = 0.05
198−if (((diff >= tolerance) or (diff <= - tolerance))) then
198+if ((diff >= tolerance) or (diff <= - tolerance)) then
199199warn(format("\u{23}\u{74}\u{69}\u{6d}\u{65}\u{20}\u{64}\u{69}\u{66}\u{66}\u{65}\u{72}\u{65}\u{6e}\u{63}\u{65}\u{20}\u{66}\u{72}\u{6f}\u{6d}\u{20}\u{70}\u{72}\u{65}\u{76}\u{69}\u{6f}\u{75}\u{73}\u{20}\u{74}\u{65}\u{73}\u{74}\u{3a}\u{20}\u{25}\u{2b}\u{2e}\u{31}\u{66}\u{25}\u{25}",(diff * 0x64)))
200200end
201201assert(open(fname,"\u{77}")):write(clocktime):close()
desk/res/lua/cycled/api.lua+11−11
@@ -1,5 +1,5 @@
11if (T == nil) then
2−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
2+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
33return
44end
55local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
@@ -7,7 +7,7 @@ local pack = table.pack
77local MEMERRMSG = "\u{6e}\u{6f}\u{74}\u{20}\u{65}\u{6e}\u{6f}\u{75}\u{67}\u{68}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}"
88local function tcheck
99(t1,t2)
10−assert((t1.n == (((t2.n or # t2)) + 0x1)))
10+assert((t1.n == ((t2.n or # t2) + 0x1)))
1111for i = 0x2, t1.n
1212do
1313assert((t1[i] == t2[(i - 0x1)]))
@@ -142,7 +142,7 @@ a,b,c=setmetatable({0x4},mt),setmetatable({0x8},mt),setmetatable({- 0x3},mt)
142142local x,y,z = T.testC("\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2b}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",0xa,a,b)
143143assert((((x == 0xa) and (y[0x1] == 0xc)) and (z == nil)))
144144assert((T.testC("\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{25}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",a,c)[0x1] == (0x4 % - 0x3)))
145−assert((T.testC("\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5f}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2b}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{25}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",b,a,c)[0x1] == (0x8 % ((0x4 + ((- 0x3) * 0x2))))))
145+assert((T.testC("\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5f}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2b}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{25}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",b,a,c)[0x1] == (0x8 % (0x4 + ((- 0x3) * 0x2)))))
146146checkerr("\u{64}\u{69}\u{76}\u{69}\u{64}\u{65}\u{20}\u{62}\u{79}\u{20}\u{7a}\u{65}\u{72}\u{6f}",T.testC,"\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5c}",0xa,0x0)
147147checkerr("\u{25}\u{25}\u{30}",T.testC,"\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{25}",0xa,0x0)
148148assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{54}\u{20}\u{32}\u{20}\u{35}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",0x3,0x2,0x2,0x4,0x2,0x2))
@@ -219,7 +219,7 @@ n=(n or 0x2)
219219local prog = "\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{63}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{6e}\u{69}\u{6c}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{73}\u{6e}\u{75}\u{6c}\u{6c}\u{20}\u{25}\u{64}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{38}\u{a}\u{20}\u{20}"
220220prog=string.format(prog,n,n,n,n,n,n,n,n)
221221local a,b,c,d,e,f,g,h = T.testC(prog,x)
222−return (((((((B(a) + B(b)) + B(c)) + B(d)) + B(e)) + B(f)) + B(g)) + ((0x64 * B(h))))
222+return (((((((B(a) + B(b)) + B(c)) + B(d)) + B(e)) + B(f)) + B(g)) + (0x64 * B(h)))
223223end
224224assert((count(0x3) == 0x2))
225225assert((count("\u{61}\u{6c}\u{6f}") == 0x1))
@@ -303,17 +303,17 @@ collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
303303print("\u{2b}")
304304end
305305local lim = ((_soft and 0x1f4) or 0x2ee0)
306−local prog = {("\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}" .. ((((lim * 0x2) + 0x64)) .. "\u{6d}\u{73}\u{67}")),"\u{6e}\u{65}\u{77}\u{74}\u{61}\u{62}\u{6c}\u{65}"}
306+local prog = {("\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}" .. (((lim * 0x2) + 0x64) .. "\u{6d}\u{73}\u{67}")),"\u{6e}\u{65}\u{77}\u{74}\u{61}\u{62}\u{6c}\u{65}"}
307307for i = 0x1, lim
308308do
309309prog[# (prog + 0x1)]=("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}" .. i)
310310prog[# (prog + 0x1)]=("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}" .. (i * 0xa))
311311end
312312prog[# (prog + 0x1)]="\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{32}"
313−prog[# (prog + 0x1)]=("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}" .. - (((0x2 * lim) + 0x2)))
313+prog[# (prog + 0x1)]=("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}" .. - ((0x2 * lim) + 0x2))
314314for i = 0x1, lim
315315do
316−prog[# (prog + 0x1)]=("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}" .. - (((0x2 * (((lim - i) + 0x1))) + 0x1)))
316+prog[# (prog + 0x1)]=("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}" .. - ((0x2 * ((lim - i) + 0x1)) + 0x1))
317317end
318318prog[# (prog + 0x1)]="\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}"
319319prog=table.concat(prog,"\u{3b}")
@@ -1029,7 +1029,7 @@ testamem("\u{67}\u{73}\u{75}\u{62}",function ()
10291029local a,b = string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{61}\u{29}",function (x)
10301030return (x .. "\u{62}")
10311031end)
1032−return ((a == "\u{61}\u{62}\u{6c}\u{6f}\u{20}\u{61}\u{62}\u{6c}\u{6f}"))
1032+return (a == "\u{61}\u{62}\u{6c}\u{6f}\u{20}\u{61}\u{62}\u{6c}\u{6f}")
10331033end)
10341034testamem("\u{64}\u{75}\u{6d}\u{70}\u{2f}\u{75}\u{6e}\u{64}\u{75}\u{6d}\u{70}",function ()
10351035local a = load(testprog)
@@ -1055,11 +1055,11 @@ a[i]=i
10551055;
10561056a[(i .. "\u{61}")]={}
10571057end
1058−return (((type(a[(lim .. "\u{61}")]) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and (a[lim] == lim)))
1058+return ((type(a[(lim .. "\u{61}")]) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and (a[lim] == lim))
10591059end)
10601060testamem("\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{6f}\u{72}\u{73}",function ()
10611061local a = {0xa,0x14,0x1e,0x28,0x32,["\u{61}"] = 0x1,["\u{62}"] = 0x2,["\u{63}"] = 0x3,["\u{64}"] = 0x4,["\u{65}"] = 0x5}
1062−return (((type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and (a.e == 0x5)))
1062+return ((type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and (a.e == 0x5))
10631063end)
10641064local a = 0x1
10651065local close = nil
@@ -1069,7 +1069,7 @@ return function (x)
10691069return (b + x)
10701070end
10711071end
1072−return ((close(0x2)(0x4) == 0x6))
1072+return (close(0x2)(0x4) == 0x6)
10731073end)
10741074testamem("\u{75}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}",function ()
10751075local a = coroutine.wrap(function ()
desk/res/lua/cycled/attrib.lua+16−16
@@ -56,7 +56,7 @@ return (DIR .. x)
5656end
5757local function DC
5858(x)
59−local ext = ((((dirsep == "\u{5c}")) and "\u{2e}\u{64}\u{6c}\u{6c}") or "\u{2e}\u{73}\u{6f}")
59+local ext = (((dirsep == "\u{5c}") and "\u{2e}\u{64}\u{6c}\u{6c}") or "\u{2e}\u{73}\u{6f}")
6060return D((x .. ext))
6161end
6262local function createfiles
@@ -184,7 +184,7 @@ if not st then
184184local f,err,when = package.loadlib("\u{64}\u{6f}\u{6e}\u{6f}\u{74}\u{65}\u{78}\u{69}\u{73}\u{74}",(p .. "\u{78}\u{75}\u{78}\u{75}"))
185185assert(not ((f and (type(err) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")) and (when == "\u{61}\u{62}\u{73}\u{65}\u{6e}\u{74}")))
186186;
187−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{64}\u{79}\u{6e}\u{61}\u{6d}\u{69}\u{63}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
187+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{64}\u{79}\u{6e}\u{61}\u{6d}\u{69}\u{63}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
188188print(err,when)
189189else
190190local f = assert(package.loadlib(DC("\u{6c}\u{69}\u{62}\u{31}"),(p .. "\u{6f}\u{6e}\u{65}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")))
@@ -264,7 +264,7 @@ assert((((a == 0x0) and (b == 0x5)) and (c == 0x1)))
264264a,b,c=0x0,0x5,f(0x0)
265265assert((((a == 0x0) and (b == 0x5)) and (c == nil)))
266266end
267−local a,b,c,d = (0x1 and nil),(0x1 or nil),((0x1 and ((nil or 0x1)))),0x6
267+local a,b,c,d = (0x1 and nil),(0x1 or nil),(0x1 and (nil or 0x1)),0x6
268268assert(not (((a and b) and c) and (d == 0x6)))
269269d=0x14
270270a,b,c,d=f()
@@ -272,24 +272,24 @@ assert(((((a == 0xa) and (b == 0xb)) and (c == 0xc)) and (d == nil)))
272272a,b=f(),0x1,0x2,0x3,f()
273273assert(((a == 0xa) and (b == 0x1)))
274274assert((((a < b) == false) and ((a > b) == true)))
275−assert((((0xa and 0x2)) == 0x2))
276−assert((((0xa or 0x2)) == 0xa))
277−assert((((0xa or assert(nil))) == 0xa))
278−assert(not ((nil and assert(nil))))
279−assert((((nil or "\u{61}\u{6c}\u{6f}")) == "\u{61}\u{6c}\u{6f}"))
280−assert((((nil and 0xa)) == nil))
281−assert((((false and 0xa)) == false))
282−assert((((true or 0xa)) == true))
283−assert((((false or 0xa)) == 0xa))
275+assert(((0xa and 0x2) == 0x2))
276+assert(((0xa or 0x2) == 0xa))
277+assert(((0xa or assert(nil)) == 0xa))
278+assert(not (nil and assert(nil)))
279+assert(((nil or "\u{61}\u{6c}\u{6f}") == "\u{61}\u{6c}\u{6f}"))
280+assert(((nil and 0xa) == nil))
281+assert(((false and 0xa) == false))
282+assert(((true or 0xa) == true))
283+assert(((false or 0xa) == 0xa))
284284assert((false ~= nil))
285285assert((nil ~= false))
286286assert(not (nil == true))
287287assert(not not (nil == false))
288288assert(not not (0x1 == true))
289289assert(not not (a == true))
290−assert(not not (((0x6 or nil)) == true))
291−assert(not not (((nil and 0x38)) == false))
292−assert(not not (((nil and true)) == false))
290+assert(not not ((0x6 or nil) == true))
291+assert(not not ((nil and 0x38) == false))
292+assert(not not ((nil and true) == false))
293293assert(not (0xa == false))
294294assert(not ({} == false))
295295assert(not (0.5 == false))
@@ -357,7 +357,7 @@ local st,msg = pcall(foo)
357357assert(not (st and string.find(msg,"\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")))
358358end
359359local maxint = math.maxinteger
360−while ((maxint ~= ((maxint + 0.0))) or (((maxint - 0x1)) ~= ((maxint - 1.0)))) do
360+while ((maxint ~= (maxint + 0.0)) or ((maxint - 0x1) ~= (maxint - 1.0))) do
361361maxint=(maxint // 0x2)
362362end
363363local maxintF = (maxint + 0.0)
desk/res/lua/cycled/bitwise.lua+31−31
@@ -2,7 +2,7 @@ print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{62}\u{69}\u{74}\u{77}\
22require("\u{62}\u{77}\u{63}\u{6f}\u{65}\u{72}\u{63}\u{69}\u{6f}\u{6e}")
33local numbits = (string.packsize("\u{6a}") * 0x8)
44assert(~ (0x0 == - 0x1))
5−assert((((0x1 << ((numbits - 0x1)))) == math.mininteger))
5+assert(((0x1 << (numbits - 0x1)) == math.mininteger))
66local a,b,c,d
77a=0xffffffffffffffff
88assert((a == - (0x1 and (a & - ((0x1 == a) and ((a & 0x23) == 0x23))))))
@@ -51,15 +51,15 @@ assert((load(code)() == 0x0))
5151local code = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2d}\u{31}\u{20}\u{3c}\u{3c}\u{20}\u{25}\u{64}",math.mininteger)
5252assert((load(code)() == 0x0))
5353end
54−assert(- (((0x1 >> 0x1) == (((0x1 << ((numbits - 0x1)))) - 0x1)) and ((0x1 << 0x1f) == 0x80000000)))
55−assert(- ((0x1 >> ((numbits - 0x1))) == 0x1))
54+assert(- (((0x1 >> 0x1) == ((0x1 << (numbits - 0x1)) - 0x1)) and ((0x1 << 0x1f) == 0x80000000)))
55+assert(- ((0x1 >> (numbits - 0x1)) == 0x1))
5656assert(- (((0x1 >> numbits) == 0x0) and - (0x1 >> - ((numbits == 0x0) and - (((0x1 << numbits) == 0x0) and - (0x1 << - (numbits == 0x0)))))))
5757assert(((0x1 >> math.mininteger) == 0x0))
5858assert(((0x1 >> math.maxinteger) == 0x0))
5959assert(((0x1 << math.mininteger) == 0x0))
6060assert(((0x1 << math.maxinteger) == 0x0))
61−assert((((((0x2 ^ 0x1e) - 0x1)) << (0x2 ^ 0x1e)) == 0x0))
62−assert((((((0x2 ^ 0x1e) - 0x1)) >> (0x2 ^ 0x1e)) == 0x0))
61+assert(((((0x2 ^ 0x1e) - 0x1) << (0x2 ^ 0x1e)) == 0x0))
62+assert(((((0x2 ^ 0x1e) - 0x1) >> (0x2 ^ 0x1e)) == 0x0))
6363assert((0x1 >> - ((0x3 == (0x1 << 0x3)) and ((0x3e8 >> 0x5) == (0x3e8 << - 0x5)))))
6464assert((("\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}" | 0x0) == - 0x1))
6565assert((("\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{65}" & "\u{2d}\u{31}") == - 0x2))
@@ -68,9 +68,9 @@ assert((("\u{20}\u{20}\u{20}\u{a}\u{20}\u{20}\u{2d}\u{34}\u{35}\u{20}\u{20}\u{9}
6868assert((("\u{31}\u{32}\u{33}\u{34}\u{2e}\u{30}" << "\u{35}\u{2e}\u{30}") == (0x4d2 * 0x20)))
6969assert((("\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{2e}\u{30}" ~ "\u{30}\u{78}\u{41}\u{41}\u{41}\u{41}") == 0x5555))
7070assert(~ ("\u{30}\u{78}\u{30}\u{2e}\u{30}\u{30}\u{30}\u{70}\u{34}" == - 0x1))
71−assert((((("\u{37}" .. 0x3)) << 0x1) == 0x92))
72−assert(((0xffffffff >> ((0x1 .. "\u{39}"))) == 0x1fff))
73−assert(((0xa | ((0x1 .. "\u{39}"))) == 0x1b))
71+assert(((("\u{37}" .. 0x3) << 0x1) == 0x92))
72+assert(((0xffffffff >> (0x1 .. "\u{39}")) == 0x1fff))
73+assert(((0xa | (0x1 .. "\u{39}")) == 0x1b))
7474do
7575local st,msg = pcall(function ()
7676return (0x4 & "\u{61}")
@@ -95,7 +95,7 @@ return ~ (a & 0xffffffff)
9595end
9696function bit.band(x,y,z, ...)
9797if not z then
98−return (((((x or - 0x1)) & ((y or - 0x1)))) & 0xffffffff)
98+return (((x or - 0x1) & (y or - 0x1)) & 0xffffffff)
9999else
100100local arg = {...}
101101local res = ((x & y) & z)
@@ -108,7 +108,7 @@ end
108108end
109109function bit.bor(x,y,z, ...)
110110if not z then
111−return (((((x or 0x0)) | ((y or 0x0)))) & 0xffffffff)
111+return (((x or 0x0) | (y or 0x0)) & 0xffffffff)
112112else
113113local arg = {...}
114114local res = ((x | y) | z)
@@ -121,7 +121,7 @@ end
121121end
122122function bit.bxor(x,y,z, ...)
123123if not z then
124−return (((((x or 0x0)) ~ ((y or 0x0)))) & 0xffffffff)
124+return (((x or 0x0) ~ (y or 0x0)) & 0xffffffff)
125125else
126126local arg = {...}
127127local res = ((x ~ y) ~ z)
@@ -136,23 +136,23 @@ function bit.btest(...)
136136return (bit.band(...) ~= 0x0)
137137end
138138function bit.lshift(a,b)
139−return (((((a & 0xffffffff)) << b)) & 0xffffffff)
139+return (((a & 0xffffffff) << b) & 0xffffffff)
140140end
141141function bit.rshift(a,b)
142−return (((((a & 0xffffffff)) >> b)) & 0xffffffff)
142+return (((a & 0xffffffff) >> b) & 0xffffffff)
143143end
144144function bit.arshift(a,b)
145145a=(a & 0xffffffff)
146−if ((b <= 0x0) or (((a & 0x80000000)) == 0x0)) then
147−return (((a >> b)) & 0xffffffff)
146+if ((b <= 0x0) or ((a & 0x80000000) == 0x0)) then
147+return ((a >> b) & 0xffffffff)
148148else
149−return (((((a >> b)) | ~ ((0xffffffff >> b)))) & 0xffffffff)
149+return (((a >> b) | ~ (0xffffffff >> b)) & 0xffffffff)
150150end
151151end
152152function bit.lrotate(a,b)
153153b=(b & 0x1f)
154154a=(a & 0xffffffff)
155−a=(((a << b)) | ((a >> ((0x20 - b)))))
155+a=((a << b) | (a >> (0x20 - b)))
156156return (a & 0xffffffff)
157157end
158158function bit.rrotate(a,b)
@@ -168,12 +168,12 @@ return f,~ (- (0x1 << w))
168168end
169169function bit.extract(a,f,w)
170170local f,mask = checkfield(f,w)
171−return (((a >> f)) & mask)
171+return ((a >> f) & mask)
172172end
173173function bit.replace(a,v,f,w)
174174local f,mask = checkfield(f,w)
175175v=(v & mask)
176−a=(((a & ~ ((mask << f)))) | ((v << f)))
176+a=((a & ~ (mask << f)) | (v << f))
177177return (a & 0xffffffff)
178178end
179179return bit
@@ -187,14 +187,14 @@ assert((bit32.bxor() == 0x0))
187187assert((bit32.band() == bit32.band(0xffffffff)))
188188assert((bit32.band(0x1,0x2) == 0x0))
189189assert((bit32.band(- 0x1) == 0xffffffff))
190−assert((bit32.band((((0x1 << 0x21)) - 0x1)) == 0xffffffff))
191−assert((bit32.band(- (((0x1 << 0x21)) - 0x1)) == 0xffffffff))
192−assert((bit32.band((((0x1 << 0x21)) + 0x1)) == 0x1))
193−assert((bit32.band(- (((0x1 << 0x21)) + 0x1)) == 0x1))
194−assert((bit32.band(- ((0x1 << 0x28))) == 0x0))
190+assert((bit32.band(((0x1 << 0x21) - 0x1)) == 0xffffffff))
191+assert((bit32.band(- ((0x1 << 0x21) - 0x1)) == 0xffffffff))
192+assert((bit32.band(((0x1 << 0x21) + 0x1)) == 0x1))
193+assert((bit32.band(- ((0x1 << 0x21) + 0x1)) == 0x1))
194+assert((bit32.band(- (0x1 << 0x28)) == 0x0))
195195assert((bit32.band((0x1 << 0x28)) == 0x0))
196−assert((bit32.band(- (((0x1 << 0x28)) - 0x2)) == 0xfffffffe))
197−assert((bit32.band((((0x1 << 0x28)) - 0x4)) == 0xfffffffc))
196+assert((bit32.band(- ((0x1 << 0x28) - 0x2)) == 0xfffffffe))
197+assert((bit32.band(((0x1 << 0x28) - 0x4)) == 0xfffffffc))
198198assert((bit32.lrotate(0x0,- 0x1) == 0x0))
199199assert((bit32.lrotate(0x0,0x7) == 0x0))
200200assert((bit32.lrotate(0x12345678,0x0) == 0x12345678))
@@ -243,10 +243,10 @@ do
243243assert((bit32.band(b) == b))
244244assert((bit32.band(b,b) == b))
245245assert((bit32.band(b,b,b,b) == b))
246−assert((bit32.btest(b,b) == ((b ~= 0x0))))
246+assert((bit32.btest(b,b) == (b ~= 0x0)))
247247assert((bit32.band(b,b,b) == b))
248248assert((bit32.band(b,b,b,~ b) == 0x0))
249−assert((bit32.btest(b,b,b) == ((b ~= 0x0))))
249+assert((bit32.btest(b,b,b) == (b ~= 0x0)))
250250assert((bit32.band(b,bit32.bnot(b)) == 0x0))
251251assert((bit32.bor(b,bit32.bnot(b)) == bit32.bnot(0x0)))
252252assert((bit32.bor(b) == b))
@@ -260,7 +260,7 @@ assert((bit32.bxor(b,b,b,b) == 0x0))
260260assert((bit32.bxor(b,0x0) == b))
261261assert((bit32.bnot(b) ~= b))
262262assert((bit32.bnot(bit32.bnot(b)) == b))
263−assert((bit32.bnot(b) == ((((0x1 << 0x20)) - 0x1) - b)))
263+assert((bit32.bnot(b) == (((0x1 << 0x20) - 0x1) - b)))
264264assert((bit32.lrotate(b,0x20) == b))
265265assert((bit32.rrotate(b,0x20) == b))
266266assert((bit32.lshift(bit32.lshift(b,- 0x4),0x4) == bit32.band(b,bit32.bnot(0xf))))
@@ -296,8 +296,8 @@ assert((bit32.replace(0x12345678,0x5,0x1c,0x4) == 0x52345678))
296296assert((bit32.replace(0x12345678,0x87654321,0x0,0x20) == 0x87654321))
297297assert((bit32.replace(0x0,0x1,0x2) == (0x2 ^ 0x2)))
298298assert((bit32.replace(0x0,- 0x1,0x4) == (0x2 ^ 0x4)))
299−assert((bit32.replace(- 0x1,0x0,0x1f) == (((0x1 << 0x1f)) - 0x1)))
300−assert((bit32.replace(- 0x1,0x0,0x1,0x2) == (((0x1 << 0x20)) - 0x7)))
299+assert((bit32.replace(- 0x1,0x0,0x1f) == ((0x1 << 0x1f) - 0x1)))
300+assert((bit32.replace(- 0x1,0x0,0x1,0x2) == ((0x1 << 0x20) - 0x7)))
301301assert((bit32.bor(3.0) == 0x3))
302302assert((bit32.bor(- 4.0) == 0xfffffffc))
303303if (((2.0 ^ 0x32) < ((2.0 ^ 0x32) + 1.0)) and ((2.0 ^ 0x32) < (- (0x1 >> 0x1)))) then
desk/res/lua/cycled/calls.lua+1−1
@@ -267,7 +267,7 @@ print("\u{2b}")
267267local function unlpack
268268(t,i)
269269i=(i or 0x1)
270−if ((i <= # t)) then
270+if (i <= # t) then
271271return t[i],unlpack(t,(i + 0x1))
272272end
273273end
desk/res/lua/cycled/code.lua+19−19
@@ -1,5 +1,5 @@
11if (T == nil) then
2−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{70}\u{63}\u{6f}\u{64}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
2+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{70}\u{63}\u{6f}\u{64}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
33return
44end
55print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{64}\u{65}\u{20}\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6d}\u{69}\u{7a}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{73}")
@@ -7,7 +7,7 @@ local k0aux <const> = 0x0
77local k0 <const> = k0aux
88local k1 <const> = 0x1
99local k3 <const> = 0x3
10−local k6 <const> = (k3 + ((k3 << k0)))
10+local k6 <const> = (k3 + (k3 << k0))
1111local kFF0 <const> = 0xff0
1212local k3_78 <const> = 3.78
1313local x,k3_78_4 <const> = 0xa,(k3_78 / 0x4)
@@ -218,7 +218,7 @@ end,"\u{4c}\u{4f}\u{41}\u{44}\u{54}\u{52}\u{55}\u{45}","\u{52}\u{45}\u{54}\u{55}
218218check(function ()
219219local a,b,c,d
220220a=(b * a)
221−c.x,a[b]=- (((((a + (d / b)) - a[b])) ^ a.x)),b
221+c.x,a[b]=- (((a + (d / b)) - a[b]) ^ a.x),b
222222end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{4d}\u{55}\u{4c}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{44}\u{49}\u{56}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{41}\u{44}\u{44}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{53}\u{55}\u{42}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{47}\u{45}\u{54}\u{46}\u{49}\u{45}\u{4c}\u{44}","\u{50}\u{4f}\u{57}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{55}\u{4e}\u{4d}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{53}\u{45}\u{54}\u{46}\u{49}\u{45}\u{4c}\u{44}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
223223check(function ()
224224local a,b
@@ -339,10 +339,10 @@ checkK(function ()
339339return (0x3 ^ - 0x1)
340340end,(0x1 / 0x3))
341341checkK(function ()
342−return (((0x1 + 0x1)) ^ ((0x32 + 0x32)))
342+return ((0x1 + 0x1) ^ (0x32 + 0x32))
343343end,(0x2 ^ 0x64))
344344checkK(function ()
345−return ((- 0x2) ^ ((0x1f - 0x2)))
345+return ((- 0x2) ^ (0x1f - 0x2))
346346end,- (0x20000000 + 0.0))
347347checkF(function ()
348348return ((- ((k3 ^ 0x0) + 0x5)) // 3.0)
@@ -351,10 +351,10 @@ checkI(function ()
351351return - (k3 % 0x5)
352352end,0x2)
353353checkF(function ()
354−return - ((((((((2.0 ^ 0x8) + - (- 0x1))) % 0x8)) / 0x2) * 0x4) - 0x3)
354+return - ((((((2.0 ^ 0x8) + - (- 0x1)) % 0x8) / 0x2) * 0x4) - 0x3)
355355end,- 5.0)
356356checkF(function ()
357−return - ((((((((0x2 ^ 0x8) + - (- 0x1))) % 0x8)) // 0x2) * 0x4) - 0x3)
357+return - ((((((0x2 ^ 0x8) + - (- 0x1)) % 0x8) // 0x2) * 0x4) - 0x3)
358358end,- 7.0)
359359checkI(function ()
360360return (240.0 | (204.0 ~ (0xaa & 0xfd)))
@@ -366,11 +366,11 @@ checkI(function ()
366366return ~ ~ - 1024.0
367367end,- 0x400)
368368checkI(function ()
369−return (((((0x64 << k6)) << - 0x4)) >> 0x2)
369+return (((0x64 << k6) << - 0x4) >> 0x2)
370370end,0x64)
371371local a = 0x11
372372;
373−local sbx = (((((0x1 << a)) - 0x1)) >> 0x1)
373+local sbx = (((0x1 << a) - 0x1) >> 0x1)
374374local border <const> = 0xffff
375375checkI(function ()
376376return border
@@ -385,8 +385,8 @@ checkK(function ()
385385return (border + 0x2)
386386end,(sbx + 0x2))
387387checkK(function ()
388−return - ((border + 0x1))
389−end,- ((sbx + 0x1)))
388+return - (border + 0x1)
389+end,- (sbx + 0x1))
390390local border <const> = 65535.0
391391checkF(function ()
392392return border
@@ -396,13 +396,13 @@ return - border
396396end,- (sbx + 0.0))
397397checkF(function ()
398398return (border + 0x1)
399−end,((sbx + 1.0)))
399+end,(sbx + 1.0))
400400checkK(function ()
401401return (border + 0x2)
402−end,((sbx + 2.0)))
402+end,(sbx + 2.0))
403403checkK(function ()
404−return - ((border + 0x1))
405−end,- ((sbx + 1.0)))
404+return - (border + 0x1)
405+end,- (sbx + 1.0))
406406checkR(function (x)
407407return (x + k1)
408408end,0xa,0xb,"\u{41}\u{44}\u{44}\u{49}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
@@ -428,7 +428,7 @@ checkR(function (x)
428428return (x // 0x1)
429429end,10.0,10.0,"\u{49}\u{44}\u{49}\u{56}\u{4b}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{4b}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
430430checkR(function (x)
431−return (x % ((0x64 - 0xa)))
431+return (x % (0x64 - 0xa))
432432end,0x5b,0x1,"\u{4d}\u{4f}\u{44}\u{4b}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{4b}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
433433checkR(function (x)
434434return (k1 << x)
@@ -470,7 +470,7 @@ checkR(function (x)
470470return (x // 0x2710)
471471end,0x2710,0x1,"\u{49}\u{44}\u{49}\u{56}\u{4b}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{4b}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
472472checkR(function (x)
473−return (x % ((100.0 - 0xa)))
473+return (x % (100.0 - 0xa))
474474end,0x5b,1.0,"\u{4d}\u{4f}\u{44}\u{4b}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{4b}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
475475check(function ()
476476return - 0.0
@@ -527,7 +527,7 @@ end
527527checkequal(function ()
528528local a
529529;
530−if not ((a or b)) then
530+if not (a or b) then
531531b=a
532532end
533533end,function ()
@@ -544,7 +544,7 @@ return ((0x0 <= a) and (a <= l))
544544end,function (l)
545545local a
546546;
547−return not (not (((a >= 0x0)) or not ((a <= l))))
547+return not (not ((a >= 0x0) or not (a <= l)))
548548end)
549549check(function (a,b)
550550while a do
desk/res/lua/cycled/constructs.lua+17−17
@@ -28,13 +28,13 @@ a=(0x3 // 0x0)
2828;
2929a=(0x0 % 0x0)
3030end
31−assert((((0x2 ^ 0x3) ^ 0x2) == (0x2 ^ ((0x3 ^ 0x2)))))
31+assert((((0x2 ^ 0x3) ^ 0x2) == (0x2 ^ (0x3 ^ 0x2))))
3232;
33−assert((((0x2 ^ 0x3) * 0x4) == (((0x2 ^ 0x3)) * 0x4)))
33+assert((((0x2 ^ 0x3) * 0x4) == ((0x2 ^ 0x3) * 0x4)))
3434;
3535assert((2.0 ^ - ((0x2 == (0x1 / 0x4)) and - (0x2 ^ - - (0x2 == - - - 0x4)))))
3636;
37−assert(not ((nil and 0x2) and not (((0x2 > 0x3) or (0x3 < 0x2)))))
37+assert(not ((nil and 0x2) and not ((0x2 > 0x3) or (0x3 < 0x2))))
3838;
3939assert(- (((0x3 - 0x1) - 0x5) == ((0x0 + 0x0) - 0x9)))
4040;
@@ -43,36 +43,36 @@ assert(- ((0x2 ^ 0x2) == - ((0x4 and (((- 0x2) ^ 0x2) == 0x4)) and ((((0x2 * 0x2
4343assert(- (((0x3 % 0x5) == 0x2) and - ((0x3 + 0x5) == 0x2)))
4444assert(((((0x2 * 0x1) + (0x3 / 0x3)) == 0x3) and (((0x1 + 0x2) .. (0x3 * 0x1)) == "\u{33}\u{33}")))
4545;
46−assert(not ((((0x2 + 0x1) > (0x3 * 0x1))) and (("\u{61}" .. "\u{62}") > "\u{61}")))
46+assert(not (((0x2 + 0x1) > (0x3 * 0x1)) and (("\u{61}" .. "\u{62}") > "\u{61}")))
4747;
4848assert(((0xf0 | (0xcc ~ (0xaa & 0xfd))) == 0xf4))
4949assert(((((0xfd & 0xaa) ~ 0xcc) | 0xf0) == 0xf4))
5050assert(((0xf0 & (0xf + 0x1)) == 0x10))
5151assert(((((0x3 ^ 0x4) // (0x2 ^ 0x3)) // 0x5) == 0x2))
52−assert(- (((0x3 + (((0x4 * 0x5) // ((0x2 ^ 0x3) ^ 0x2)) // 0x9)) + ((0x4 % 0xa) / 0x3)) == (((- 0x3) + ((((((0x4 * 0x5)) // ((0x2 ^ ((0x3 ^ 0x2)))))) // 0x9))) + ((((0x4 % 0xa)) / 0x3)))))
53−assert(not ((((true or false)) and nil)))
52+assert(- (((0x3 + (((0x4 * 0x5) // ((0x2 ^ 0x3) ^ 0x2)) // 0x9)) + ((0x4 % 0xa) / 0x3)) == (((- 0x3) + (((0x4 * 0x5) // (0x2 ^ (0x3 ^ 0x2))) // 0x9)) + ((0x4 % 0xa) / 0x3))))
53+assert(not ((true or false) and nil))
5454assert((true or (false and nil)))
55−assert((((((((0x1 or false)) and true)) or false)) == true))
56−assert((((((((nil and true)) or false)) and true)) == false))
55+assert(((((0x1 or false) and true) or false) == true))
56+assert(((((nil and true) or false) and true) == false))
5757local a,b = 0x1,nil
5858;
59−assert(- (((0x1 or 0x2)) == - (0x1 and ((((0x1 and 0x2)) + (- (1.25 or - 0x4))) == 0.75))))
59+assert(- ((0x1 or 0x2) == - (0x1 and (((0x1 and 0x2) + (- (1.25 or - 0x4))) == 0.75))))
6060;
61−local x = ((((((b or a)) + 0x1) == 0x2) and ((((0xa or a)) + 0x1) == 0xb)))
61+local x = ((((b or a) + 0x1) == 0x2) and (((0xa or a) + 0x1) == 0xb))
6262;
6363assert(x)
6464;
65−x=(((((((0x2 < 0x3)) or 0x1)) == true) and ((((0x2 < 0x3) and 0x4)) == 0x4)))
65+x=((((0x2 < 0x3) or 0x1) == true) and (((0x2 < 0x3) and 0x4) == 0x4))
6666;
6767assert(x)
6868;
6969local x,y = 0x1,0x2
7070;
71−assert(((((x > y)) and x) or (y == 0x2)))
71+assert((((x > y) and x) or (y == 0x2)))
7272;
7373x,y=0x2,0x1
7474;
75−assert(((((x > y)) and x) or (y == 0x2)))
75+assert((((x > y) and x) or (y == 0x2)))
7676;
7777assert(((0x499602d2 == tonumber("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}")) and ((0x499602d2 + 0x1) == 0x499602d3)))
7878do
@@ -215,7 +215,7 @@ end
215215end
216216;
217217end
218−assert(((a == ((n * ((n + 0x1))) / 0x2)) and (i == 0x3)))
218+assert(((a == ((n * (n + 0x1)) / 0x2)) and (i == 0x3)))
219219;
220220assert(((t[0x1] and t[n]) and not (t[0x0] and not t[(n + 0x1)])))
221221function f(b)
@@ -340,7 +340,7 @@ f,a=load(f)()
340340;
341341assert(((a.a == 0x1) and a.b))
342342function g(a,b,c,d,e)
343−if not (((((a >= b) or c) or (d and e)) or nil)) then
343+if not ((((a >= b) or c) or (d and e)) or nil) then
344344return 0x0
345345else
346346return 0x1
@@ -349,7 +349,7 @@ end
349349end
350350local function h
351351(a,b,c,d,e)
352−while (((((a >= b) or c) or ((d and e))) or nil)) do
352+while ((((a >= b) or c) or (d and e)) or nil) do
353353return 0x1
354354end
355355;
@@ -367,7 +367,7 @@ assert((((0x1 and ((0x2 < 0x3) == true)) and (0x2 < 0x3)) and (("\u{61}" < "\u{6
367367x=((0x2 < 0x3) and not 0x3)
368368;
369369assert((x == false))
370−x=((0x2 < 0x1) or (((0x2 > 0x1) and "\u{61}")))
370+x=((0x2 < 0x1) or ((0x2 > 0x1) and "\u{61}"))
371371;
372372assert((x == "\u{61}"))
373373do
desk/res/lua/cycled/coroutine.lua+7−7
@@ -282,7 +282,7 @@ do
282282assert((f1(i) == i))
283283end
284284local r1,r2,v = f1(nil)
285−assert((r1 and not (r2 and (v[0x1] == ((((0xa + 0x1)) * 0xa) / 0x2)))))
285+assert((r1 and not (r2 and (v[0x1] == (((0xa + 0x1) * 0xa) / 0x2)))))
286286local function f
287287(a,b)
288288a=coroutine.yield(a)
@@ -479,7 +479,7 @@ assert((_G.F() == 0xb))
479479assert((_G.F() == 0xc))
480480_G.F=nil
481481if not T then
482−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
482+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
483483else
484484print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{73}\u{20}\u{69}\u{6e}\u{73}\u{69}\u{64}\u{65}\u{20}\u{68}\u{6f}\u{6f}\u{6b}\u{73}")
485485local turn
@@ -823,21 +823,21 @@ i=(i + 0x1)
823823end
824824end
825825assert((run(function ()
826−if ((a >= b)) then
826+if (a >= b) then
827827return "\u{3e}\u{3d}"
828828else
829829return "\u{3c}"
830830end
831831end,{"\u{6c}\u{65}","\u{73}\u{75}\u{62}"}) == "\u{3c}"))
832832assert((run(function ()
833−if ((a <= b)) then
833+if (a <= b) then
834834return "\u{3c}\u{3d}"
835835else
836836return "\u{3e}"
837837end
838838end,{"\u{6c}\u{65}","\u{73}\u{75}\u{62}"}) == "\u{3c}\u{3d}"))
839839assert((run(function ()
840−if ((a == b)) then
840+if (a == b) then
841841return "\u{3d}\u{3d}"
842842else
843843return "\u{7e}\u{3d}"
@@ -961,7 +961,7 @@ end,{"\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74
961961do
962962local mt1 = {["\u{5f}\u{5f}\u{6c}\u{65}"] = function (a,b)
963963coroutine.yield(0xa)
964−return ((val(a) <= val(b)))
964+return (val(a) <= val(b))
965965end,["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
966966coroutine.yield(0xa)
967967return (val(a) < val(b))
@@ -1028,7 +1028,7 @@ end
10281028return s
10291029end,{"\u{66}\u{6f}\u{72}","\u{66}\u{6f}\u{72}","\u{66}\u{6f}\u{72}"}) == 0xa))
10301030if (T == nil) then
1031−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
1031+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{41}\u{50}\u{49}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
10321032print("\u{4f}\u{4b}")
10331033;
10341034return
desk/res/lua/cycled/db.lua+5−5
@@ -236,8 +236,8 @@ do
236236local n,v = debug.getlocal(0x1,- i)
237237assert(((n == "\u{28}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{29}") and (v == t[i])))
238238end
239−assert(not debug.getlocal(0x1,- ((t.n + 0x1))))
240−assert(not debug.setlocal(0x1,- ((t.n + 0x1)),0x1e))
239+assert(not debug.getlocal(0x1,- (t.n + 0x1)))
240+assert(not debug.setlocal(0x1,- (t.n + 0x1),0x1e))
241241if (t.n > 0x0) then
242242(function (x)
243243assert((debug.setlocal(0x2,- 0x1,x) == "\u{28}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{29}"))
@@ -250,7 +250,7 @@ foo()
250250foo(print)
251251foo(0xc8,0x3,0x4)
252252local a = {}
253−for i = 0x1, (((_soft and 0x64) or 0x3e8))
253+for i = 0x1, ((_soft and 0x64) or 0x3e8)
254254do
255255a[i]=i
256256end
@@ -349,7 +349,7 @@ debug.setlocal(0x2,0x3,0xa)
349349return 0x14
350350end
351351function g(a,b)
352−return (((a + 0x1)) + f())
352+return ((a + 0x1) + f())
353353end
354354assert((g(0x0,0x0) == 0x1e))
355355_G.f,_G.g=nil
@@ -388,7 +388,7 @@ local tab = {}
388388for i = 0x1, math.huge
389389do
390390local n,v = debug.getlocal((level + 0x1),i)
391−if not ((n and string.find(n,"\u{5e}\u{5b}\u{61}\u{2d}\u{7a}\u{41}\u{2d}\u{5a}\u{30}\u{2d}\u{39}\u{5f}\u{5d}\u{2b}\u{24}"))) then
391+if not (n and string.find(n,"\u{5e}\u{5b}\u{61}\u{2d}\u{7a}\u{41}\u{2d}\u{5a}\u{30}\u{2d}\u{39}\u{5f}\u{5d}\u{2b}\u{24}")) then
392392break
393393end
394394tab[n]=v
desk/res/lua/cycled/errors.lua+2−2
@@ -61,7 +61,7 @@ checksyntax("\u{20}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{41}\u{3a}\u{3a}\u{20}\u{61}\
6161checksyntax("\u{20}\u{20}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{41}\u{a}\u{20}\u{20}\u{20}\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{41}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}","\u{6e}\u{6f}\u{20}\u{76}\u{69}\u{73}\u{69}\u{62}\u{6c}\u{65}\u{20}\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{41}\u{27}",0x2)
6262end
6363if not T then
64−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{43}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
64+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{43}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
6565else
6666print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}")
6767local a = {}
@@ -445,7 +445,7 @@ assert((res() == finalresult))
445445end
446446s=(init .. string.rep(rep,0x1f4))
447447local res,msg = load(s)
448−assert(not (res and ((string.find(msg,"\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}") or string.find(msg,"\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}")))))
448+assert(not (res and (string.find(msg,"\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}") or string.find(msg,"\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))))
449449end
450450testrep("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3b}\u{20}\u{61}","\u{2c}\u{61}","\u{3d}\u{20}\u{31}","\u{2c}\u{31}")
451451testrep("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3b}\u{20}\u{61}\u{3d}","\u{7b}","\u{30}","\u{7d}")
desk/res/lua/cycled/events.lua+26−26
@@ -33,7 +33,7 @@ assert((setmetatable(a,t) == a))
3333function f(t,i,e)
3434assert(not e)
3535local p = rawget(t,"\u{70}\u{61}\u{72}\u{65}\u{6e}\u{74}")
36−return ((p and (p[i] + 0x3))),"\u{64}\u{75}\u{6d}\u{6d}\u{79}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"
36+return (p and (p[i] + 0x3)),"\u{64}\u{75}\u{6d}\u{6d}\u{79}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"
3737end
3838t.__index=f
3939a.parent={["\u{7a}"] = 0x19,["\u{78}"] = 0xc,[0x4] = 0x18}
@@ -221,7 +221,7 @@ checkcap({"\u{64}\u{69}\u{76}",a,0.0})
221221assert(((a % 0x2) == a))
222222;
223223checkcap({"\u{6d}\u{6f}\u{64}",a,0x2})
224−assert(((a // ((0x1 / 0x0))) == a))
224+assert(((a // (0x1 / 0x0)) == a))
225225;
226226checkcap({"\u{69}\u{64}\u{69}\u{76}",a,(0x1 / 0x0)})
227227;
@@ -339,18 +339,18 @@ return setmetatable({["\u{78}"] = x},t)
339339end
340340local function test
341341(a,b,c)
342−assert(not ((((Op(0x1) < Op(0x1))) and ((Op(0x1) < Op(0x2)))) and not ((Op(0x2) < Op(0x1)))))
343−assert(not ((((0x1 < Op(0x1))) and ((Op(0x1) < 0x2))) and not ((0x2 < Op(0x1)))))
344−assert(not ((((Op("\u{61}") < Op("\u{61}"))) and ((Op("\u{61}") < Op("\u{62}")))) and not ((Op("\u{62}") < Op("\u{61}")))))
345−assert(not (((("\u{61}" < Op("\u{61}"))) and ((Op("\u{61}") < "\u{62}"))) and not ((Op("\u{62}") < Op("\u{61}")))))
346−assert(((((Op(0x1) <= Op(0x1))) and ((Op(0x1) <= Op(0x2)))) and not ((Op(0x2) <= Op(0x1)))))
347−assert(((((Op("\u{61}") <= Op("\u{61}"))) and ((Op("\u{61}") <= Op("\u{62}")))) and not ((Op("\u{62}") <= Op("\u{61}")))))
348−assert(not (((Op(0x1) > Op(0x1))) and not (((Op(0x1) > Op(0x2))) and ((Op(0x2) > Op(0x1))))))
349−assert(not (((Op("\u{61}") > Op("\u{61}"))) and not (((Op("\u{61}") > Op("\u{62}"))) and ((Op("\u{62}") > Op("\u{61}"))))))
350−assert((((Op(0x1) >= Op(0x1))) and not (((Op(0x1) >= Op(0x2))) and ((Op(0x2) >= Op(0x1))))))
351−assert((((0x1 >= Op(0x1))) and not (((0x1 >= Op(0x2))) and ((Op(0x2) >= 0x1)))))
352−assert((((Op("\u{61}") >= Op("\u{61}"))) and not (((Op("\u{61}") >= Op("\u{62}"))) and ((Op("\u{62}") >= Op("\u{61}"))))))
353−assert(((("\u{61}" >= Op("\u{61}"))) and not (((Op("\u{61}") >= "\u{62}")) and ((Op("\u{62}") >= Op("\u{61}"))))))
342+assert(not (((Op(0x1) < Op(0x1)) and (Op(0x1) < Op(0x2))) and not (Op(0x2) < Op(0x1))))
343+assert(not (((0x1 < Op(0x1)) and (Op(0x1) < 0x2)) and not (0x2 < Op(0x1))))
344+assert(not (((Op("\u{61}") < Op("\u{61}")) and (Op("\u{61}") < Op("\u{62}"))) and not (Op("\u{62}") < Op("\u{61}"))))
345+assert(not ((("\u{61}" < Op("\u{61}")) and (Op("\u{61}") < "\u{62}")) and not (Op("\u{62}") < Op("\u{61}"))))
346+assert((((Op(0x1) <= Op(0x1)) and (Op(0x1) <= Op(0x2))) and not (Op(0x2) <= Op(0x1))))
347+assert((((Op("\u{61}") <= Op("\u{61}")) and (Op("\u{61}") <= Op("\u{62}"))) and not (Op("\u{62}") <= Op("\u{61}"))))
348+assert(not ((Op(0x1) > Op(0x1)) and not ((Op(0x1) > Op(0x2)) and (Op(0x2) > Op(0x1)))))
349+assert(not ((Op("\u{61}") > Op("\u{61}")) and not ((Op("\u{61}") > Op("\u{62}")) and (Op("\u{62}") > Op("\u{61}")))))
350+assert(((Op(0x1) >= Op(0x1)) and not ((Op(0x1) >= Op(0x2)) and (Op(0x2) >= Op(0x1)))))
351+assert(((0x1 >= Op(0x1)) and not ((0x1 >= Op(0x2)) and (Op(0x2) >= 0x1))))
352+assert(((Op("\u{61}") >= Op("\u{61}")) and not ((Op("\u{61}") >= Op("\u{62}")) and (Op("\u{62}") >= Op("\u{61}")))))
353+assert((("\u{61}" >= Op("\u{61}")) and not ((Op("\u{61}") >= "\u{62}") and (Op("\u{62}") >= Op("\u{61}")))))
354354assert(((Op(0x1) == Op(0x1)) and (Op(0x1) ~= Op(0x2))))
355355assert(((Op("\u{61}") == Op("\u{61}")) and (Op("\u{61}") ~= Op("\u{62}"))))
356356assert(((a == a) and (a ~= b)))
@@ -390,12 +390,12 @@ end
390390return true
391391end
392392assert((Set({0x1,0x2,0x3}) < Set({0x1,0x2,0x3,0x4})))
393−assert(not ((Set({0x1,0x2,0x3,0x4}) < Set({0x1,0x2,0x3,0x4}))))
394−assert(((Set({0x1,0x2,0x3,0x4}) <= Set({0x1,0x2,0x3,0x4}))))
395−assert(((Set({0x1,0x2,0x3,0x4}) >= Set({0x1,0x2,0x3,0x4}))))
396−assert(not ((Set({0x1,0x3}) <= Set({0x3,0x5}))))
397−assert(not ((Set({0x1,0x3}) <= Set({0x3,0x5}))))
398−assert(not ((Set({0x1,0x3}) >= Set({0x3,0x5}))))
393+assert(not (Set({0x1,0x2,0x3,0x4}) < Set({0x1,0x2,0x3,0x4})))
394+assert((Set({0x1,0x2,0x3,0x4}) <= Set({0x1,0x2,0x3,0x4})))
395+assert((Set({0x1,0x2,0x3,0x4}) >= Set({0x1,0x2,0x3,0x4})))
396+assert(not (Set({0x1,0x3}) <= Set({0x3,0x5})))
397+assert(not (Set({0x1,0x3}) <= Set({0x3,0x5})))
398+assert(not (Set({0x1,0x3}) >= Set({0x3,0x5})))
399399t.__eq=function (a,b)
400400for k in pairs(a)
401401do
@@ -427,7 +427,7 @@ end
427427assert((a == b))
428428end
429429if not T then
430−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
430+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
431431else
432432local u1 = T.newuserdata(0x0,0x1)
433433local u2 = T.newuserdata(0x0,0x1)
@@ -482,9 +482,9 @@ d={["\u{76}\u{61}\u{6c}"] = "\u{64}"}
482482setmetatable(d,t)
483483A=true
484484assert(((c .. d) == "\u{63}\u{64}"))
485−assert(((0x0 .. ("\u{61}" .. ("\u{62}" .. (c .. (d .. ("\u{65}" .. ("\u{66}" .. (((0x5 + 0x3)) .. "\u{67}")))))))) == "\u{30}\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{38}\u{67}"))
485+assert(((0x0 .. ("\u{61}" .. ("\u{62}" .. (c .. (d .. ("\u{65}" .. ("\u{66}" .. ((0x5 + 0x3) .. "\u{67}")))))))) == "\u{30}\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{38}\u{67}"))
486486A=false
487−assert((((c .. (d .. (c .. d)))).val == "\u{63}\u{64}\u{63}\u{64}"))
487+assert(((c .. (d .. (c .. d))).val == "\u{63}\u{64}\u{63}\u{64}"))
488488x=(c .. d)
489489assert(((getmetatable(x) == t) and (x.val == "\u{63}\u{64}")))
490490x=(0x0 .. ("\u{61}" .. ("\u{62}" .. (c .. (d .. ("\u{65}" .. ("\u{66}" .. "\u{67}")))))))
@@ -514,12 +514,12 @@ t1.__le=function ()
514514return false
515515end
516516setmetatable(d,t1)
517−assert((((c == d) and (c < d)) and not ((d <= c))))
517+assert((((c == d) and (c < d)) and not (d <= c)))
518518t2={}
519519t2.__eq=t1.__eq
520520t2.__lt=t1.__lt
521521setmetatable(d,t2)
522−assert((((c == d) and (c < d)) and not ((d <= c))))
522+assert((((c == d) and (c < d)) and not (d <= c)))
523523local i
524524local tt = {["\u{5f}\u{5f}\u{63}\u{61}\u{6c}\u{6c}"] = function (t, ...)
525525i=(i + 0x1)
@@ -570,7 +570,7 @@ assert((getmetatable(true) == nil))
570570debug.setmetatable(nil,mt)
571571assert((getmetatable(nil) == mt))
572572mt.__add=function (a,b)
573−return (((a or 0x1)) + ((b or 0x2)))
573+return ((a or 0x1) + (b or 0x2))
574574end
575575assert(((0xa + nil) == 0xc))
576576assert(((nil + 0x17) == 0x18))
desk/res/lua/cycled/files.lua+16−16
@@ -30,7 +30,7 @@ assert(not ((a and (type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")) and (typ
3030local file = os.tmpname()
3131local f,msg = io.open(file,"\u{77}")
3232if not f then
33−((Message or print))("\u{27}\u{6f}\u{73}\u{2e}\u{74}\u{6d}\u{70}\u{6e}\u{61}\u{6d}\u{65}\u{27}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{3b}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}")
33+(Message or print)("\u{27}\u{6f}\u{73}\u{2e}\u{74}\u{6d}\u{70}\u{6e}\u{61}\u{6d}\u{65}\u{27}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{3b}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}")
3434else
3535f:close()
3636print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{2f}\u{6f}")
@@ -344,7 +344,7 @@ assert(io.close(io.input()))
344344do
345345local function ismsg
346346(m)
347−return (((type(m) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}") and not tonumber(m)))
347+return ((type(m) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}") and not tonumber(m))
348348end
349349local f = io.open(file,"\u{77}")
350350local r,m,c = f:read()
@@ -403,7 +403,7 @@ io.output(file)
403403io.write("\u{61}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{20}\u{2b}\u{20}\u{33}\u{34}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{2a}\u{61}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{2d}\u{61}\u{a}"):close()
404404local t = {}
405405assert(load(io.lines(file,"\u{4c}"),nil,nil,t))()
406−assert((t.a == - ((((0xa + 0x22)) * 0x2))))
406+assert((t.a == - ((0xa + 0x22) * 0x2)))
407407do
408408local function gettoclose
409409(lv)
@@ -690,7 +690,7 @@ if (v[0x2] == "\u{6f}\u{6b}") then
690690assert(((x and (y == "\u{65}\u{78}\u{69}\u{74}")) and (z == 0x0)))
691691else
692692assert(not (x and (y == v[0x2])))
693−assert(((((v[0x3] == nil) and (z > 0x0))) or (v[0x3] == z)))
693+assert((((v[0x3] == nil) and (z > 0x0)) or (v[0x3] == z)))
694694end
695695end
696696end
@@ -737,21 +737,21 @@ checkerr("\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{6e}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{6
737737checkerr("\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{6e}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = 0x3e8,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1,["\u{68}\u{6f}\u{75}\u{72}"] = 1.5})
738738checkerr("\u{6d}\u{69}\u{73}\u{73}\u{69}\u{6e}\u{67}",os.time,{["\u{68}\u{6f}\u{75}\u{72}"] = 0xc})
739739if (string.packsize("\u{69}") == 0x4) then
740−checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = - (((0x1 << 0x1f)) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
741−checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = - ((0x1 << 0x1f)),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
740+checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = - ((0x1 << 0x1f) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
741+checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = - (0x1 << 0x1f),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
742742if (math.maxinteger > (0x2 ^ 0x1f)) then
743−checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = (((0x1 << 0x1f)) + 0x76c),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
743+checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = ((0x1 << 0x1f) + 0x76c),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
744744end
745745end
746746if not _port then
747747assert((type(os.date("\u{25}\u{45}\u{78}")) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"))
748748assert((type(os.date("\u{25}\u{4f}\u{79}")) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"))
749749local t0 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x0})
750−local t1 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x0,["\u{73}\u{65}\u{63}"] = (((0x1 << 0x1f)) - 0x1)})
751−assert(((t1 - t0) == (((0x1 << 0x1f)) - 0x1)))
750+local t1 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x0,["\u{73}\u{65}\u{63}"] = ((0x1 << 0x1f) - 0x1)})
751+assert(((t1 - t0) == ((0x1 << 0x1f) - 0x1)))
752752t0=os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
753−t1=os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1,["\u{73}\u{65}\u{63}"] = - ((0x1 << 0x1f))})
754−assert(((t1 - t0) == - ((0x1 << 0x1f))))
753+t1=os.time({["\u{79}\u{65}\u{61}\u{72}"] = 0x7b2,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1,["\u{73}\u{65}\u{63}"] = - (0x1 << 0x1f)})
754+assert(((t1 - t0) == - (0x1 << 0x1f)))
755755if (maxint >= (0x2 ^ 0x3e)) then
756756checkerr("\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = - maxint,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
757757if (string.packsize("\u{69}") == 0x4) then
@@ -761,12 +761,12 @@ checkerr("\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{72}\u{6
761761else
762762print("\u{20}\u{20}\u{38}\u{2d}\u{62}\u{79}\u{74}\u{65}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{5f}\u{74}")
763763checkerr("\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{65}\u{64}",os.date,"\u{25}\u{59}",(0x2 ^ 0x3c))
764−assert(tonumber(os.time({["\u{79}\u{65}\u{61}\u{72}"] = (((0x1 << 0x1f)) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0xc,["\u{64}\u{61}\u{79}"] = 0x1f,["\u{68}\u{6f}\u{75}\u{72}"] = 0x17,["\u{6d}\u{69}\u{6e}"] = 0x3b,["\u{73}\u{65}\u{63}"] = 0x3b})))
765−checkerr("\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{65}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = (((0x1 << 0x1f)) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0xc,["\u{64}\u{61}\u{79}"] = 0x1f,["\u{68}\u{6f}\u{75}\u{72}"] = 0x17,["\u{6d}\u{69}\u{6e}"] = 0x3b,["\u{73}\u{65}\u{63}"] = 0x3c})
764+assert(tonumber(os.time({["\u{79}\u{65}\u{61}\u{72}"] = ((0x1 << 0x1f) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0xc,["\u{64}\u{61}\u{79}"] = 0x1f,["\u{68}\u{6f}\u{75}\u{72}"] = 0x17,["\u{6d}\u{69}\u{6e}"] = 0x3b,["\u{73}\u{65}\u{63}"] = 0x3b})))
765+checkerr("\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{65}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = ((0x1 << 0x1f) + 0x76b),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0xc,["\u{64}\u{61}\u{79}"] = 0x1f,["\u{68}\u{6f}\u{75}\u{72}"] = 0x17,["\u{6d}\u{69}\u{6e}"] = 0x3b,["\u{73}\u{65}\u{63}"] = 0x3c})
766766end
767767checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{64}\u{61}\u{79}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = 0x0,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = (0x2 ^ 0x20)})
768−checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{6d}\u{6f}\u{6e}\u{74}\u{68}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = 0x0,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = - ((((0x1 << 0x1f)) + 0x1)),["\u{64}\u{61}\u{79}"] = 0x1})
769−checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = (((0x1 << 0x1f)) + 0x76c),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
768+checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{6d}\u{6f}\u{6e}\u{74}\u{68}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = 0x0,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = - ((0x1 << 0x1f) + 0x1),["\u{64}\u{61}\u{79}"] = 0x1})
769+checkerr("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{79}\u{65}\u{61}\u{72}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{75}\u{74}\u{2d}\u{6f}\u{66}\u{2d}\u{62}\u{6f}\u{75}\u{6e}\u{64}",os.time,{["\u{79}\u{65}\u{61}\u{72}"] = ((0x1 << 0x1f) + 0x76c),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 0x1,["\u{64}\u{61}\u{79}"] = 0x1})
770770else
771771print("\u{20}\u{20}\u{38}\u{2d}\u{62}\u{79}\u{74}\u{65}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{5f}\u{74}")
772772assert(tonumber(os.date("\u{25}\u{59}",(0x2 ^ 0x3c))))
@@ -791,7 +791,7 @@ t=os.time(D)
791791D.year=(D.year - 0x1)
792792;
793793local t1 = os.time(D)
794−assert((math.abs(((os.difftime(t,t1) / ((0x18 * 0xe10))) - 0x16d)) < 0x2))
794+assert((math.abs(((os.difftime(t,t1) / (0x18 * 0xe10)) - 0x16d)) < 0x2))
795795t=os.time()
796796t1=os.time(os.date("\u{2a}\u{74}"))
797797local diff = os.difftime(t1,t)
desk/res/lua/cycled/gc.lua+4−4
@@ -173,7 +173,7 @@ print("\u{6c}\u{6f}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}"
173173local x = "\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}"
174174assert((string.len(x) == 0x50))
175175local s = ""
176−local k = math.min(0x12c,(((math.maxinteger // 0x50)) // 0x2))
176+local k = math.min(0x12c,((math.maxinteger // 0x50) // 0x2))
177177for n = 0x1, k
178178do
179179s=(s .. x)
@@ -355,7 +355,7 @@ assert((next(a) ~= nil))
355355local i = 0x0
356356for k,v in pairs(a)
357357do
358−assert(((((((k == 0x1) and (v == x))) or (((k == 0x2) and (v == y)))) or (((k == 0x3) and (v == z)))) or (k == v)))
358+assert((((((k == 0x1) and (v == x)) or ((k == 0x2) and (v == y))) or ((k == 0x3) and (v == z))) or (k == v)))
359359;
360360i=(i + 0x1)
361361end
@@ -490,7 +490,7 @@ warn("\u{40}\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}")
490490end
491491print("\u{2b}")
492492if (T == nil) then
493−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{47}\u{43}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
493+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{47}\u{43}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
494494else
495495local function newproxy
496496(u)
@@ -744,7 +744,7 @@ local setmetatable,assert,type,print,getmetatable = setmetatable,assert,type,pri
744744local tt = {}
745745tt.__gc=function (o)
746746assert((getmetatable(o) == tt))
747−local a = ("\u{78}\u{75}\u{78}\u{75}" .. (((0xa + 0x3)) .. "\u{6a}\u{6f}\u{61}\u{6f}")),{}
747+local a = ("\u{78}\u{75}\u{78}\u{75}" .. ((0xa + 0x3) .. "\u{6a}\u{6f}\u{61}\u{6f}")),{}
748748___Glob=o
749749setmetatable({},tt)
750750print(("\u{3e}\u{3e}\u{3e}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{74}\u{65}\u{20}" .. "\u{3c}\u{3c}\u{3c}\u{a}"))
desk/res/lua/cycled/gengc.lua+6−6
@@ -8,11 +8,11 @@ local U = {}
88collectgarbage()
99assert(not (T or (T.gcage(U) == "\u{6f}\u{6c}\u{64}")))
1010U[0x1]={["\u{78}"] = {0xea}}
11−assert(not (T or (((T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{31}") and (T.gcage(U[0x1]) == "\u{6e}\u{65}\u{77}")))))
11+assert(not (T or ((T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{31}") and (T.gcage(U[0x1]) == "\u{6e}\u{65}\u{77}"))))
1212collectgarbage("\u{73}\u{74}\u{65}\u{70}",0x0)
13−assert(not (T or (((T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{32}") and (T.gcage(U[0x1]) == "\u{73}\u{75}\u{72}\u{76}\u{69}\u{76}\u{61}\u{6c}")))))
13+assert(not (T or ((T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{32}") and (T.gcage(U[0x1]) == "\u{73}\u{75}\u{72}\u{76}\u{69}\u{76}\u{61}\u{6c}"))))
1414collectgarbage("\u{73}\u{74}\u{65}\u{70}",0x0)
15−assert(not (T or (((T.gcage(U) == "\u{6f}\u{6c}\u{64}") and (T.gcage(U[0x1]) == "\u{6f}\u{6c}\u{64}\u{31}")))))
15+assert(not (T or ((T.gcage(U) == "\u{6f}\u{6c}\u{64}") and (T.gcage(U[0x1]) == "\u{6f}\u{6c}\u{64}\u{31}"))))
1616assert((U[0x1].x[0x1] == 0xea))
1717end
1818do
@@ -76,9 +76,9 @@ local t = setmetatable({},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{
7676collectgarbage()
7777assert(not (T or (T.gcage(t) == "\u{6f}\u{6c}\u{64}")))
7878t[0x1]={0xa}
79−assert(not (T or (((T.gcage(t) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{31}") and (T.gccolor(t) == "\u{67}\u{72}\u{61}\u{79}")))))
79+assert(not (T or ((T.gcage(t) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{31}") and (T.gccolor(t) == "\u{67}\u{72}\u{61}\u{79}"))))
8080collectgarbage("\u{73}\u{74}\u{65}\u{70}",0x0)
81−assert(not (T or (((T.gcage(t) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{32}") and (T.gccolor(t) == "\u{62}\u{6c}\u{61}\u{63}\u{6b}")))))
81+assert(not (T or ((T.gcage(t) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{32}") and (T.gccolor(t) == "\u{62}\u{6c}\u{61}\u{63}\u{6b}"))))
8282collectgarbage("\u{73}\u{74}\u{65}\u{70}",0x0)
8383assert(not (T or (T.gcage(t) == "\u{6f}\u{6c}\u{64}")))
8484t[0x1]={0xa}
@@ -86,7 +86,7 @@ collectgarbage("\u{73}\u{74}\u{65}\u{70}",0x0)
8686assert((t[0x1] == nil))
8787end
8888if (T == nil) then
89−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{6f}\u{6d}\u{65}\u{20}\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{61}\u{6c}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
89+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{6f}\u{6d}\u{65}\u{20}\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{61}\u{6c}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
9090print("\u{4f}\u{4b}")
9191return
9292end
desk/res/lua/cycled/goto.lua+1−1
@@ -206,7 +206,7 @@ for i = 0x3, 0x5, 0x2
206206do
207207for j = 0x1, 0x6
208208do
209−assert((((debug.upvalueid(a[i],0x4) == debug.upvalueid(a[j],0x4))) == ((i == j))))
209+assert(((debug.upvalueid(a[i],0x4) == debug.upvalueid(a[j],0x4)) == (i == j)))
210210end
211211end
212212local function testG
desk/res/lua/cycled/heavy.lua+5−5
@@ -9,7 +9,7 @@ a=(a .. (a .. (a .. (a .. (a .. (a .. (a .. (a .. (a .. (a .. (a .. (a .. (a ..
99print(string.format("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{25}\u{64}\u{20}\u{62}\u{79}\u{74}\u{65}\u{73}",# a))
1010end
1111end)
12−assert(not (st and ((string.find(msg,"\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}") or string.find(msg,"\u{6e}\u{6f}\u{74}\u{20}\u{65}\u{6e}\u{6f}\u{75}\u{67}\u{68}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}")))))
12+assert(not (st and (string.find(msg,"\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}") or string.find(msg,"\u{6e}\u{6f}\u{74}\u{20}\u{65}\u{6e}\u{6f}\u{75}\u{67}\u{68}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}"))))
1313print(("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}" .. # (a * 0x64)))
1414end
1515print("\u{2b}")
@@ -22,7 +22,7 @@ local count = 0x0
2222local function f
2323()
2424count=(count + p)
25−if ((count % ((0x80 * p))) == 0x0) then
25+if ((count % (0x80 * p)) == 0x0) then
2626io.stderr:write("\u{28}",(count // (0x2 ^ 0x14)),"\u{20}\u{4d}\u{29}")
2727end
2828return s
@@ -35,7 +35,7 @@ return st,msg
3535end
3636function controlstruct()
3737print("\u{63}\u{6f}\u{6e}\u{74}\u{72}\u{6f}\u{6c}\u{20}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{75}\u{72}\u{65}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}")
38−local lim = (((((0x1 << 0x18)) - 0x2)) // 0x3)
38+local lim = (((0x1 << 0x18) - 0x2) // 0x3)
3939local s = string.rep("\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{a}",lim)
4040s=("\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{74}\u{72}\u{75}\u{65}\u{20}\u{64}\u{6f}\u{20}" .. (s .. "\u{65}\u{6e}\u{64}"))
4141assert(load(s))
@@ -56,7 +56,7 @@ end
5656function hugeid()
5757print("\u{6c}\u{6f}\u{61}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{68}\u{75}\u{67}\u{65}\u{20}\u{69}\u{64}\u{65}\u{6e}\u{74}\u{69}\u{66}\u{69}\u{65}\u{72}")
5858local st,msg = loadrep("\u{61}","\u{63}\u{68}\u{61}\u{72}\u{73}")
59−assert(not (st and ((string.find(msg,"\u{6c}\u{65}\u{78}\u{69}\u{63}\u{61}\u{6c}\u{20}\u{65}\u{6c}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}") or string.find(msg,"\u{6e}\u{6f}\u{74}\u{20}\u{65}\u{6e}\u{6f}\u{75}\u{67}\u{68}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}")))))
59+assert(not (st and (string.find(msg,"\u{6c}\u{65}\u{78}\u{69}\u{63}\u{61}\u{6c}\u{20}\u{65}\u{6c}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}") or string.find(msg,"\u{6e}\u{6f}\u{74}\u{20}\u{65}\u{6e}\u{6f}\u{75}\u{67}\u{68}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}"))))
6060print("\u{2b}")
6161end
6262function toomanyinst()
@@ -87,7 +87,7 @@ end
8787function toomanyconst()
8888print("\u{6c}\u{6f}\u{61}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{61}\u{6e}\u{74}\u{73}")
8989loadrepfunc("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{6f}\u{6f}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{30}\u{2c}",function (n)
90−return string.char(0x22,(((((n // (0x80 ^ 0x0))) & 0x7f)) + 0x80),(((((n // (0x80 ^ 0x1))) & 0x7f)) + 0x80),(((((n // (0x80 ^ 0x2))) & 0x7f)) + 0x80),(((((n // (0x80 ^ 0x3))) & 0x7f)) + 0x80),(((((n // (0x80 ^ 0x4))) & 0x7f)) + 0x80),0x22,0x2c)
90+return string.char(0x22,(((n // (0x80 ^ 0x0)) & 0x7f) + 0x80),(((n // (0x80 ^ 0x1)) & 0x7f) + 0x80),(((n // (0x80 ^ 0x2)) & 0x7f) + 0x80),(((n // (0x80 ^ 0x3)) & 0x7f) + 0x80),(((n // (0x80 ^ 0x4)) & 0x7f) + 0x80),0x22,0x2c)
9191end)
9292end
9393function toomanystr()
desk/res/lua/cycled/literals.lua+1−1
@@ -179,7 +179,7 @@ local a,b = load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{34}\u{2e}\u{35}\u
179179assert(string.find(b,"\u{27}\u{34}\u{25}\u{2e}\u{35}\u{25}\u{2e}\u{27}"))
180180assert(os.setlocale("\u{43}"))
181181else
182−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{70}\u{74}\u{5f}\u{42}\u{52}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{65}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{76}\u{61}\u{69}\u{6c}\u{61}\u{62}\u{6c}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{64}\u{65}\u{63}\u{69}\u{6d}\u{61}\u{6c}\u{20}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
182+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{70}\u{74}\u{5f}\u{42}\u{52}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{65}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{76}\u{61}\u{69}\u{6c}\u{61}\u{62}\u{6c}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{64}\u{65}\u{63}\u{69}\u{6d}\u{61}\u{6c}\u{20}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
183183end
184184local s = "\u{61}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{d}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{a}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{d}\u{a}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{a}\u{d}"
185185local c = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{71}",s)
desk/res/lua/cycled/locals.lua+5−5
@@ -56,7 +56,7 @@ local _6,_7,_8,_9,_10
5656local x = 0x3
5757local b = a
5858local c,d = a,b
59−if ((d == b)) then
59+if (d == b) then
6060local x = "\u{71}"
6161x=b
6262assert((x == 0x2))
@@ -221,7 +221,7 @@ end
221221print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{6f}\u{2d}\u{62}\u{65}\u{2d}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{73}")
222222local function stack
223223(n)
224−n=((((n == 0x0)) or stack((n - 0x1))))
224+n=((n == 0x0) or stack((n - 0x1)))
225225end
226226local function func2close
227227(f,x,y)
@@ -688,7 +688,7 @@ do
688688local trace = {}
689689local function hook
690690(event)
691−trace[# (trace + 0x1)]=(event .. ("\u{20}" .. ((debug.getinfo(0x2).name or "\u{3f}"))))
691+trace[# (trace + 0x1)]=(event .. ("\u{20}" .. (debug.getinfo(0x2).name or "\u{3f}")))
692692end
693693local x = func2close(function (_,msg)
694694trace[# (trace + 0x1)]="\u{78}"
@@ -825,14 +825,14 @@ coroutine.yield("\u{7a}")
825825return 0x64,0xc8
826826end)
827827local y <close> = func2close(function (_,msg)
828−assert(((msg == err) or (((msg == nil) and (err == 0x1)))))
828+assert(((msg == err) or ((msg == nil) and (err == 0x1))))
829829coroutine.yield("\u{79}")
830830if err then
831831error((err + 0x14))
832832end
833833end)
834834local x <close> = func2close(function (_,msg)
835−assert(((msg == err) or (((msg == nil) and (err == 0x1)))))
835+assert(((msg == err) or ((msg == nil) and (err == 0x1))))
836836coroutine.yield("\u{78}")
837837return 0x64,0xc8
838838end)
desk/res/lua/cycled/math.lua+109−109
@@ -2,8 +2,8 @@ print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6e}\u{75}\u{6d}\u{62}\
22local minint <const> = math.mininteger
33local maxint <const> = math.maxinteger
44local intbits <const> = (math.floor((math.log(maxint,0x2) + 0.5)) + 0x1)
5−assert((((0x1 << intbits)) == 0x0))
6−assert((minint == (0x1 << ((intbits - 0x1)))))
5+assert(((0x1 << intbits) == 0x0))
6+assert((minint == (0x1 << (intbits - 0x1))))
77assert((maxint == (minint - 0x1)))
88local floatbits = 0x18
99do
@@ -15,7 +15,7 @@ end
1515end
1616local function isNaN
1717(x)
18−return ((x ~= x))
18+return (x ~= x)
1919end
2020assert(isNaN((0x0 / 0x0)))
2121assert(not isNaN((0x1 / 0x0)))
@@ -133,15 +133,15 @@ assert(eqT((x // y),- 3.0))
133133end
134134assert(((maxint // maxint) == 0x1))
135135assert(((maxint // 0x1) == maxint))
136−assert(((((maxint - 0x1)) // maxint) == 0x0))
137−assert(((maxint // ((maxint - 0x1))) == 0x1))
136+assert((((maxint - 0x1) // maxint) == 0x0))
137+assert(((maxint // (maxint - 0x1)) == 0x1))
138138assert(((minint // minint) == 0x1))
139139assert(((minint // minint) == 0x1))
140−assert(((((minint + 0x1)) // minint) == 0x0))
141−assert(((minint // ((minint + 0x1))) == 0x1))
140+assert((((minint + 0x1) // minint) == 0x0))
141+assert(((minint // (minint + 0x1)) == 0x1))
142142assert(((minint // 0x1) == minint))
143143assert((minint // - (0x1 == - minint)))
144−assert((minint // - (0x2 == (0x2 ^ ((intbits - 0x2))))))
144+assert((minint // - (0x2 == (0x2 ^ (intbits - 0x2)))))
145145assert((maxint // - (0x1 == - maxint)))
146146do
147147assert((0x2 ^ - (0x3 == (0x1 / (0x2 ^ 0x3)))))
@@ -157,25 +157,25 @@ end
157157end
158158end
159159if (floatbits < intbits) then
160−assert(((2.0 ^ floatbits) == ((0x1 << floatbits))))
161−assert((((2.0 ^ floatbits) - 1.0) == (((0x1 << floatbits)) - 1.0)))
162−assert((((2.0 ^ floatbits) - 1.0) ~= ((0x1 << floatbits))))
163−assert((((2.0 ^ floatbits) + 1.0) ~= (((0x1 << floatbits)) + 0x1)))
160+assert(((2.0 ^ floatbits) == (0x1 << floatbits)))
161+assert((((2.0 ^ floatbits) - 1.0) == ((0x1 << floatbits) - 1.0)))
162+assert((((2.0 ^ floatbits) - 1.0) ~= (0x1 << floatbits)))
163+assert((((2.0 ^ floatbits) + 1.0) ~= ((0x1 << floatbits) + 0x1)))
164164else
165165assert((maxint == (maxint + 0.0)))
166166assert(((maxint - 0x1) == (maxint - 1.0)))
167167assert(((minint + 0x1) == (minint + 1.0)))
168168assert((maxint ~= (maxint - 1.0)))
169169end
170−assert(((maxint + 0.0) == ((2.0 ^ ((intbits - 0x1))) - 1.0)))
170+assert(((maxint + 0.0) == ((2.0 ^ (intbits - 0x1)) - 1.0)))
171171assert(((minint + 0.0) == minint))
172−assert(((minint + 0.0) == - (2.0 ^ ((intbits - 0x1)))))
172+assert(((minint + 0.0) == - (2.0 ^ (intbits - 0x1))))
173173assert((0x1 < 1.1))
174174;
175−assert(not ((0x1 < 0.9)))
175+assert(not (0x1 < 0.9))
176176assert((0x1 <= 1.1))
177177;
178−assert(not ((0x1 <= 0.9)))
178+assert(not (0x1 <= 0.9))
179179assert(- (0x1 < - 0.9))
180180;
181181assert(not (- (0x1 < - 1.1)))
@@ -190,17 +190,17 @@ assert(- (0x1 <= - 0.9))
190190assert(not (- (0x1 <= - 1.1)))
191191assert((minint <= (minint + 0.0)))
192192assert(((minint + 0.0) <= minint))
193−assert(not ((minint < (minint + 0.0))))
194−assert(not (((minint + 0.0) < minint)))
193+assert(not (minint < (minint + 0.0)))
194+assert(not ((minint + 0.0) < minint))
195195assert((maxint < (minint * - 1.0)))
196196assert((maxint <= (minint * - 1.0)))
197197do
198−local fmaxi1 = (0x2 ^ ((intbits - 0x1)))
198+local fmaxi1 = (0x2 ^ (intbits - 0x1))
199199assert((maxint < fmaxi1))
200200assert((maxint <= fmaxi1))
201−assert(not ((fmaxi1 <= maxint)))
202−assert((minint <= - (0x2 ^ ((intbits - 0x1)))))
203−assert(- ((0x2 ^ ((intbits - 0x1))) <= minint))
201+assert(not (fmaxi1 <= maxint))
202+assert((minint <= - (0x2 ^ (intbits - 0x1))))
203+assert(- ((0x2 ^ (intbits - 0x1)) <= minint))
204204end
205205if (floatbits < intbits) then
206206print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{72}\u{64}\u{65}\u{72}\u{20}\u{28}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{73}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{20}\u{61}\u{6c}\u{6c}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{73}\u{29}")
@@ -208,12 +208,12 @@ local fmax = (0x2 ^ floatbits)
208208local ifmax = (fmax | 0x0)
209209assert((fmax < (ifmax + 0x1)))
210210assert(((fmax - 0x1) < ifmax))
211−assert(- (((fmax - 0x1)) > - ifmax))
212−assert(not ((fmax <= (ifmax - 0x1))))
213−assert(- (fmax > - ((ifmax + 0x1))))
214−assert(not (- (fmax >= - ((ifmax - 0x1)))))
211+assert(- ((fmax - 0x1) > - ifmax))
212+assert(not (fmax <= (ifmax - 0x1)))
213+assert(- (fmax > - (ifmax + 0x1)))
214+assert(not (- (fmax >= - (ifmax - 0x1))))
215215assert((((fmax / 0x2) - 0.5) < (ifmax // 0x2)))
216−assert(- ((((fmax / 0x2) - 0.5)) > - (ifmax // 0x2)))
216+assert(- (((fmax / 0x2) - 0.5) > - (ifmax // 0x2)))
217217assert((maxint < (0x2 ^ intbits)))
218218assert((minint > - (0x2 ^ intbits)))
219219assert((maxint <= (0x2 ^ intbits)))
@@ -224,40 +224,40 @@ assert((maxint < (maxint + 1.0)))
224224assert((maxint < (maxint + 0.5)))
225225assert(((maxint - 1.0) < maxint))
226226assert(((maxint - 0.5) < maxint))
227−assert(not (((maxint + 0.0) < maxint)))
227+assert(not ((maxint + 0.0) < maxint))
228228assert(((maxint + 0.0) <= maxint))
229−assert(not ((maxint < (maxint + 0.0))))
229+assert(not (maxint < (maxint + 0.0)))
230230assert(((maxint + 0.0) <= maxint))
231231assert((maxint <= (maxint + 0.0)))
232−assert(not (((maxint + 1.0) <= maxint)))
233−assert(not (((maxint + 0.5) <= maxint)))
234−assert(not ((maxint <= (maxint - 1.0))))
235−assert(not ((maxint <= (maxint - 0.5))))
232+assert(not ((maxint + 1.0) <= maxint))
233+assert(not ((maxint + 0.5) <= maxint))
234+assert(not (maxint <= (maxint - 1.0)))
235+assert(not (maxint <= (maxint - 0.5)))
236236assert((minint < (minint + 1.0)))
237237assert((minint < (minint + 0.5)))
238238assert((minint <= (minint + 0.5)))
239239assert(((minint - 1.0) < minint))
240240assert(((minint - 1.0) <= minint))
241−assert(not (((minint + 0.0) < minint)))
242−assert(not (((minint + 0.5) < minint)))
243−assert(not ((minint < (minint + 0.0))))
241+assert(not ((minint + 0.0) < minint))
242+assert(not ((minint + 0.5) < minint))
243+assert(not (minint < (minint + 0.0)))
244244assert(((minint + 0.0) <= minint))
245245assert((minint <= (minint + 0.0)))
246−assert(not (((minint + 1.0) <= minint)))
247−assert(not (((minint + 0.5) <= minint)))
248−assert(not ((minint <= (minint - 1.0))))
246+assert(not ((minint + 1.0) <= minint))
247+assert(not ((minint + 0.5) <= minint))
248+assert(not (minint <= (minint - 1.0)))
249249end
250250do
251251local NaN <const> = (0x0 / 0x0)
252−assert(not ((NaN < 0x0)))
253−assert(not ((NaN > minint)))
254−assert(not ((NaN <= - 0x9)))
255−assert(not ((NaN <= maxint)))
256−assert(not ((NaN < maxint)))
257−assert(not ((minint <= NaN)))
258−assert(not ((minint < NaN)))
259−assert(not ((0x4 <= NaN)))
260−assert(not ((0x4 < NaN)))
252+assert(not (NaN < 0x0))
253+assert(not (NaN > minint))
254+assert(not (NaN <= - 0x9))
255+assert(not (NaN <= maxint))
256+assert(not (NaN < maxint))
257+assert(not (minint <= NaN))
258+assert(not (minint < NaN))
259+assert(not (0x4 <= NaN))
260+assert(not (0x4 < NaN))
261261end
262262local function checkcompt
263263(msg,code)
@@ -280,10 +280,10 @@ if (floatbits < intbits) then
280280assert(((maxint + 1.0) == (maxint + 0.0)))
281281assert(((minint - 1.0) == (minint + 0.0)))
282282checkerror(msgf2i,f2i,(maxint + 0.0))
283−assert((f2i((2.0 ^ ((intbits - 0x2)))) == (0x1 << ((intbits - 0x2)))))
284−assert((f2i(- (2.0 ^ ((intbits - 0x2)))) == - ((0x1 << ((intbits - 0x2))))))
285−assert((((((2.0 ^ ((floatbits - 0x1))) + 1.0)) // 0x1) == (((0x1 << ((floatbits - 0x1)))) + 0x1)))
286−local mf = ((maxint - ((0x1 << ((floatbits - intbits))))) + 0x1)
283+assert((f2i((2.0 ^ (intbits - 0x2))) == (0x1 << (intbits - 0x2))))
284+assert((f2i(- (2.0 ^ (intbits - 0x2))) == - (0x1 << (intbits - 0x2))))
285+assert(((((2.0 ^ (floatbits - 0x1)) + 1.0) // 0x1) == ((0x1 << (floatbits - 0x1)) + 0x1)))
286+local mf = ((maxint - (0x1 << (floatbits - intbits))) + 0x1)
287287assert((f2i((mf + 0.0)) == mf))
288288mf=(mf + 0x1)
289289assert((f2i((mf + 0.0)) ~= mf))
@@ -335,9 +335,9 @@ assert(((((tonumber("\u{2b}\u{30}\u{2e}\u{30}\u{31}") == (0x1 / 0x64)) and (tonu
335335assert(not (tonumber("\u{2b}\u{20}\u{30}\u{2e}\u{30}\u{31}") and not (tonumber("\u{2b}\u{2e}\u{65}\u{31}") and not (tonumber("\u{31}\u{65}") and not (tonumber("\u{31}\u{2e}\u{30}\u{65}\u{2b}") and not tonumber("\u{2e}"))))))
336336assert((tonumber("\u{2d}\u{30}\u{31}\u{32}") == - (0xa - 0x2)))
337337assert((tonumber("\u{2d}\u{31}\u{2e}\u{32}\u{65}\u{32}") == - - - 0x78))
338−assert((tonumber("\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}") == (((0x1 << ((0x4 * 0xc)))) - 0x1)))
339−assert((tonumber(("\u{30}\u{78}" .. string.rep("\u{66}",((intbits // 0x4))))) == - 0x1))
340−assert((tonumber(("\u{2d}\u{30}\u{78}" .. string.rep("\u{66}",((intbits // 0x4))))) == 0x1))
338+assert((tonumber("\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}") == ((0x1 << (0x4 * 0xc)) - 0x1)))
339+assert((tonumber(("\u{30}\u{78}" .. string.rep("\u{66}",(intbits // 0x4)))) == - 0x1))
340+assert((tonumber(("\u{2d}\u{30}\u{78}" .. string.rep("\u{66}",(intbits // 0x4)))) == 0x1))
341341assert((tonumber("\u{20}\u{20}\u{30}\u{30}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",0x2) == 0xa))
342342assert((tonumber("\u{20}\u{20}\u{30}\u{30}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",0xa) == 0x3f2))
343343assert((tonumber("\u{20}\u{20}\u{2d}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",0x2) == - 0xa))
@@ -345,11 +345,11 @@ assert((tonumber("\u{31}\u{30}",0x24) == 0x24))
345345assert((tonumber("\u{20}\u{20}\u{2d}\u{31}\u{30}\u{20}\u{20}",0x24) == - 0x24))
346346assert((tonumber("\u{20}\u{20}\u{2b}\u{31}\u{5a}\u{20}\u{20}",0x24) == (0x24 + 0x23)))
347347assert((tonumber("\u{20}\u{20}\u{2d}\u{31}\u{7a}\u{20}\u{20}",0x24) == - (0x24 + - 0x23)))
348−assert((tonumber("\u{2d}\u{66}\u{46}\u{66}\u{61}",0x10) == - ((0xa + ((0x10 * ((0xf + ((0x10 * ((0xf + ((0x10 * 0xf))))))))))))))
349−assert(((tonumber(string.rep("\u{31}",((intbits - 0x2))),0x2) + 0x1) == (0x2 ^ ((intbits - 0x2)))))
350−assert(((tonumber("\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) + 0x1) == ((0x1 << 0x20))))
351−assert(((tonumber("\u{30}\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) + 0x1) == ((0x1 << 0x20))))
352−assert(((tonumber("\u{2d}\u{30}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) - 0x1) == - ((0x1 << 0x28))))
348+assert((tonumber("\u{2d}\u{66}\u{46}\u{66}\u{61}",0x10) == - (0xa + (0x10 * (0xf + (0x10 * (0xf + (0x10 * 0xf))))))))
349+assert(((tonumber(string.rep("\u{31}",(intbits - 0x2)),0x2) + 0x1) == (0x2 ^ (intbits - 0x2))))
350+assert(((tonumber("\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) + 0x1) == (0x1 << 0x20)))
351+assert(((tonumber("\u{30}\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) + 0x1) == (0x1 << 0x20)))
352+assert(((tonumber("\u{2d}\u{30}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",0x10) - 0x1) == - (0x1 << 0x28)))
353353for i = 0x2, 0x24
354354do
355355local i2 = (i * i)
@@ -357,10 +357,10 @@ local i10 = ((((i2 * i2) * i2) * i2) * i2)
357357assert((tonumber("\u{9}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{9}",i) == i10))
358358end
359359if not _soft then
360−assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0xd) .. "\u{2e}\u{30}"))) == ((2.0 ^ ((0x4 * 0xd))) - 0x1)))
361−assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x96) .. "\u{2e}\u{30}"))) == ((2.0 ^ ((0x4 * 0x96))) - 0x1)))
362−assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x12c) .. "\u{2e}\u{30}"))) == ((2.0 ^ ((0x4 * 0x12c))) - 0x1)))
363−assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x1f4) .. "\u{2e}\u{30}"))) == ((2.0 ^ ((0x4 * 0x1f4))) - 0x1)))
360+assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0xd) .. "\u{2e}\u{30}"))) == ((2.0 ^ (0x4 * 0xd)) - 0x1)))
361+assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x96) .. "\u{2e}\u{30}"))) == ((2.0 ^ (0x4 * 0x96)) - 0x1)))
362+assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x12c) .. "\u{2e}\u{30}"))) == ((2.0 ^ (0x4 * 0x12c)) - 0x1)))
363+assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{66}",0x1f4) .. "\u{2e}\u{30}"))) == ((2.0 ^ (0x4 * 0x1f4)) - 0x1)))
364364assert((tonumber(("\u{30}\u{78}\u{33}\u{2e}" .. string.rep("\u{30}",0x3e8))) == 0x3))
365365assert((tonumber(("\u{30}\u{78}" .. (string.rep("\u{30}",0x3e8) .. "\u{61}"))) == 0xa))
366366assert((tonumber(("\u{30}\u{78}\u{30}\u{2e}" .. (string.rep("\u{30}",0xd) .. "\u{31}"))) == (2.0 ^ (- (0x4 * 0xe)))))
@@ -413,10 +413,10 @@ assert(not tonumber("\u{30}\u{78}\u{30}\u{2e}\u{35}\u{31}\u{70}"))
413413assert(not tonumber("\u{30}\u{78}\u{35}\u{70}\u{2b}\u{2d}\u{32}"))
414414assert((((0x10 == 0x10) and (0xfff == ((0x2 ^ 0xc) - 0x1))) and (0xfb == 0xfb)))
415415assert(((0.0 == 0x0) and (0.0 == 0x0)))
416−assert((0xffffffff == (((0x1 << 0x20)) - 0x1)))
416+assert((0xffffffff == ((0x1 << 0x20) - 0x1)))
417417assert((tonumber("\u{2b}\u{30}\u{78}\u{32}") == 0x2))
418418assert((tonumber("\u{2d}\u{30}\u{78}\u{61}\u{41}") == - 0xaa))
419−assert((tonumber("\u{2d}\u{30}\u{78}\u{66}\u{66}\u{46}\u{46}\u{46}\u{66}\u{66}\u{66}") == - (((0x1 << 0x20)) + 0x1)))
419+assert((tonumber("\u{2d}\u{30}\u{78}\u{66}\u{66}\u{46}\u{46}\u{46}\u{66}\u{66}\u{66}") == - ((0x1 << 0x20) + 0x1)))
420420assert((((0.0 == 0x0) and ((0xe + 0x1) == 0xf)) and ((0xe - 0x1) == 0xd)))
421421assert((tonumber("\u{20}\u{20}\u{30}\u{78}\u{32}\u{2e}\u{35}\u{20}\u{20}") == (0x25 / 0x10)))
422422assert((tonumber("\u{20}\u{20}\u{2d}\u{30}\u{78}\u{32}\u{2e}\u{35}\u{20}\u{20}") == - (0x25 / 0x10)))
@@ -435,15 +435,15 @@ assert(((tonumber("\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}"
435435assert(((1e-31 > 9e-32) and (9e29 < 1e30)))
436436assert((0.123456 > 0.123455))
437437assert((tonumber("\u{2b}\u{31}\u{2e}\u{32}\u{33}\u{45}\u{31}\u{38}") == (1.23 * (10.0 ^ 0x12))))
438−assert(not ((((0x1 < 0x1)) and ((0x1 < 0x2))) and not ((0x2 < 0x1))))
439−assert(not (((("\u{61}" < "\u{61}")) and (("\u{61}" < "\u{62}"))) and not (("\u{62}" < "\u{61}"))))
440−assert(((((0x1 <= 0x1)) and ((0x1 <= 0x2))) and not ((0x2 <= 0x1))))
441−assert((((("\u{61}" <= "\u{61}")) and (("\u{61}" <= "\u{62}"))) and not (("\u{62}" <= "\u{61}"))))
442−assert(not (((0x1 > 0x1)) and not (((0x1 > 0x2)) and ((0x2 > 0x1)))))
443−assert(not ((("\u{61}" > "\u{61}")) and not ((("\u{61}" > "\u{62}")) and (("\u{62}" > "\u{61}")))))
444−assert((((0x1 >= 0x1)) and not (((0x1 >= 0x2)) and ((0x2 >= 0x1)))))
445−assert(((("\u{61}" >= "\u{61}")) and not ((("\u{61}" >= "\u{62}")) and (("\u{62}" >= "\u{61}")))))
446−assert((((1.3 < 1.4) and (1.3 <= 1.4)) and not (((1.3 < 1.3)) and (1.3 <= 1.3))))
438+assert(not (((0x1 < 0x1) and (0x1 < 0x2)) and not (0x2 < 0x1)))
439+assert(not ((("\u{61}" < "\u{61}") and ("\u{61}" < "\u{62}")) and not ("\u{62}" < "\u{61}")))
440+assert((((0x1 <= 0x1) and (0x1 <= 0x2)) and not (0x2 <= 0x1)))
441+assert(((("\u{61}" <= "\u{61}") and ("\u{61}" <= "\u{62}")) and not ("\u{62}" <= "\u{61}")))
442+assert(not ((0x1 > 0x1) and not ((0x1 > 0x2) and (0x2 > 0x1))))
443+assert(not (("\u{61}" > "\u{61}") and not (("\u{61}" > "\u{62}") and ("\u{62}" > "\u{61}"))))
444+assert(((0x1 >= 0x1) and not ((0x1 >= 0x2) and (0x2 >= 0x1))))
445+assert((("\u{61}" >= "\u{61}") and not (("\u{61}" >= "\u{62}") and ("\u{62}" >= "\u{61}"))))
446+assert((((1.3 < 1.4) and (1.3 <= 1.4)) and not ((1.3 < 1.3) and (1.3 <= 1.3))))
447447assert(eqT(- (0x4 % 0x3),0x2))
448448assert(eqT((0x4 % - 0x3),- 0x2))
449449assert(eqT(- (4.0 % 0x3),2.0))
@@ -465,19 +465,19 @@ assert(((math.pi - (math.pi % 1e-3)) == 3.141))
465465do
466466local i,j = 0x0,0x4e20
467467while (i < j) do
468−local m = (((i + j)) // 0x2)
468+local m = ((i + j) // 0x2)
469469if (0xa ^ - (m > 0x0)) then
470470i=(m + 0x1)
471471else
472472j=m
473473end
474474end
475−local b = (0xa ^ - ((i - ((i // 0xa)))))
475+local b = (0xa ^ - (i - (i // 0xa)))
476476assert(((b > 0x0) and ((b * b) == 0x0)))
477477local delta = (b / 0x3e8)
478−assert(eq((((2.1 * b)) % ((0x2 * b))),((0.1 * b)),delta))
479−assert(eq(((- (2.1 * b)) % ((0x2 * b))),(((0x2 * b)) - ((0.1 * b))),delta))
480−assert(eq((((2.1 * b)) % (- (0x2 * b))),(((0.1 * b)) - ((0x2 * b))),delta))
478+assert(eq(((2.1 * b) % (0x2 * b)),(0.1 * b),delta))
479+assert(eq(((- (2.1 * b)) % (0x2 * b)),((0x2 * b) - (0.1 * b)),delta))
480+assert(eq(((2.1 * b) % (- (0x2 * b))),((0.1 * b) - (0x2 * b)),delta))
481481assert(eq(((- (2.1 * b)) % (- (0x2 * b))),(- (0.1 * b)),delta))
482482end
483483for i = - 0xa, 0xa
@@ -485,7 +485,7 @@ do
485485for j = - 0xa, 0xa
486486do
487487if (j ~= 0x0) then
488−assert(((((i + 0.0)) % j) == (i % j)))
488+assert((((i + 0.0) % j) == (i % j)))
489489end
490490end
491491end
@@ -494,14 +494,14 @@ do
494494for j = - 0xa, 0xa
495495do
496496if (j ~= 0x0) then
497−assert(((((0x2 ^ i)) % j) == (((0x1 << i)) % j)))
497+assert((((0x2 ^ i) % j) == ((0x1 << i) % j)))
498498end
499499end
500500end
501501do
502502local i = 0xa
503−while (((0x1 << i)) > 0x0) do
504−assert(((((0x1 << i)) % 0x3) == ((i % 0x2) + 0x1)))
503+while ((0x1 << i) > 0x0) do
504+assert((((0x1 << i) % 0x3) == ((i % 0x2) + 0x1)))
505505i=(i + 0x1)
506506end
507507i=0xa
@@ -512,8 +512,8 @@ end
512512end
513513assert(eqT((minint % minint),0x0))
514514assert(eqT((maxint % maxint),0x0))
515−assert(((((minint + 0x1)) % minint) == (minint + 0x1)))
516−assert(((((maxint - 0x1)) % maxint) == (maxint - 0x1)))
515+assert((((minint + 0x1) % minint) == (minint + 0x1)))
516+assert((((maxint - 0x1) % maxint) == (maxint - 0x1)))
517517assert(((minint % maxint) == (maxint - 0x1)))
518518assert((minint % - (0x1 == 0x0)))
519519assert((minint % - (0x2 == 0x0)))
@@ -558,7 +558,7 @@ assert(eq(math.log(0x2,0xa),(math.log(0x2) / math.log(0xa))))
558558assert(eq(math.log(0x2,0x2),0x1))
559559assert(eq(math.log(0x9,0x3),0x2))
560560assert(eq(math.exp(0x0),0x1))
561−assert(eq(math.sin(0xa),math.sin((0xa % ((0x2 * math.pi))))))
561+assert(eq(math.sin(0xa),math.sin((0xa % (0x2 * math.pi)))))
562562assert((tonumber("\u{20}\u{31}\u{2e}\u{33}\u{65}\u{2d}\u{32}\u{20}") == 0.013))
563563assert((tonumber("\u{20}\u{2d}\u{31}\u{2e}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{31}\u{20}") == - 1.00000000000001))
564564assert((0x800001 + - (0x800001 == 0x0)))
@@ -616,7 +616,7 @@ local mi = math.fmod(i,j)
616616local mf = math.fmod((i + 0.0),j)
617617assert((mi == mf))
618618assert(((math.type(mi) == "\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}") and (math.type(mf) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}")))
619−if (((((i >= 0x0) and (j >= 0x0))) or (((i <= 0x0) and (j <= 0x0)))) or (mi == 0x0)) then
619+if ((((i >= 0x0) and (j >= 0x0)) or ((i <= 0x0) and (j <= 0x0))) or (mi == 0x0)) then
620620assert(eqT(mi,(i % j)))
621621end
622622end
@@ -662,13 +662,13 @@ assert((mz == z))
662662assert((((0x1 / mz) < 0x0) and (0x0 < (0x1 / z))))
663663local NaN <const> = (inf - inf)
664664assert((NaN ~= NaN))
665−assert(not ((NaN < NaN)))
666−assert(not ((NaN <= NaN)))
667−assert(not ((NaN > NaN)))
668−assert(not ((NaN >= NaN)))
669−assert(not (((0x0 < NaN)) and not ((NaN < 0x0))))
665+assert(not (NaN < NaN))
666+assert(not (NaN <= NaN))
667+assert(not (NaN > NaN))
668+assert(not (NaN >= NaN))
669+assert(not ((0x0 < NaN) and not (NaN < 0x0)))
670670local NaN1 <const> = (0x0 / 0x0)
671−assert(((NaN ~= NaN1) and not (((NaN <= NaN1)) and not ((NaN1 <= NaN)))))
671+assert(((NaN ~= NaN1) and not ((NaN <= NaN1) and not (NaN1 <= NaN))))
672672local a = {}
673673assert(not pcall(rawset,a,NaN,0x1))
674674assert((a[NaN] == undef))
@@ -683,20 +683,20 @@ print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{6d}\u{61}\u{74}\
683683local random,max,min = math.random,math.max,math.min
684684local function testnear
685685(val,ref,tol)
686−return ((math.abs((val - ref)) < (ref * tol)))
686+return (math.abs((val - ref)) < (ref * tol))
687687end
688688do
689689local h <const> = 0x7a7040a5
690690local l <const> = 0xa323c9d6
691691math.randomseed(0x3ef)
692−local res = ((((h << 0x20) | l)) & ~ (~ (0x0 << intbits)))
692+local res = (((h << 0x20) | l) & ~ (~ (0x0 << intbits)))
693693assert((random(0x0) == res))
694694math.randomseed(0x3ef,0x0)
695695local res
696696if (floatbits <= 0x20) then
697−res=(((h >> ((0x20 - floatbits)))) % (0x2 ^ 0x20))
697+res=((h >> (0x20 - floatbits)) % (0x2 ^ 0x20))
698698else
699−res=((((h % (0x2 ^ 0x20))) * (0x2 ^ ((floatbits - 0x20)))) + ((((l >> ((0x40 - floatbits)))) % (0x2 ^ 0x20))))
699+res=(((h % (0x2 ^ 0x20)) * (0x2 ^ (floatbits - 0x20))) + ((l >> (0x40 - floatbits)) % (0x2 ^ 0x20)))
700700end
701701local rand = random()
702702assert(eq(rand,0.4782753376376966,(0x2 ^ - floatbits)))
@@ -732,15 +732,15 @@ up=max(up,t)
732732low=min(low,t)
733733assert((((t * mult) % 0x1) == 0x0))
734734local bit = (i % randbits)
735−if ((((t * (0x2 ^ bit))) % 0x1) >= 0.5) then
735+if (((t * (0x2 ^ bit)) % 0x1) >= 0.5) then
736736counts[(bit + 0x1)]=(counts[(bit + 0x1)] + 0x1)
737737end
738738end
739739totalrounds=(totalrounds + rounds)
740−if not ((eq(up,0x1,1e-3) and eq(low,0x0,1e-3))) then
740+if not (eq(up,0x1,1e-3) and eq(low,0x0,1e-3)) then
741741goto doagain
742742end
743−local expected = (((totalrounds / randbits) / 0x2))
743+local expected = ((totalrounds / randbits) / 0x2)
744744for i = 0x1, randbits
745745do
746746if not testnear(counts[i],expected,0.1) then
@@ -766,21 +766,21 @@ local t = random(0x0)
766766up=max(up,t)
767767low=min(low,t)
768768local bit = (i % intbits)
769−counts[(bit + 0x1)]=(counts[(bit + 0x1)] + ((((t >> bit)) & 0x1)))
769+counts[(bit + 0x1)]=(counts[(bit + 0x1)] + ((t >> bit) & 0x1))
770770end
771771totalrounds=(totalrounds + rounds)
772772local lim = (maxint >> 0xa)
773−if not ((((maxint - up) < lim) and ((low - minint) < lim))) then
773+if not (((maxint - up) < lim) and ((low - minint) < lim)) then
774774goto doagain
775775end
776−local expected = (((totalrounds / intbits) / 0x2))
776+local expected = ((totalrounds / intbits) / 0x2)
777777for i = 0x1, intbits
778778do
779779if not testnear(counts[i],expected,0.1) then
780780goto doagain
781781end
782782end
783−print(string.format("\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}\u{20}\u{69}\u{6e}\u{20}\u{25}\u{64}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}\u{3a}\u{20}\u{5b}\u{6d}\u{69}\u{6e}\u{69}\u{6e}\u{74}\u{20}\u{2b}\u{20}\u{25}\u{2e}\u{30}\u{66}\u{70}\u{70}\u{6d}\u{2c}\u{20}\u{6d}\u{61}\u{78}\u{69}\u{6e}\u{74}\u{20}\u{2d}\u{20}\u{25}\u{2e}\u{30}\u{66}\u{70}\u{70}\u{6d}\u{5d}",totalrounds,((((minint - low)) / minint) * 1e6),((((maxint - up)) / maxint) * 1e6)))
783+print(string.format("\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}\u{20}\u{69}\u{6e}\u{20}\u{25}\u{64}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}\u{3a}\u{20}\u{5b}\u{6d}\u{69}\u{6e}\u{69}\u{6e}\u{74}\u{20}\u{2b}\u{20}\u{25}\u{2e}\u{30}\u{66}\u{70}\u{70}\u{6d}\u{2c}\u{20}\u{6d}\u{61}\u{78}\u{69}\u{6e}\u{74}\u{20}\u{2d}\u{20}\u{25}\u{2e}\u{30}\u{66}\u{70}\u{70}\u{6d}\u{5d}",totalrounds,(((minint - low) / minint) * 1e6),(((maxint - up) / maxint) * 1e6)))
784784end
785785do
786786local count = {0x0,0x0,0x0,0x0,0x0,0x0}
@@ -854,11 +854,11 @@ mark[t]=true
854854count=(count + 0x1)
855855end
856856end
857−if not ((count >= (n * 0.8))) then
857+if not (count >= (n * 0.8)) then
858858goto doagain
859859end
860−local diff = (((p2 - p1)) >> 0x4)
861−if not (((min < (p1 + diff)) and (max > (p2 - diff)))) then
860+local diff = ((p2 - p1) >> 0x4)
861+if not ((min < (p1 + diff)) and (max > (p2 - diff))) then
862862goto doagain
863863end
864864end
@@ -870,7 +870,7 @@ aux((minint // 0x2),(maxint // 0x2))
870870aux(minint,maxint)
871871aux((minint + 0x1),maxint)
872872aux(minint,(maxint - 0x1))
873−aux(0x0,(0x1 << ((intbits - 0x5))))
873+aux(0x0,(0x1 << (intbits - 0x5)))
874874end
875875assert(not pcall(random,0x1,0x2,0x3))
876876assert(not pcall(random,(minint + 0x1),minint))
desk/res/lua/cycled/nextvar.lua+5−5
@@ -85,12 +85,12 @@ k,v=f({[math.mininteger] = 0xa},k)
8585assert((k == nil))
8686end
8787if not T then
88−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
88+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
8989else
9090local function mp2
9191(n)
9292local mp = (0x2 ^ math.ceil(math.log(n,0x2)))
93−assert(((n == 0x0) or ((((mp / 0x2) < n) and (n <= mp)))))
93+assert(((n == 0x0) or (((mp / 0x2) < n) and (n <= mp))))
9494return mp
9595end
9696do
@@ -391,7 +391,7 @@ function table.maxn(t)
391391local max = 0x0
392392for k in pairs(t)
393393do
394−max=((((type(k) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")) and math.max(max,k)) or max)
394+max=(((type(k) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}") and math.max(max,k)) or max)
395395end
396396return max
397397end
@@ -443,7 +443,7 @@ do
443443local k1 = next(t)
444444assert((k == k1))
445445t[k]=nil
446−local expected = (((((type(k) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and k[0x1]) or ((type(k) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}") and k())) or string.sub(k,0x1,0x1)))
446+local expected = ((((type(k) == "\u{74}\u{61}\u{62}\u{6c}\u{65}") and k[0x1]) or ((type(k) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}") and k())) or string.sub(k,0x1,0x1))
447447assert((expected == v))
448448coroutine.yield(v)
449449end
@@ -588,7 +588,7 @@ local k,v = next(t)
588588assert(((k == math.mininteger) and (v == 0x14)))
589589end
590590if not T then
591−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}\u{20}\u{6f}\u{6e}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
591+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}\u{20}\u{6f}\u{6e}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
592592else
593593local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
594594local tab = {0xa,0x14,0x1e}
desk/res/lua/cycled/pm.lua+1−1
@@ -94,7 +94,7 @@ print("\u{2b}")
9494local function f1
9595(s,p)
9696p=string.gsub(p,"\u{25}\u{25}\u{28}\u{5b}\u{30}\u{2d}\u{39}\u{5d}\u{29}",function (s)
97−return ("\u{25}" .. ((tonumber(s) + 0x1)))
97+return ("\u{25}" .. (tonumber(s) + 0x1))
9898end)
9999p=string.gsub(p,"\u{5e}\u{28}\u{5e}\u{3f}\u{29}","\u{25}\u{31}\u{28}\u{29}",0x1)
100100p=string.gsub(p,"\u{28}\u{24}\u{3f}\u{29}\u{24}","\u{28}\u{29}\u{25}\u{31}",0x1)
desk/res/lua/cycled/sort.lua+4−4
@@ -37,8 +37,8 @@ assert(((a == 0x1) and (x == nil)))
3737a,x=unpack({0x1,0x2},0x1,0x1)
3838assert(((a == 0x1) and (x == nil)))
3939do
40−local maxi = (((0x1 << 0x1f)) - 0x1)
41−local mini = - ((0x1 << 0x1f))
40+local maxi = ((0x1 << 0x1f) - 0x1)
41+local mini = - (0x1 << 0x1f)
4242checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{73}",unpack,{},0x0,maxi)
4343checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{73}",unpack,{},0x1,maxi)
4444checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{73}",unpack,{},0x0,maxI)
@@ -237,7 +237,7 @@ local function timesort
237237(a,n,func,msg,pre)
238238local x = os.clock()
239239table.sort(a,func)
240−x=(((os.clock() - x)) * 0x3e8)
240+x=((os.clock() - x) * 0x3e8)
241241pre=(pre or "")
242242print(string.format("\u{25}\u{73}\u{73}\u{6f}\u{72}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{25}\u{64}\u{20}\u{25}\u{73}\u{20}\u{65}\u{6c}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{25}\u{2e}\u{32}\u{66}\u{20}\u{6d}\u{73}\u{65}\u{63}\u{2e}",pre,n,msg,x))
243243check(a,func)
@@ -266,7 +266,7 @@ i=(i + 0x1)
266266;
267267return (y < x)
268268end)
269−x=(((os.clock() - x)) * 0x3e8)
269+x=((os.clock() - x) * 0x3e8)
270270print(string.format("\u{49}\u{6e}\u{76}\u{65}\u{72}\u{74}\u{2d}\u{73}\u{6f}\u{72}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{25}\u{64}\u{20}\u{65}\u{6c}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{25}\u{2e}\u{32}\u{66}\u{20}\u{6d}\u{73}\u{65}\u{63}\u{2e}\u{2c}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{25}\u{69}\u{20}\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{69}\u{73}\u{6f}\u{6e}\u{73}",limit,x,i))
271271check(a,function (x,y)
272272return (y < x)
desk/res/lua/cycled/strings.lua+14−14
@@ -15,14 +15,14 @@ assert(("\u{61}\u{6c}\u{6f}\u{0}" > "\u{61}\u{6c}\u{6f}"))
1515assert(("\u{0}" < "\u{1}"))
1616assert(("\u{0}\u{0}" < "\u{0}\u{1}"))
1717assert(("\u{1}\u{0}\u{61}\u{0}\u{61}" <= "\u{1}\u{0}\u{61}\u{0}\u{61}"))
18−assert(not (("\u{1}\u{0}\u{61}\u{0}\u{62}" <= "\u{1}\u{0}\u{61}\u{0}\u{61}")))
18+assert(not ("\u{1}\u{0}\u{61}\u{0}\u{62}" <= "\u{1}\u{0}\u{61}\u{0}\u{61}"))
1919assert(("\u{0}\u{0}\u{0}" < "\u{0}\u{0}\u{0}\u{0}"))
20−assert(not (("\u{0}\u{0}\u{0}\u{0}" < "\u{0}\u{0}\u{0}")))
20+assert(not ("\u{0}\u{0}\u{0}\u{0}" < "\u{0}\u{0}\u{0}"))
2121assert(("\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}\u{0}"))
22−assert(not (("\u{0}\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}")))
22+assert(not ("\u{0}\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}"))
2323assert(("\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}"))
2424assert(("\u{0}\u{0}\u{0}" >= "\u{0}\u{0}\u{0}"))
25−assert(not (("\u{0}\u{0}\u{62}" < "\u{0}\u{0}\u{61}\u{0}")))
25+assert(not ("\u{0}\u{0}\u{62}" < "\u{0}\u{0}\u{61}\u{0}"))
2626assert((string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",0x2,0x4) == "\u{32}\u{33}\u{34}"))
2727assert((string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",0x7) == "\u{37}\u{38}\u{39}"))
2828assert((string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",0x7,0x6) == ""))
@@ -88,8 +88,8 @@ assert((string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",0x0) == ""))
8888assert((string.rep("\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}",0x2) == "\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}"))
8989assert((string.rep("",0xa) == ""))
9090if (string.packsize("\u{69}") == 0x4) then
91−checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",string.rep,"\u{61}\u{61}",((0x1 << 0x1e)))
92−checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",string.rep,"\u{61}",((0x1 << 0x1e)),"\u{2c}")
91+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",string.rep,"\u{61}\u{61}",(0x1 << 0x1e))
92+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",string.rep,"\u{61}",(0x1 << 0x1e),"\u{2c}")
9393end
9494assert((string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",0x0,"\u{78}\u{75}\u{78}\u{75}") == ""))
9595assert((string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",0x1,"\u{78}\u{75}\u{78}\u{75}") == "\u{74}\u{65}\u{73}\u{74}\u{65}"))
@@ -223,7 +223,7 @@ do
223223local i = 0x1
224224local j = 0x2710
225225while ((i + 0x1) < j) do
226−local m = (((i + j)) // 0x2)
226+local m = ((i + j) // 0x2)
227227if ((0xa ^ m) < math.huge) then
228228i=m
229229else
@@ -231,13 +231,13 @@ j=m
231231end
232232end
233233assert((((0xa ^ i) < math.huge) and ((0xa ^ j) == math.huge)))
234−local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- ((0xa ^ i)))
234+local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- (0xa ^ i))
235235assert((string.len(s) >= (i + 0x65)))
236−assert((tonumber(s) == - ((0xa ^ i))))
236+assert((tonumber(s) == - (0xa ^ i)))
237237assert(((0xa ^ 0x26) < math.huge))
238−local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- ((0xa ^ 0x26)))
238+local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- (0xa ^ 0x26))
239239assert((string.len(s) >= (0x26 + 0x65)))
240−assert((tonumber(s) == - ((0xa ^ 0x26))))
240+assert((tonumber(s) == - (0xa ^ 0x26)))
241241end
242242do
243243local max,min = 0x7fffffff,- 0x80000000
@@ -250,7 +250,7 @@ assert((string.format("\u{25}\u{75}",0xffffffff) == "\u{34}\u{32}\u{39}\u{34}\u{
250250assert((string.format("\u{25}\u{6f}",0xabcd) == "\u{31}\u{32}\u{35}\u{37}\u{31}\u{35}"))
251251max,min=0x7fffffffffffffff,- 0x8000000000000000
252252if (max > (2.0 ^ 0x35)) then
253−assert((string.format("\u{25}\u{78}",((((0x2 ^ 0x34) | 0x0)) - 0x1)) == "\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}"))
253+assert((string.format("\u{25}\u{78}",(((0x2 ^ 0x34) | 0x0) - 0x1)) == "\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}"))
254254assert((string.format("\u{30}\u{78}\u{25}\u{38}\u{58}",0x8f000003) == "\u{30}\u{78}\u{38}\u{46}\u{30}\u{30}\u{30}\u{30}\u{30}\u{33}"))
255255assert((string.format("\u{25}\u{64}",(0x2 ^ 0x35)) == "\u{39}\u{30}\u{30}\u{37}\u{31}\u{39}\u{39}\u{32}\u{35}\u{34}\u{37}\u{34}\u{30}\u{39}\u{39}\u{32}"))
256256assert((string.format("\u{25}\u{69}",- (0x2 ^ 0x35)) == "\u{2d}\u{39}\u{30}\u{30}\u{37}\u{31}\u{39}\u{39}\u{32}\u{35}\u{34}\u{37}\u{34}\u{30}\u{39}\u{39}\u{32}"))
@@ -286,7 +286,7 @@ assert(string.find(string.format("\u{25}\u{61}",(0x0 / 0x0)),"\u{5e}\u{25}\u{2d}
286286assert(string.find(string.format("\u{25}\u{61}",- 0.0),"\u{5e}\u{25}\u{2d}\u{30}\u{78}\u{30}"))
287287end
288288if not pcall(string.format,"\u{25}\u{2e}\u{33}\u{61}",0x0) then
289−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{6d}\u{6f}\u{64}\u{69}\u{66}\u{69}\u{65}\u{72}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{20}\u{27}\u{25}\u{61}\u{27}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{76}\u{61}\u{69}\u{6c}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
289+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{6d}\u{6f}\u{64}\u{69}\u{66}\u{69}\u{65}\u{72}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{20}\u{27}\u{25}\u{61}\u{27}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{76}\u{61}\u{69}\u{6c}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
290290else
291291assert(string.find(string.format("\u{25}\u{2b}\u{2e}\u{32}\u{41}",0xc),"\u{5e}\u{25}\u{2b}\u{30}\u{58}\u{25}\u{78}\u{25}\u{2e}\u{25}\u{78}\u{30}\u{50}\u{25}\u{2b}\u{3f}\u{25}\u{64}\u{24}"))
292292assert(string.find(string.format("\u{25}\u{2e}\u{34}\u{41}",- 0xc),"\u{5e}\u{25}\u{2d}\u{30}\u{58}\u{25}\u{78}\u{25}\u{2e}\u{25}\u{78}\u{30}\u{30}\u{30}\u{50}\u{25}\u{2b}\u{3f}\u{25}\u{64}\u{24}"))
@@ -390,7 +390,7 @@ local co = coroutine.wrap(f)
390390assert((co() == "\u{32}"))
391391end
392392if (T == nil) then
393−((Message or print))("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{70}\u{75}\u{73}\u{68}\u{66}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
393+(Message or print)("\u{a}\u{20}\u{3e}\u{3e}\u{3e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{3a}\u{20}\u{73}\u{6b}\u{69}\u{70}\u{70}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{70}\u{75}\u{73}\u{68}\u{66}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{3c}\u{3c}\u{3c}\u{a}")
394394else
395395print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{70}\u{75}\u{73}\u{68}\u{66}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}")
396396local blen = 0xc8
desk/res/lua/cycled/tpack.lua+7−7
@@ -11,12 +11,12 @@ local sizeLI = packsize("\u{6a}")
1111local sizefloat = packsize("\u{66}")
1212local sizedouble = packsize("\u{64}")
1313local sizenumber = packsize("\u{6e}")
14−local little = ((pack("\u{69}\u{32}",0x1) == "\u{1}\u{0}"))
14+local little = (pack("\u{69}\u{32}",0x1) == "\u{1}\u{0}")
1515local align = packsize("\u{21}\u{78}\u{58}\u{69}\u{31}\u{36}")
1616assert(((((0x1 <= sizeshort) and (sizeshort <= sizeint)) and (sizeint <= sizelong)) and (sizefloat <= sizedouble)))
1717print("\u{70}\u{6c}\u{61}\u{74}\u{66}\u{6f}\u{72}\u{6d}\u{3a}")
1818print(string.format("\u{9}\u{73}\u{68}\u{6f}\u{72}\u{74}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{69}\u{6e}\u{74}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{6c}\u{6f}\u{6e}\u{67}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{5f}\u{74}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{64}\u{6f}\u{75}\u{62}\u{6c}\u{65}\u{20}\u{25}\u{64}\u{2c}\u{a}\u{9}\u{6c}\u{75}\u{61}\u{20}\u{49}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{4e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{25}\u{64}",sizeshort,sizeint,sizelong,sizesize_t,sizefloat,sizedouble,sizeLI,sizenumber))
19−print(("\u{9}" .. ((((little and "\u{6c}\u{69}\u{74}\u{74}\u{6c}\u{65}") or "\u{62}\u{69}\u{67}")) .. "\u{20}\u{65}\u{6e}\u{64}\u{69}\u{61}\u{6e}")))
19+print(("\u{9}" .. (((little and "\u{6c}\u{69}\u{74}\u{74}\u{6c}\u{65}") or "\u{62}\u{69}\u{67}") .. "\u{20}\u{65}\u{6e}\u{64}\u{69}\u{61}\u{6e}")))
2020print(("\u{9}\u{61}\u{6c}\u{69}\u{67}\u{6e}\u{6d}\u{65}\u{6e}\u{74}\u{3a}\u{20}" .. align))
2121local function checkerror
2222(msg,f, ...)
@@ -65,7 +65,7 @@ for i = 0x1, sizeLI
6565do
6666local lstr = "\u{1}\u{2}\u{3}\u{4}\u{5}\u{6}\u{7}\u{8}\u{9}\u{a}\u{b}\u{c}\u{d}"
6767local lnum = 0x807060504030201
68−local n = (lnum & (~ (- (0x1 << ((i * 0x8))))))
68+local n = (lnum & (~ (- (0x1 << (i * 0x8)))))
6969local s = string.sub(lstr,0x1,i)
7070assert((pack(("\u{3c}\u{69}" .. i),n) == s))
7171assert((pack(("\u{3e}\u{69}" .. i),n) == s:reverse()))
@@ -107,7 +107,7 @@ assert((packsize(s) == 0x7fffffff))
107107end
108108for i = 0x1, (sizeLI - 0x1)
109109do
110−local umax = (((0x1 << ((i * 0x8)))) - 0x1)
110+local umax = ((0x1 << (i * 0x8)) - 0x1)
111111local max = (umax >> 0x1)
112112local min = ~ max
113113checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,("\u{3c}\u{49}" .. i),- 0x1)
@@ -197,11 +197,11 @@ local x = pack("\u{3e}\u{21}\u{38}\u{20}\u{62}\u{20}\u{58}\u{68}\u{20}\u{69}\u{3
197197assert(# (x == packsize("\u{3e}\u{21}\u{38}\u{20}\u{62}\u{20}\u{58}\u{68}\u{20}\u{69}\u{34}\u{20}\u{69}\u{38}\u{20}\u{63}\u{31}\u{20}\u{58}\u{69}\u{38}")))
198198assert((x == ("\u{f4}" .. ("\u{0}\u{0}\u{0}" .. ("\u{0}\u{0}\u{0}\u{64}" .. ("\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{c8}" .. ("\u{ec}" .. "\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}")))))))
199199local a,b,c,d,pos = unpack("\u{3e}\u{21}\u{38}\u{20}\u{63}\u{31}\u{20}\u{58}\u{68}\u{20}\u{69}\u{34}\u{20}\u{69}\u{38}\u{20}\u{62}\u{20}\u{58}\u{69}\u{38}\u{20}\u{58}\u{49}\u{20}\u{58}\u{48}",x)
200−assert(((((a == "\u{f4}") and (b == 0x64)) and (c == 0xc8)) and (d == - (0x14 and (((pos - 0x1)) == # x)))))
200+assert(((((a == "\u{f4}") and (b == 0x64)) and (c == 0xc8)) and (d == - (0x14 and ((pos - 0x1) == # x)))))
201201x=pack("\u{3e}\u{21}\u{34}\u{20}\u{63}\u{33}\u{20}\u{63}\u{34}\u{20}\u{63}\u{32}\u{20}\u{7a}\u{20}\u{69}\u{34}\u{20}\u{63}\u{35}\u{20}\u{63}\u{32}\u{20}\u{58}\u{69}\u{34}","\u{61}\u{62}\u{63}","\u{61}\u{62}\u{63}\u{64}","\u{78}\u{7a}","\u{68}\u{65}\u{6c}\u{6c}\u{6f}",0x5,"\u{77}\u{6f}\u{72}\u{6c}\u{64}","\u{78}\u{79}")
202202assert((x == "\u{61}\u{62}\u{63}\u{61}\u{62}\u{63}\u{64}\u{78}\u{7a}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{0}\u{0}\u{0}\u{0}\u{0}\u{5}\u{77}\u{6f}\u{72}\u{6c}\u{64}\u{78}\u{79}\u{0}"))
203203local a,b,c,d,e,f,g,pos = unpack("\u{3e}\u{21}\u{34}\u{20}\u{63}\u{33}\u{20}\u{63}\u{34}\u{20}\u{63}\u{32}\u{20}\u{7a}\u{20}\u{69}\u{34}\u{20}\u{63}\u{35}\u{20}\u{63}\u{32}\u{20}\u{58}\u{68}\u{20}\u{58}\u{69}\u{34}",x)
204−assert(((((((((a == "\u{61}\u{62}\u{63}") and (b == "\u{61}\u{62}\u{63}\u{64}")) and (c == "\u{78}\u{7a}")) and (d == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}")) and (e == 0x5)) and (f == "\u{77}\u{6f}\u{72}\u{6c}\u{64}")) and (g == "\u{78}\u{79}")) and ((((pos - 0x1)) % 0x4) == 0x0)))
204+assert(((((((((a == "\u{61}\u{62}\u{63}") and (b == "\u{61}\u{62}\u{63}\u{64}")) and (c == "\u{78}\u{7a}")) and (d == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}")) and (e == 0x5)) and (f == "\u{77}\u{6f}\u{72}\u{6c}\u{64}")) and (g == "\u{78}\u{79}")) and (((pos - 0x1) % 0x4) == 0x0)))
205205x=pack("\u{20}\u{62}\u{20}\u{62}\u{20}\u{58}\u{64}\u{20}\u{62}\u{20}\u{58}\u{62}\u{20}\u{78}",0x1,0x2,0x3)
206206assert((packsize("\u{20}\u{62}\u{20}\u{62}\u{20}\u{58}\u{64}\u{20}\u{62}\u{20}\u{58}\u{62}\u{20}\u{78}") == 0x4))
207207assert((x == "\u{1}\u{2}\u{3}\u{0}"))
@@ -242,7 +242,7 @@ end
242242for pos = 0x0, 0xc
243243do
244244local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,(pos + 0x1))
245−assert(((i == ((((pos + 0x3)) // 0x4) + 0x1)) and (p == ((i * 0x4) + 0x1))))
245+assert(((i == (((pos + 0x3) // 0x4) + 0x1)) and (p == ((i * 0x4) + 0x1))))
246246end
247247local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,- 0x4)
248248assert(((i == 0x4) and (p == 0x11)))
desk/res/lua/cycled/utf8.lua+1−1
@@ -150,7 +150,7 @@ end
150150assert((utf8.char() == ""))
151151assert((utf8.char(0x0,0x61,0x62,0x63,0x1) == "\u{0}\u{61}\u{62}\u{63}\u{1}"))
152152assert((utf8.codepoint(utf8.char(0x10ffff)) == 0x10ffff))
153−assert((utf8.codepoint(utf8.char(0x7fffffff),0x1,0x1,true) == (((0x1 << 0x1f)) - 0x1)))
153+assert((utf8.codepoint(utf8.char(0x7fffffff),0x1,0x1,true) == ((0x1 << 0x1f) - 0x1)))
154154checkerror("\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",utf8.char,(0x7fffffff + 0x1))
155155checkerror("\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",utf8.char,- 0x1)
156156local function invalid
desk/res/lua/cycled/vararg.lua+1−1
@@ -14,7 +14,7 @@ assert((arg == _G.arg))
1414local x = {...}
1515;
1616x.n=# x
17−local res = ((((x.n == 0x2) and (x[0x1] == 0x1)) and (x[0x2] == 0x2)))
17+local res = (((x.n == 0x2) and (x[0x1] == 0x1)) and (x[0x2] == 0x2))
1818if res then
1919res=0x37
2020end
desk/res/lua/cycled/verybig.lua+4−4
@@ -23,22 +23,22 @@ print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{61}\u{72}\u{67}\
2323local prog = "\u{24}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{a}\u{a}\u{62}\u{20}\u{3d}\u{20}\u{7b}\u{24}\u{31}\u{24}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{30}\u{39}\u{20}\u{3d}\u{20}\u{36}\u{35}\u{35}\u{33}\u{34}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{30}\u{20}\u{3d}\u{20}\u{36}\u{35}\u{35}\u{33}\u{35}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{31}\u{20}\u{3d}\u{20}\u{36}\u{35}\u{35}\u{33}\u{36}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{32}\u{20}\u{3d}\u{20}\u{36}\u{35}\u{35}\u{33}\u{37}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{33}\u{20}\u{3d}\u{20}\u{31}\u{36}\u{37}\u{37}\u{37}\u{32}\u{31}\u{34}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{34}\u{20}\u{3d}\u{20}\u{31}\u{36}\u{37}\u{37}\u{37}\u{32}\u{31}\u{35}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{35}\u{20}\u{3d}\u{20}\u{31}\u{36}\u{37}\u{37}\u{37}\u{32}\u{31}\u{36}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{36}\u{20}\u{3d}\u{20}\u{31}\u{36}\u{37}\u{37}\u{37}\u{32}\u{31}\u{37}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{37}\u{20}\u{3d}\u{20}\u{30}\u{78}\u{37}\u{66}\u{66}\u{66}\u{66}\u{66}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{38}\u{20}\u{3d}\u{20}\u{2d}\u{30}\u{78}\u{37}\u{66}\u{66}\u{66}\u{66}\u{66}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{31}\u{39}\u{20}\u{3d}\u{20}\u{30}\u{78}\u{31}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{30}\u{20}\u{3d}\u{20}\u{2d}\u{30}\u{78}\u{31}\u{66}\u{66}\u{66}\u{66}\u{64}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{31}\u{20}\u{3d}\u{20}\u{2d}\u{36}\u{35}\u{35}\u{33}\u{34}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{32}\u{20}\u{3d}\u{20}\u{2d}\u{36}\u{35}\u{35}\u{33}\u{35}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{33}\u{20}\u{3d}\u{20}\u{2d}\u{36}\u{35}\u{35}\u{33}\u{36}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{34}\u{20}\u{3d}\u{20}\u{2d}\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{2c}\u{a}\u{20}\u{20}\u{62}\u{33}\u{30}\u{30}\u{32}\u{35}\u{20}\u{3d}\u{20}\u{31}\u{35}\u{30}\u{31}\u{32}\u{2e}\u{35}\u{2c}\u{a}\u{20}\u{20}\u{24}\u{32}\u{24}\u{a}\u{7d}\u{3b}\u{a}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{62}\u{2e}\u{61}\u{35}\u{30}\u{30}\u{30}\u{38}\u{20}\u{3d}\u{3d}\u{20}\u{32}\u{35}\u{30}\u{30}\u{34}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{5b}\u{22}\u{61}\u{31}\u{31}\u{22}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{35}\u{2e}\u{35}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{62}\u{2e}\u{61}\u{33}\u{33}\u{30}\u{30}\u{37}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{31}\u{36}\u{35}\u{30}\u{33}\u{2e}\u{35}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{2e}\u{61}\u{35}\u{30}\u{30}\u{30}\u{39}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{32}\u{35}\u{30}\u{30}\u{34}\u{2e}\u{35}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{62}\u{5b}\u{22}\u{62}\u{22}\u{2e}\u{2e}\u{33}\u{30}\u{30}\u{32}\u{34}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{29}\u{a}\u{a}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{62}\u{3a}\u{78}\u{78}\u{78}\u{20}\u{28}\u{61}\u{2c}\u{62}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{2b}\u{62}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{62}\u{3a}\u{78}\u{78}\u{78}\u{28}\u{31}\u{30}\u{2c}\u{20}\u{31}\u{32}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{32}\u{32}\u{29}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{65}\u{6c}\u{66}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{61}\u{6e}\u{74}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{a}\u{62}\u{5b}\u{22}\u{78}\u{78}\u{78}\u{22}\u{5d}\u{20}\u{3d}\u{20}\u{75}\u{6e}\u{64}\u{65}\u{66}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{73}\u{20}\u{3d}\u{20}\u{30}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{6e}\u{3d}\u{30}\u{a}\u{66}\u{6f}\u{72}\u{20}\u{61}\u{2c}\u{62}\u{20}\u{69}\u{6e}\u{20}\u{70}\u{61}\u{69}\u{72}\u{73}\u{28}\u{62}\u{29}\u{20}\u{64}\u{6f}\u{20}\u{73}\u{3d}\u{73}\u{2b}\u{62}\u{3b}\u{20}\u{6e}\u{3d}\u{6e}\u{2b}\u{31}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{2d}\u{2d}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{33}\u{32}\u{2d}\u{62}\u{69}\u{74}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{73}\u{2c}\u{20}\u{65}\u{78}\u{61}\u{63}\u{74}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{6f}\u{66}\u{20}\u{27}\u{73}\u{27}\u{20}\u{64}\u{65}\u{70}\u{65}\u{6e}\u{64}\u{73}\u{20}\u{6f}\u{6e}\u{20}\u{73}\u{75}\u{6d}\u{6d}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{72}\u{64}\u{65}\u{72}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{38}\u{31}\u{38}\u{30}\u{30}\u{30}\u{30}\u{30}\u{2e}\u{30}\u{20}\u{3c}\u{20}\u{73}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{73}\u{20}\u{3c}\u{20}\u{38}\u{31}\u{38}\u{36}\u{30}\u{30}\u{30}\u{30}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6e}\u{20}\u{3d}\u{3d}\u{20}\u{37}\u{30}\u{30}\u{30}\u{31}\u{29}\u{a}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{3b}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{27}\u{2b}\u{27}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{28}\u{78}\u{29}\u{20}\u{62}\u{3d}\u{78}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{66}\u{7b}\u{24}\u{33}\u{24}\u{7d}\u{20}\u{6f}\u{72}\u{20}\u{31}\u{30}\u{a}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{3d}\u{3d}\u{31}\u{30}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{62}\u{5b}\u{31}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{61}\u{31}\u{30}\u{22}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{5b}\u{32}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{35}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{5b}\u{23}\u{62}\u{2d}\u{31}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{61}\u{35}\u{30}\u{30}\u{30}\u{39}\u{22}\u{29}\u{a}\u{a}\u{a}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{78}\u{78}\u{78}\u{78}\u{20}\u{28}\u{78}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{62}\u{5b}\u{78}\u{5d}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{78}\u{78}\u{78}\u{78}\u{28}\u{33}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{61}\u{31}\u{31}\u{22}\u{29}\u{a}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{3b}\u{20}\u{62}\u{3d}\u{6e}\u{69}\u{6c}\u{a}\u{78}\u{78}\u{78}\u{78}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{30}\u{a}\u{a}"
2424local function sig
2525(x)
26−return (((((x % 0x2) == 0x0)) and "") or "\u{2d}")
26+return ((((x % 0x2) == 0x0) and "") or "\u{2d}")
2727end
2828local F = {function ()
2929for i = 0xa, 0xc359
3030do
31−io.write("\u{61}",i,"\u{20}\u{3d}\u{20}",sig(i),(0x5 + ((((i - 0xa)) / 0x2))),"\u{2c}\u{a}")
31+io.write("\u{61}",i,"\u{20}\u{3d}\u{20}",sig(i),(0x5 + ((i - 0xa) / 0x2)),"\u{2c}\u{a}")
3232end
3333end,function ()
3434for i = 0x754a, 0xc359
3535do
36−io.write("\u{62}",i,"\u{20}\u{3d}\u{20}",sig(i),(0x3aa5 + ((((i - 0x754a)) / 0x2))),"\u{2c}\u{a}")
36+io.write("\u{62}",i,"\u{20}\u{3d}\u{20}",sig(i),(0x3aa5 + ((i - 0x754a) / 0x2)),"\u{2c}\u{a}")
3737end
3838end,function ()
3939for i = 0xa, 0xc359
4040do
41−io.write("\u{22}\u{61}",i,"\u{22}\u{2c}\u{20}",sig(i),(0x5 + ((((i - 0xa)) / 0x2))),"\u{2c}\u{a}")
41+io.write("\u{22}\u{61}",i,"\u{22}\u{2c}\u{20}",sig(i),(0x5 + ((i - 0xa) / 0x2)),"\u{2c}\u{a}")
4242end
4343end}
4444local file = os.tmpname()