on master help sign in
All parsing tests pass
7cd9444iko
zod/luau/TODO.md+1−1
@@ -3,4 +3,4 @@
3- [x] functioncall
3- [x] functioncall
4- [x] any string apart from the basic string with no escapes
4- [x] any string apart from the basic string with no escapes
5- [ ] check if int fits in int or make it a float
5- [ ] check if int fits in int or make it a float
6−- [ ] should `print-blok` have `do`-`end`? This is fucked.
6+- [x] should `print-blok` have `do`-`end`? This is fucked.
zod/luau/lib/lua/parser.hoon+19−18
@@ -101,47 +101,49 @@ apex
101 |= quot=char
101 |= quot=char
102 =/ quot (just quot)
102 =/ quot (just quot)
103 %+ cook
103 %+ cook
104− |=([* =tape *] (crip tape))
104+ |=([* =tape *] tape)
105 ;~ plug
105 ;~ plug
106 quot
106 quot
107+ %+ cook zing
107 %- star
108 %- star
108 ;~ less quot
109 ;~ less quot
109 ;~ pose
110 ;~ pose
110− %+ cold '\07' (jest '\\a')
111+ %+ cold ~['\07'] (jest '\\a')
111− %+ cold '\08' (jest '\\b')
112+ %+ cold ~['\08'] (jest '\\b')
112− %+ cold '\0c' (jest '\\f')
113+ %+ cold ~['\0c'] (jest '\\f')
113− %+ cold '\0a' (jest '\\n')
114+ %+ cold ~['\0a'] (jest '\\n')
114− %+ cold '\0d' (jest '\\r')
115+ %+ cold ~['\0d'] (jest '\\r')
115− %+ cold '\09' (jest '\\t')
116+ %+ cold ~['\09'] (jest '\\t')
116− %+ cold '\0b' (jest '\\v')
117+ %+ cold ~['\0b'] (jest '\\v')
117− %+ cold '\\' (jest '\\\\')
118+ %+ cold ~['\\'] (jest '\\\\')
118− %+ cold '"' (jest '\\"')
119+ %+ cold ~['"'] (jest '\\"')
119− %+ cold '\'' (jest '\\\'')
120+ %+ cold ~['\''] (jest '\\\'')
120− %+ cold '\0a' (jest '\\\0a')
121+ %+ cold ~['\0a'] (jest '\\\0a')
121− %+ cold '' ;~(plug (jest '\\z') gaw)
122+ %+ cold ~ ;~(plug (jest '\\z') gaw)
122 ::
123 ::
123 ;~ pfix
124 ;~ pfix
124 (jest '\\x')
125 (jest '\\x')
125 ;< hex-digits=tape bind ;~(plug next next (easy ~))
126 ;< hex-digits=tape bind ;~(plug next next (easy ~))
126 =/ digit=(unit @) (rust hex-digits hex)
127 =/ digit=(unit @) (rust hex-digits hex)
127− ?~ digit fail (easy `@t`u.digit)
128+ ?~ digit fail (easy ~[`@`u.digit])
128 ==
129 ==
129 ::
130 ::
130 ;~ pfix
131 ;~ pfix
131 (jest '\\')
132 (jest '\\')
132 ;< digits=tape bind (stun [1 3] (shim '0' '9'))
133 ;< digits=tape bind (stun [1 3] (shim '0' '9'))
133 =/ digit=(unit @) (rust digits dem)
134 =/ digit=(unit @) (rust digits dem)
134− ?~ digit fail (easy `@t`u.digit)
135+ ?~ digit fail (easy ~[`@`u.digit])
135 ==
136 ==
136 ::
137 ::
137 %+ cook
138 %+ cook
138− |= [* point=@ *] `@t`point
139+ |= [* point=@ *] ~[point]
139 ;~ plug
140 ;~ plug
140 (jest '\\u{')
141 (jest '\\u{')
141 hex
142 hex
142 (just '}')
143 (just '}')
143 ==
144 ==
144 ::
145 ::
146+ %+ cook |=(char=@ ~[char])
145 next
147 next
146 ==
148 ==
147 ==
149 ==
@@ -152,7 +154,6 @@ apex
152 (parse-string '"')
154 (parse-string '"')
153 (parse-string '\'')
155 (parse-string '\'')
154 ::
156 ::
155− %+ cook |=(=tape (crip tape))
156 %- long-brackets
157 %- long-brackets
157 |* closing=rule
158 |* closing=rule
158 ;~ pfix
159 ;~ pfix
@@ -203,7 +204,7 @@ apex
203 ==
204 ==
204 ::
205 ::
205 %+ cook
206 %+ cook
206− |=([=name * =expr] [%keyed [%string name] expr])
207+ |=([=name * =expr] [%keyed [%string (trip name)] expr])
207 ;~ (glue ws)
208 ;~ (glue ws)
208 parse-name
209 parse-name
209 tis
210 tis
zod/luau/lib/lua/printer.hoon+7−2
@@ -64,10 +64,15 @@ print
64 ::
64 ::
65 ^- tape
65 ^- tape
66 %- zing
66 %- zing
67− %+ turn (trip string)
67+ %+ turn string
68 |= char=@t
68 |= char=@t
69 ^- tape
69 ^- tape
70+ %- zing
71+ :~
72+ "\\u\{"
70− :- '\\' (show-u `@`char)
73+ ((x-co:co 1) char)
74+ "}"
75+ ==
71 "\""
76 "\""
72 ==
77 ==
73:: table
78:: table
zod/luau/res/lua/cycled/all.lua+80−80
@@ -1,13 +1,13 @@
1−local version = "\76\117\97\32\53\46\52"
1+local version = "\u{4c}\u{75}\u{61}\u{20}\u{35}\u{2e}\u{34}"
2if _VERSION ~= version then
2if _VERSION ~= version then
3−io.stderr:write("\84\104\105\115\32\116\101\115\116\32\115\117\105\116\101\32\105\115\32\102\111\114\32",version,"\44\32\110\111\116\32\102\111\114\32",_VERSION,"\10\69\120\105\116\105\110\103\32\116\101\115\116\115")
3+io.stderr:write("\u{54}\u{68}\u{69}\u{73}\u{20}\u{74}\u{65}\u{73}\u{74}\u{20}\u{73}\u{75}\u{69}\u{74}\u{65}\u{20}\u{69}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}",version,"\u{2c}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{6f}\u{72}\u{20}",_VERSION,"\u{a}\u{45}\u{78}\u{69}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}")
4return
4return
5end
5end
6_G.ARG=arg
6_G.ARG=arg
7−_soft=rawget(_G,"\95\115\111\102\116") or false
7+_soft=rawget(_G,"\u{5f}\u{73}\u{6f}\u{66}\u{74}") or false
8−_port=rawget(_G,"\95\112\111\114\116") or false
8+_port=rawget(_G,"\u{5f}\u{70}\u{6f}\u{72}\u{74}") or false
9−_nomsg=rawget(_G,"\95\110\111\109\115\103") or false
9+_nomsg=rawget(_G,"\u{5f}\u{6e}\u{6f}\u{6d}\u{73}\u{67}") or false
10−local usertests = rawget(_G,"\95\85")
10+local usertests = rawget(_G,"\u{5f}\u{55}")
11if usertests then
11if usertests then
12_soft=true
12_soft=true
13_port=true
13_port=true
@@ -17,14 +17,14 @@ debug=nil
17if usertests then
17if usertests then
18T=nil
18T=nil
19else
19else
20−T=rawget(_G,"\84")
20+T=rawget(_G,"\u{54}")
21end
21end
22−print("\10\9\83\116\97\114\116\105\110\103\32\84\101\115\116\115")
22+print("\u{a}\u{9}\u{53}\u{74}\u{61}\u{72}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{54}\u{65}\u{73}\u{74}\u{73}")
23do
23do
24local random_x,random_y = math.randomseed()
24local random_x,random_y = math.randomseed()
25−print(string.format("\114\97\110\100\111\109\32\115\101\101\100\115\58\32\37\100\44\32\37\100",random_x,random_y))
25+print(string.format("\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{20}\u{73}\u{65}\u{65}\u{64}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{25}\u{64}",random_x,random_y))
26end
26end
27−print("\99\117\114\114\101\110\116\32\112\97\116\104\58\10\42\42\42\42" .. package.path .. "\42\42\42\42\10")
27+print("\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{20}\u{70}\u{61}\u{74}\u{68}\u{3a}\u{a}\u{2a}\u{2a}\u{2a}\u{2a}" .. package.path .. "\u{2a}\u{2a}\u{2a}\u{2a}\u{a}")
28local initclock = os.clock()
28local initclock = os.clock()
29local lastclock = initclock
29local lastclock = initclock
30local walltime = os.time()
30local walltime = os.time()
@@ -37,23 +37,23 @@ print(m)
37msgs[# msgs + 1]=string.sub(m,3,- 3)
37msgs[# msgs + 1]=string.sub(m,3,- 3)
38end
38end
39end
39end
40−assert(os.setlocale("\67"))
40+assert(os.setlocale("\u{43}"))
41local T,print,format,write,assert,type,unpack,floor = T,print,string.format,io.write,assert,type,table.unpack,math.floor
41local T,print,format,write,assert,type,unpack,floor = T,print,string.format,io.write,assert,type,table.unpack,math.floor
42local function F
42local function F
43(m)
43(m)
44local function round
44local function round
45(m)
45(m)
46m=m + 0.04999
46m=m + 0.04999
47−return format("\37\46\49\102",m)
47+return format("\u{25}\u{2e}\u{31}\u{66}",m)
48end
48end
49if m < 1000 then
49if m < 1000 then
50return m
50return m
51else
51else
52m=m / 1000
52m=m / 1000
53if m < 1000 then
53if m < 1000 then
54−return round(m) .. "\75"
54+return round(m) .. "\u{4b}"
55else
55else
56−return round(m / 1000) .. "\77"
56+return round(m / 1000) .. "\u{4d}"
57end
57end
58end
58end
59end
59end
@@ -62,9 +62,9 @@ local showmem
62if not T then
62if not T then
63local max = 0
63local max = 0
64showmem=function ()
64showmem=function ()
65−local m = collectgarbage("\99\111\117\110\116") * 1024
65+local m = collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 1024
66max=(m > max) and m or max
66max=(m > max) and m or max
67−print(format("\32\32\32\32\45\45\45\45\32\116\111\116\97\108\32\109\101\109\111\114\121\58\32\37\115\44\32\109\97\120\32\109\101\109\111\114\121\58\32\37\115\32\45\45\45\45\10",F(m),F(max)))
67+print(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)))
68end
68end
69Cstacklevel=function ()
69Cstacklevel=function ()
70return 0
70return 0
@@ -73,9 +73,9 @@ else
73showmem=function ()
73showmem=function ()
74T.checkmemory()
74T.checkmemory()
75local total,numblocks,maxmem = T.totalmem()
75local total,numblocks,maxmem = T.totalmem()
76−local count = collectgarbage("\99\111\117\110\116")
76+local count = collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
77−print(format("\10\32\32\32\32\45\45\45\45\32\116\111\116\97\108\32\109\101\109\111\114\121\58\32\37\115\32\40\37\46\48\102\75\41\44\32\109\97\120\32\117\115\101\58\32\37\115\44\32\32\98\108\111\99\107\115\58\32\37\100\10",F(total),count,F(maxmem),numblocks))
77+print(format("\u{a}\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{20}\u{28}\u{25}\u{2e}\u{30}\u{66}\u{4b}\u{29}\u{2c}\u{20}\u{6d}\u{61}\u{78}\u{20}\u{75}\u{73}\u{65}\u{3a}\u{20}\u{25}\u{73}\u{2c}\u{20}\u{20}\u{62}\u{6c}\u{6f}\u{63}\u{6b}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{a}",F(total),count,F(maxmem),numblocks))
78−print(format("\9\40\115\116\114\105\110\103\115\58\32\32\37\100\44\32\116\97\98\108\101\115\58\32\37\100\44\32\102\117\110\99\116\105\111\110\115\58\32\37\100\44\32" .. "\10\9\117\100\97\116\97\58\32\37\100\44\32\116\104\114\101\97\100\115\58\32\37\100\41",T.totalmem("\115\116\114\105\110\103"),T.totalmem("\116\97\98\108\101"),T.totalmem("\102\117\110\99\116\105\111\110"),T.totalmem("\117\115\101\114\100\97\116\97"),T.totalmem("\116\104\114\101\97\100")))
78+print(format("\u{9}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}\u{3a}\u{20}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}" .. "\u{a}\u{9}\u{75}\u{64}\u{61}\u{74}\u{61}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{29}",T.totalmem("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"),T.totalmem("\u{74}\u{61}\u{62}\u{6c}\u{65}"),T.totalmem("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}"),T.totalmem("\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}"),T.totalmem("\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}")))
79end
79end
80Cstacklevel=function ()
80Cstacklevel=function ()
81local _,_,ncalls = T.stacklevel()
81local _,_,ncalls = T.stacklevel()
@@ -85,13 +85,13 @@ end
85local Cstack = Cstacklevel()
85local Cstack = Cstacklevel()
86local function report
86local function report
87(n)
87(n)
88−print("\10\42\42\42\42\42\32\70\73\76\69\32\39" .. n .. "\39\42\42\42\42\42")
88+print("\u{a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{20}\u{46}\u{49}\u{4c}\u{45}\u{20}\u{27}" .. n .. "\u{27}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}")
89end
89end
90local olddofile = dofile
90local olddofile = dofile
91local dofile = function (n,strip)
91local dofile = function (n,strip)
92showmem()
92showmem()
93local c = os.clock()
93local c = os.clock()
94−print(string.format("\116\105\109\101\58\32\37\103\32\40\43\37\103\41",c - initclock,c - lastclock))
94+print(string.format("\u{74}\u{69}\u{6d}\u{65}\u{3a}\u{20}\u{25}\u{67}\u{20}\u{28}\u{2b}\u{25}\u{67}\u{29}",c - initclock,c - lastclock))
95lastclock=c
95lastclock=c
96report(n)
96report(n)
97local f = assert(loadfile(n))
97local f = assert(loadfile(n))
@@ -99,84 +99,84 @@ local b = string.dump(f,strip)
99f=assert(load(b))
99f=assert(load(b))
100return f()
100return f()
101end
101end
102−dofile("\109\97\105\110\46\108\117\97")
102+dofile("\u{6d}\u{61}\u{69}\u{6e}\u{2e}\u{6c}\u{75}\u{61}")
103−require("\116\114\97\99\101\103\99").start()
103+require("\u{74}\u{72}\u{61}\u{63}\u{65}\u{67}\u{63}").start()
104−report("\103\99\46\108\117\97")
104+report("\u{67}\u{63}\u{2e}\u{6c}\u{75}\u{61}")
105−local f = assert(loadfile("\103\99\46\108\117\97"))
105+local f = assert(loadfile("\u{67}\u{63}\u{2e}\u{6c}\u{75}\u{61}"))
106f()
106f()
107−dofile("\100\98\46\108\117\97")
107+dofile("\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}")
108−assert(dofile("\99\97\108\108\115\46\108\117\97") == deep and deep)
108+assert(dofile("\u{63}\u{61}\u{6c}\u{6c}\u{73}\u{2e}\u{6c}\u{75}\u{61}") == deep and deep)
109_G.deep=nil
109_G.deep=nil
110−olddofile("\115\116\114\105\110\103\115\46\108\117\97")
110+olddofile("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}\u{2e}\u{6c}\u{75}\u{61}")
111−olddofile("\108\105\116\101\114\97\108\115\46\108\117\97")
111+olddofile("\u{6c}\u{69}\u{74}\u{65}\u{72}\u{61}\u{6c}\u{73}\u{2e}\u{6c}\u{75}\u{61}")
112−dofile("\116\112\97\99\107\46\108\117\97")
112+dofile("\u{74}\u{70}\u{61}\u{63}\u{6b}\u{2e}\u{6c}\u{75}\u{61}")
113−assert(dofile("\97\116\116\114\105\98\46\108\117\97") == 27)
113+assert(dofile("\u{61}\u{74}\u{74}\u{72}\u{69}\u{62}\u{2e}\u{6c}\u{75}\u{61}") == 27)
114−dofile("\103\101\110\103\99\46\108\117\97")
114+dofile("\u{67}\u{65}\u{6e}\u{67}\u{63}\u{2e}\u{6c}\u{75}\u{61}")
115−assert(dofile("\108\111\99\97\108\115\46\108\117\97") == 5)
115+assert(dofile("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{73}\u{2e}\u{6c}\u{75}\u{61}") == 5)
116−dofile("\99\111\110\115\116\114\117\99\116\115\46\108\117\97")
116+dofile("\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{73}\u{2e}\u{6c}\u{75}\u{61}")
117−dofile("\99\111\100\101\46\108\117\97",true)
117+dofile("\u{63}\u{6f}\u{64}\u{65}\u{2e}\u{6c}\u{75}\u{61}",true)
118if not _G._soft then
118if not _G._soft then
119−report("\98\105\103\46\108\117\97")
119+report("\u{62}\u{69}\u{67}\u{2e}\u{6c}\u{75}\u{61}")
120−local f = coroutine.wrap(assert(loadfile("\98\105\103\46\108\117\97")))
120+local f = coroutine.wrap(assert(loadfile("\u{62}\u{69}\u{67}\u{2e}\u{6c}\u{75}\u{61}")))
121−assert(f() == "\98")
121+assert(f() == "\u{62}")
122−assert(f() == "\97")
122+assert(f() == "\u{61}")
123−end
123+end
124−dofile("\99\115\116\97\99\107\46\108\117\97")
124+dofile("\u{63}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{2e}\u{6c}\u{75}\u{61}")
125−dofile("\110\101\120\116\118\97\114\46\108\117\97")
125+dofile("\u{6e}\u{65}\u{78}\u{74}\u{76}\u{61}\u{72}\u{2e}\u{6c}\u{75}\u{61}")
126−dofile("\112\109\46\108\117\97")
126+dofile("\u{70}\u{6d}\u{2e}\u{6c}\u{75}\u{61}")
127−dofile("\117\116\102\56\46\108\117\97")
127+dofile("\u{75}\u{74}\u{66}\u{38}\u{2e}\u{6c}\u{75}\u{61}")
128−dofile("\97\112\105\46\108\117\97")
128+dofile("\u{61}\u{70}\u{69}\u{2e}\u{6c}\u{75}\u{61}")
129−assert(dofile("\101\118\101\110\116\115\46\108\117\97") == 12)
129+assert(dofile("\u{65}\u{76}\u{65}\u{6e}\u{74}\u{73}\u{2e}\u{6c}\u{75}\u{61}") == 12)
130−dofile("\118\97\114\97\114\103\46\108\117\97")
130+dofile("\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{2e}\u{6c}\u{75}\u{61}")
131−dofile("\99\108\111\115\117\114\101\46\108\117\97")
131+dofile("\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{2e}\u{6c}\u{75}\u{61}")
132−dofile("\99\111\114\111\117\116\105\110\101\46\108\117\97")
132+dofile("\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{6c}\u{75}\u{61}")
133−dofile("\103\111\116\111\46\108\117\97",true)
133+dofile("\u{67}\u{6f}\u{74}\u{6f}\u{2e}\u{6c}\u{75}\u{61}",true)
134−dofile("\101\114\114\111\114\115\46\108\117\97")
134+dofile("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}\u{2e}\u{6c}\u{75}\u{61}")
135−dofile("\109\97\116\104\46\108\117\97")
135+dofile("\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{6c}\u{75}\u{61}")
136−dofile("\115\111\114\116\46\108\117\97",true)
136+dofile("\u{73}\u{6f}\u{72}\u{74}\u{2e}\u{6c}\u{75}\u{61}",true)
137−dofile("\98\105\116\119\105\115\101\46\108\117\97")
137+dofile("\u{62}\u{69}\u{74}\u{77}\u{69}\u{73}\u{65}\u{2e}\u{6c}\u{75}\u{61}")
138−assert(dofile("\118\101\114\121\98\105\103\46\108\117\97",true) == 10)
138+assert(dofile("\u{76}\u{65}\u{72}\u{79}\u{62}\u{69}\u{67}\u{2e}\u{6c}\u{75}\u{61}",true) == 10)
139;
139;
140collectgarbage()
140collectgarbage()
141−dofile("\102\105\108\101\115\46\108\117\97")
141+dofile("\u{66}\u{69}\u{6c}\u{65}\u{73}\u{2e}\u{6c}\u{75}\u{61}")
142if # msgs > 0 then
142if # msgs > 0 then
143−local m = table.concat(msgs,"\10\32\32")
143+local m = table.concat(msgs,"\u{a}\u{20}\u{20}")
144−warn("\35\116\101\115\116\115\32\110\111\116\32\112\101\114\102\111\114\109\101\100\58\10\32\32",m,"\10")
144+warn("\u{23}\u{74}\u{65}\u{73}\u{74}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{70}\u{65}\u{72}\u{66}\u{6f}\u{72}\u{6d}\u{65}\u{64}\u{3a}\u{a}\u{20}\u{20}",m,"\u{a}")
145−end
145+end
146−print("\40\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\116\119\111\32\119\97\114\110\105\110\103\115\32\110\111\119\41")
146+print("\u{28}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{74}\u{77}\u{6f}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{73}\u{20}\u{6e}\u{6f}\u{77}\u{29}")
147−warn("\64\111\110")
147+warn("\u{40}\u{6f}\u{6e}")
148−warn("\35\84\104\105\115\32\105\115\32","\97\110\32\101\120\112\101\99\116\101\100","\32\119\97\114\110\105\110\103")
148+warn("\u{23}\u{54}\u{68}\u{69}\u{73}\u{20}\u{69}\u{73}\u{20}","\u{61}\u{6e}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}","\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}")
149−warn("\64\111\102\102")
149+warn("\u{40}\u{6f}\u{66}\u{66}")
150−warn("\42\42\42\42\42\42\42\42\32\84\72\73\83\32\87\65\82\78\73\78\71\32\83\72\79\85\76\68\32\78\79\84\32\65\80\80\69\65\82\32\42\42\42\42\42\42\42\42\42\42")
150+warn("\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{20}\u{54}\u{48}\u{49}\u{53}\u{20}\u{57}\u{41}\u{52}\u{4e}\u{49}\u{4e}\u{47}\u{20}\u{53}\u{48}\u{4f}\u{55}\u{4c}\u{44}\u{20}\u{4e}\u{4f}\u{54}\u{20}\u{41}\u{50}\u{50}\u{45}\u{41}\u{52}\u{20}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}")
151−warn("\42\42\42\42\42\42\42\42\32\84\72\73\83\32\87\65\82\78\73\78\71\32\65\76\83\79\32\83\72\79\85\76\68\32\78\79\84\32\65\80\80\69\65\82\32\42\42\42\42\42\42\42\42\42\42")
151+warn("\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{20}\u{54}\u{48}\u{49}\u{53}\u{20}\u{57}\u{41}\u{52}\u{4e}\u{49}\u{4e}\u{47}\u{20}\u{41}\u{4c}\u{53}\u{4f}\u{20}\u{53}\u{48}\u{4f}\u{55}\u{4c}\u{44}\u{20}\u{4e}\u{4f}\u{54}\u{20}\u{41}\u{50}\u{50}\u{45}\u{41}\u{52}\u{20}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}\u{2a}")
152−warn("\64\111\110")
152+warn("\u{40}\u{6f}\u{6e}")
153−warn("\35\84\104\105\115\32\105\115","\32\97\110\111\116\104\101\114\32\111\110\101")
153+warn("\u{23}\u{54}\u{68}\u{69}\u{73}\u{20}\u{69}\u{73}","\u{20}\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{6f}\u{6e}\u{65}")
154assert(debug == nil)
154assert(debug == nil)
155−local debug = require("\100\101\98\117\103")
155+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
156−print(string.format("\37\100\45\98\105\116\32\105\110\116\101\103\101\114\115\44\32\37\100\45\98\105\116\32\102\108\111\97\116\115",string.packsize("\106") * 8,string.packsize("\110") * 8))
156+print(string.format("\u{25}\u{64}\u{2d}\u{62}\u{69}\u{74}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{73}\u{2c}\u{20}\u{25}\u{64}\u{2d}\u{62}\u{69}\u{74}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{73}",string.packsize("\u{6a}") * 8,string.packsize("\u{6e}") * 8))
157debug.sethook(function (a)
157debug.sethook(function (a)
158−assert(type(a) == "\115\116\114\105\110\103")
158+assert(type(a) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
159−end,"\99\114")
159+end,"\u{63}\u{72}")
160_G.showmem=showmem
160_G.showmem=showmem
161−assert(Cstack == Cstacklevel(),"\115\104\111\117\108\100\32\98\101\32\97\116\32\116\104\101\32\115\97\109\101\32\67\45\115\116\97\99\107\32\108\101\118\101\108\32\105\116\32\119\97\115\32\119\104\101\110\32\115\116\97\114\116\101\100\32\116\104\101\32\116\101\115\116\115")
161+assert(Cstack == Cstacklevel(),"\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{61}\u{74}\u{20}\u{74}\u{68}\u{65}\u{20}\u{73}\u{61}\u{6d}\u{65}\u{20}\u{43}\u{2d}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6c}\u{65}\u{76}\u{65}\u{6c}\u{20}\u{69}\u{74}\u{20}\u{77}\u{61}\u{73}\u{20}\u{77}\u{68}\u{65}\u{6e}\u{20}\u{73}\u{74}\u{61}\u{72}\u{74}\u{65}\u{64}\u{20}\u{74}\u{68}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}")
162end
162end
163local _G,showmem,print,format,clock,time,difftime,assert,open,warn = _G,showmem,print,string.format,os.clock,os.time,os.difftime,assert,io.open,warn
163local _G,showmem,print,format,clock,time,difftime,assert,open,warn = _G,showmem,print,string.format,os.clock,os.time,os.difftime,assert,io.open,warn
164−local fname = T and "\116\105\109\101\45\100\101\98\117\103\46\116\120\116" or "\116\105\109\101\46\116\120\116"
164+local fname = T and "\u{74}\u{69}\u{6d}\u{65}\u{2d}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{74}\u{78}\u{74}" or "\u{74}\u{69}\u{6d}\u{65}\u{2e}\u{74}\u{78}\u{74}"
165local lasttime
165local lasttime
166if not usertests then
166if not usertests then
167local f = io.open(fname)
167local f = io.open(fname)
168if f then
168if f then
169−lasttime=assert(tonumber(f:read("\97")))
169+lasttime=assert(tonumber(f:read("\u{61}")))
170f:close()
170f:close()
171;
171;
172else
172else
173lasttime=nil
173lasttime=nil
174end
174end
175end
175end
176−print("\99\108\101\97\110\105\110\103\32\97\108\108\33\33\33\33")
176+print("\u{63}\u{6c}\u{65}\u{61}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{6c}\u{6c}\u{21}\u{21}\u{21}\u{21}")
177for n in pairs(_G)
177for n in pairs(_G)
178do
178do
179−if not ({["\95\95\95\71\108\111\98"] = 1,["\116\111\115\116\114\105\110\103"] = 1})[n] then
179+if not ({["\u{5f}\u{5f}\u{5f}\u{47}\u{6c}\u{6f}\u{62}"] = 1,["\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"] = 1})[n] then
180_G[n]=undef
180_G[n]=undef
181end
181end
182end
182end
@@ -190,14 +190,14 @@ collectgarbage()
190showmem()
190showmem()
191local clocktime = clock() - initclock
191local clocktime = clock() - initclock
192walltime=difftime(time(),walltime)
192walltime=difftime(time(),walltime)
193−print(format("\10\10\116\111\116\97\108\32\116\105\109\101\58\32\37\46\50\102\115\32\40\119\97\108\108\32\116\105\109\101\58\32\37\103\115\41\10",clocktime,walltime))
193+print(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))
194if not usertests then
194if not usertests then
195lasttime=lasttime or clocktime
195lasttime=lasttime or clocktime
196local diff = (clocktime - lasttime) / lasttime
196local diff = (clocktime - lasttime) / lasttime
197local tolerance = 0.05
197local tolerance = 0.05
198if (diff >= tolerance or diff <= - tolerance) then
198if (diff >= tolerance or diff <= - tolerance) then
199−warn(format("\35\116\105\109\101\32\100\105\102\102\101\114\101\110\99\101\32\102\114\111\109\32\112\114\101\118\105\111\117\115\32\116\101\115\116\58\32\37\43\46\49\102\37\37",diff * 100))
199+warn(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 * 100))
200end
200end
201−assert(open(fname,"\119")):write(clocktime):close()
201+assert(open(fname,"\u{77}")):write(clocktime):close()
202end
202end
203−print("\102\105\110\97\108\32\79\75\32\33\33\33")
203+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{4f}\u{4b}\u{20}\u{21}\u{21}\u{21}")
zod/luau/res/lua/cycled/api.lua+409−409
@@ -1,10 +1,10 @@
1if T == nil then
1if T == nil then
2−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\65\80\73\32\116\101\115\116\115\32\60\60\60\10")
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}")
3return
3return
4end
4end
5−local debug = require("\100\101\98\117\103")
5+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
6local pack = table.pack
6local pack = table.pack
7−local MEMERRMSG = "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121"
7+local 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}"
8local function tcheck
8local function tcheck
9(t1,t2)
9(t1,t2)
10assert(t1.n == (t2.n or # t2) + 1)
10assert(t1.n == (t2.n or # t2) + 1)
@@ -18,83 +18,83 @@ local function checkerr
18local stat,err = pcall(f,...)
18local stat,err = pcall(f,...)
19assert(not stat and string.find(err,msg))
19assert(not stat and string.find(err,msg))
20end
20end
21−print("\116\101\115\116\105\110\103\32\67\32\65\80\73")
21+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{43}\u{20}\u{41}\u{50}\u{49}")
22−local a = T.testC("\112\117\115\104\118\97\108\117\101\32\82\59\32\114\101\116\117\114\110\32\49")
22+local a = T.testC("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{52}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
23assert(a == debug.getregistry())
23assert(a == debug.getregistry())
24−assert(T.testC("\115\101\116\116\111\112\32\49\48\59\32\97\98\115\105\110\100\101\120\32\45\49\59\32\114\101\116\117\114\110\32\49") == 10)
24+assert(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{61}\u{62}\u{73}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 10)
25−assert(T.testC("\115\101\116\116\111\112\32\53\59\32\97\98\115\105\110\100\101\120\32\45\53\59\32\114\101\116\117\114\110\32\49") == 1)
25+assert(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{35}\u{3b}\u{20}\u{61}\u{62}\u{73}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{2d}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 1)
26−assert(T.testC("\115\101\116\116\111\112\32\49\48\59\32\97\98\115\105\110\100\101\120\32\49\59\32\114\101\116\117\114\110\32\49") == 1)
26+assert(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{61}\u{62}\u{73}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 1)
27−assert(T.testC("\115\101\116\116\111\112\32\49\48\59\32\97\98\115\105\110\100\101\120\32\82\59\32\114\101\116\117\114\110\32\49") < - 10)
27+assert(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{61}\u{62}\u{73}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{52}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") < - 10)
28a=T.d2s(12458954321123.0)
28a=T.d2s(12458954321123.0)
29−assert(a == string.pack("\100",12458954321123.0))
29+assert(a == string.pack("\u{64}",12458954321123.0))
30assert(T.s2d(a) == 12458954321123.0)
30assert(T.s2d(a) == 12458954321123.0)
31−local a,b,c = T.testC("\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\50\59\32\112\117\115\104\110\117\109\32\51\59\32\114\101\116\117\114\110\32\50")
31+local a,b,c = T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}")
32assert(a == 2 and b == 3 and not c)
32assert(a == 2 and b == 3 and not c)
33−local f = T.makeCfunc("\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\50\59\32\112\117\115\104\110\117\109\32\51\59\32\114\101\116\117\114\110\32\50")
33+local f = T.makeCfunc("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}")
34a,b,c=f()
34a,b,c=f()
35assert(a == 2 and b == 3 and not c)
35assert(a == 2 and b == 3 and not c)
36−a,b,c=T.testC("\112\117\115\104\98\111\111\108\32\49\59\32\112\117\115\104\98\111\111\108\32\50\59\32\112\117\115\104\98\111\111\108\32\48\59\32\114\101\116\117\114\110\32\51")
36+a,b,c=T.testC("\u{70}\u{75}\u{73}\u{68}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
37assert(a == b and a == true and c == false)
37assert(a == b and a == true and c == false)
38−a,b,c=T.testC("\112\117\115\104\98\111\111\108\32\48\59\32\112\117\115\104\98\111\111\108\32\49\48\59\32\112\117\115\104\110\105\108\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\116\111\98\111\111\108\32\45\51\59\32\116\111\98\111\111\108\32\45\51\59\32\116\111\98\111\111\108\32\45\51\59\32\114\101\116\117\114\110\32\51")
38+a,b,c=T.testC("\u{70}\u{75}\u{73}\u{68}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{69}\u{6c}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{2d}\u{33}\u{3b}\u{20}\u{74}\u{6f}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{2d}\u{33}\u{3b}\u{20}\u{74}\u{6f}\u{62}\u{6f}\u{6f}\u{6c}\u{20}\u{2d}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
39assert(a == false and b == true and c == false)
39assert(a == false and b == true and c == false)
40−a,b,c=T.testC("\103\101\116\116\111\112\59\32\114\101\116\117\114\110\32\50",10,20,30,40)
40+a,b,c=T.testC("\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",10,20,30,40)
41assert(a == 40 and b == 5 and not c)
41assert(a == 40 and b == 5 and not c)
42−local t = pack(T.testC("\115\101\116\116\111\112\32\53\59\32\114\101\116\117\114\110\32\42",2,3))
42+local t = pack(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3))
43−tcheck(t,{["\110"] = 4,2,3})
43+tcheck(t,{["\u{6e}"] = 4,2,3})
44−t=pack(T.testC("\115\101\116\116\111\112\32\48\59\32\115\101\116\116\111\112\32\49\53\59\32\114\101\116\117\114\110\32\49\48",3,1,23))
44+t=pack(T.testC("\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{30}\u{3b}\u{20}\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{31}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{30}",3,1,23))
45assert(t.n == 10 and t[1] == nil and t[10] == nil)
45assert(t.n == 10 and t[1] == nil and t[10] == nil)
46−t=pack(T.testC("\114\101\109\111\118\101\32\45\50\59\32\114\101\116\117\114\110\32\42",2,3,4))
46+t=pack(T.testC("\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4))
47−tcheck(t,{["\110"] = 2,2,4})
47+tcheck(t,{["\u{6e}"] = 2,2,4})
48−t=pack(T.testC("\105\110\115\101\114\116\32\45\49\59\32\114\101\116\117\114\110\32\42",2,3))
48+t=pack(T.testC("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3))
49−tcheck(t,{["\110"] = 2,2,3})
49+tcheck(t,{["\u{6e}"] = 2,2,3})
50−t=pack(T.testC("\105\110\115\101\114\116\32\51\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
50+t=pack(T.testC("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
51−tcheck(t,{["\110"] = 4,2,5,3,4})
51+tcheck(t,{["\u{6e}"] = 4,2,5,3,4})
52−t=pack(T.testC("\114\101\112\108\97\99\101\32\50\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
52+t=pack(T.testC("\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
53−tcheck(t,{["\110"] = 3,5,3,4})
53+tcheck(t,{["\u{6e}"] = 3,5,3,4})
54−t=pack(T.testC("\114\101\112\108\97\99\101\32\45\50\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
54+t=pack(T.testC("\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
55−tcheck(t,{["\110"] = 3,2,3,5})
55+tcheck(t,{["\u{6e}"] = 3,2,3,5})
56−t=pack(T.testC("\114\101\109\111\118\101\32\51\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
56+t=pack(T.testC("\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
57−tcheck(t,{["\110"] = 3,2,4,5})
57+tcheck(t,{["\u{6e}"] = 3,2,4,5})
58−t=pack(T.testC("\99\111\112\121\32\51\32\52\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
58+t=pack(T.testC("\u{63}\u{6f}\u{70}\u{79}\u{20}\u{33}\u{20}\u{34}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
59−tcheck(t,{["\110"] = 4,2,3,3,5})
59+tcheck(t,{["\u{6e}"] = 4,2,3,3,5})
60−t=pack(T.testC("\99\111\112\121\32\45\51\32\45\49\59\32\114\101\116\117\114\110\32\42",2,3,4,5))
60+t=pack(T.testC("\u{63}\u{6f}\u{70}\u{79}\u{20}\u{2d}\u{33}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5))
61−tcheck(t,{["\110"] = 4,2,3,4,3})
61+tcheck(t,{["\u{6e}"] = 4,2,3,4,3})
62do
62do
63local t = {10,20,30,40,50,60}
63local t = {10,20,30,40,50,60}
64for i = - 6, 6
64for i = - 6, 6
65do
65do
66−local s = string.format("\114\111\116\97\116\101\32\50\32\37\100\59\32\114\101\116\117\114\110\32\55",i)
66+local s = string.format("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{32}\u{20}\u{25}\u{64}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{37}",i)
67local t1 = pack(T.testC(s,10,20,30,40,50,60))
67local t1 = pack(T.testC(s,10,20,30,40,50,60))
68tcheck(t1,t)
68tcheck(t1,t)
69table.insert(t,1,table.remove(t))
69table.insert(t,1,table.remove(t))
70end
70end
71−t=pack(T.testC("\114\111\116\97\116\101\32\45\50\32\49\59\32\114\101\116\117\114\110\32\42",10,20,30,40))
71+t=pack(T.testC("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{2d}\u{32}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",10,20,30,40))
72tcheck(t,{10,20,40,30})
72tcheck(t,{10,20,40,30})
73−t=pack(T.testC("\114\111\116\97\116\101\32\45\50\32\45\49\59\32\114\101\116\117\114\110\32\42",10,20,30,40))
73+t=pack(T.testC("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{2d}\u{32}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",10,20,30,40))
74tcheck(t,{10,20,40,30})
74tcheck(t,{10,20,40,30})
75−t=pack(T.testC("\114\111\116\97\116\101\32\45\49\32\48\59\32\114\101\116\117\114\110\32\42",10,20,30,40))
75+t=pack(T.testC("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",10,20,30,40))
76tcheck(t,{10,20,30,40})
76tcheck(t,{10,20,30,40})
77−t=pack(T.testC("\114\111\116\97\116\101\32\45\49\32\49\59\32\114\101\116\117\114\110\32\42",10,20,30,40))
77+t=pack(T.testC("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",10,20,30,40))
78tcheck(t,{10,20,30,40})
78tcheck(t,{10,20,30,40})
79−t=pack(T.testC("\114\111\116\97\116\101\32\53\32\45\49\59\32\114\101\116\117\114\110\32\42",10,20,30,40))
79+t=pack(T.testC("\u{72}\u{6f}\u{74}\u{61}\u{74}\u{65}\u{20}\u{35}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",10,20,30,40))
80tcheck(t,{10,20,30,40})
80tcheck(t,{10,20,30,40})
81end
81end
82−T.testC("\32\32\119\97\114\110\105\110\103\67\32\34\35\84\104\105\115\32\115\104\111\108\100\32\98\101\32\97\34\10\32\32\119\97\114\110\105\110\103\67\32\34\32\115\105\110\103\108\101\32\34\10\32\32\119\97\114\110\105\110\103\32\34\119\97\114\110\105\110\103\34\10\32\32\119\97\114\110\105\110\103\67\32\34\35\84\104\105\115\32\115\104\111\117\108\100\32\98\101\32\34\10\32\32\119\97\114\110\105\110\103\32\34\97\110\111\116\104\101\114\32\111\110\101\34\10")
82+T.testC("\u{20}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{43}\u{20}\u{22}\u{23}\u{54}\u{68}\u{69}\u{73}\u{20}\u{73}\u{68}\u{6f}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{61}\u{22}\u{a}\u{20}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{43}\u{20}\u{22}\u{20}\u{73}\u{69}\u{6e}\u{67}\u{6c}\u{65}\u{20}\u{22}\u{a}\u{20}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{22}\u{a}\u{20}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{43}\u{20}\u{22}\u{23}\u{54}\u{68}\u{69}\u{73}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{22}\u{a}\u{20}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{6f}\u{6e}\u{65}\u{22}\u{a}")
83do
83do
84−local f = T.makeCfunc("\32\32\32\32\103\101\116\103\108\111\98\97\108\32\101\114\114\111\114\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\98\111\108\97\10\32\32\32\32\112\99\97\108\108\32\49\32\49\32\49\32\32\32\35\32\99\97\108\108\32\39\101\114\114\111\114\39\32\119\105\116\104\32\103\105\118\101\110\32\104\97\110\100\108\101\114\10\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\114\101\116\117\114\110\32\50\32\32\32\32\32\35\32\114\101\116\117\114\110\32\101\114\114\111\114\32\109\101\115\115\97\103\101\32\97\110\100\32\115\116\97\116\117\115\10\32\32")
84+local f = T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{62}\u{6f}\u{6c}\u{61}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{31}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{27}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{27}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{67}\u{69}\u{76}\u{65}\u{6e}\u{20}\u{68}\u{61}\u{6e}\u{64}\u{6c}\u{65}\u{72}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\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{32}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\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}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}")
85local msg,st = f(string.upper)
85local msg,st = f(string.upper)
86−assert(st == "\69\82\82\82\85\78" and msg == "\66\79\76\65")
86+assert(st == "\u{45}\u{52}\u{52}\u{52}\u{55}\u{4e}" and msg == "\u{42}\u{4f}\u{4c}\u{41}")
87local msg,st = f(string.len)
87local msg,st = f(string.len)
88−assert(st == "\69\82\82\82\85\78" and msg == 4)
88+assert(st == "\u{45}\u{52}\u{52}\u{52}\u{55}\u{4e}" and msg == 4)
89end
89end
90−t=pack(T.testC("\105\110\115\101\114\116\32\51\59\32\112\117\115\104\118\97\108\117\101\32\51\59\32\114\101\109\111\118\101\32\51\59\32\112\117\115\104\118\97\108\117\101\32\50\59\32\114\101\109\111\118\101\32\50\59\32\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\105\110\115\101\114\116\32\50\59\32\112\117\115\104\118\97\108\117\101\32\49\59\32\114\101\109\111\118\101\32\49\59\32\105\110\115\101\114\116\32\49\59\32\10\32\32\32\32\32\32\105\110\115\101\114\116\32\45\50\59\32\112\117\115\104\118\97\108\117\101\32\45\50\59\32\114\101\109\111\118\101\32\45\51\59\32\114\101\116\117\114\110\32\42",2,3,4,5,10,40,90))
90+t=pack(T.testC("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{31}\u{3b}\u{20}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{31}\u{3b}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{2d}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",2,3,4,5,10,40,90))
91−tcheck(t,{["\110"] = 7,2,3,4,5,10,40,90})
91+tcheck(t,{["\u{6e}"] = 7,2,3,4,5,10,40,90})
92−t=pack(T.testC("\99\111\110\99\97\116\32\53\59\32\114\101\116\117\114\110\32\42","\97\108\111",2,3,"\106\111\97\111",12))
92+t=pack(T.testC("\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}","\u{61}\u{6c}\u{6f}",2,3,"\u{6a}\u{6f}\u{61}\u{6f}",12))
93−tcheck(t,{["\110"] = 1,"\97\108\111\50\51\106\111\97\111\49\50"})
93+tcheck(t,{["\u{6e}"] = 1,"\u{61}\u{6c}\u{6f}\u{32}\u{33}\u{6a}\u{6f}\u{61}\u{6f}\u{31}\u{32}"})
94−t=pack(T.testC("\99\97\108\108\32\50\44\45\49\59\32\114\101\116\117\114\110\32\42",function (a,b)
94+t=pack(T.testC("\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{32}\u{2c}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",function (a,b)
95return 1,2,3,4,a,b
95return 1,2,3,4,a,b
96−end,"\97\108\111","\106\111\97\111"))
96+end,"\u{61}\u{6c}\u{6f}","\u{6a}\u{6f}\u{61}\u{6f}"))
97−tcheck(t,{["\110"] = 6,1,2,3,4,"\97\108\111","\106\111\97\111"})
97+tcheck(t,{["\u{6e}"] = 6,1,2,3,4,"\u{61}\u{6c}\u{6f}","\u{6a}\u{6f}\u{61}\u{6f}"})
98do
98do
99local a = {}
99local a = {}
100for i = 1, 1000
100for i = 1, 1000
@@ -103,112 +103,112 @@ a[i]=true
103end
103end
104;
104;
105a[999]=10
105a[999]=10
106−local b = T.testC("\112\99\97\108\108\32\49\32\45\49\32\48\59\32\112\111\112\32\49\59\32\116\111\115\116\114\105\110\103\32\45\49\59\32\114\101\116\117\114\110\32\49",table.unpack,a)
106+local b = T.testC("\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{2d}\u{31}\u{20}\u{30}\u{3b}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{3b}\u{20}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",table.unpack,a)
107−assert(b == "\49\48")
107+assert(b == "\u{31}\u{30}")
108end
108end
109_G.AA=14
109_G.AA=14
110;
110;
111−_G.BB="\97\51\49"
111+_G.BB="\u{61}\u{33}\u{31}"
112−local a = {T.testC("\32\32\103\101\116\103\108\111\98\97\108\32\65\65\59\10\32\32\103\101\116\103\108\111\98\97\108\32\66\66\59\10\32\32\103\101\116\103\108\111\98\97\108\32\66\66\59\10\32\32\115\101\116\103\108\111\98\97\108\32\65\65\59\10\32\32\114\101\116\117\114\110\32\42\10")}
112+local a = {T.testC("\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{41}\u{41}\u{3b}\u{a}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{42}\u{42}\u{3b}\u{a}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{42}\u{42}\u{3b}\u{a}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{41}\u{41}\u{3b}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}\u{a}")}
113−assert(a[2] == 14 and a[3] == "\97\51\49" and a[4] == nil and _G.AA == "\97\51\49")
113+assert(a[2] == 14 and a[3] == "\u{61}\u{33}\u{31}" and a[4] == nil and _G.AA == "\u{61}\u{33}\u{31}")
114_G.AA,_G.BB=nil
114_G.AA,_G.BB=nil
115−assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\32\97\114\105\116\104\32\47\59\32\114\101\116\117\114\110\32\49") == 0.5)
115+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2f}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 0.5)
116−assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\32\97\114\105\116\104\32\45\59\32\114\101\116\117\114\110\32\49") == - 10)
116+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2d}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == - 10)
117−assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\45\50\48\59\32\97\114\105\116\104\32\42\59\32\114\101\116\117\114\110\32\49") == - 200)
117+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{2d}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2a}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == - 200)
118−assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\51\59\32\97\114\105\116\104\32\94\59\32\114\101\116\117\114\110\32\49") == 1000)
118+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5e}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 1000)
119−assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\115\116\114\105\110\103\32\50\48\59\32\97\114\105\116\104\32\47\59\32\114\101\116\117\114\110\32\49") == 0.5)
119+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2f}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 0.5)
120−assert(T.testC("\112\117\115\104\115\116\114\105\110\103\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\32\97\114\105\116\104\32\45\59\32\114\101\116\117\114\110\32\49") == - 10)
120+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2d}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == - 10)
121−assert(T.testC("\112\117\115\104\115\116\114\105\110\103\32\49\48\59\32\112\117\115\104\115\116\114\105\110\103\32\45\50\48\59\32\97\114\105\116\104\32\42\59\32\114\101\116\117\114\110\32\49") == - 200)
121+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{32}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2a}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == - 200)
122−assert(T.testC("\112\117\115\104\115\116\114\105\110\103\32\49\48\59\32\112\117\115\104\115\116\114\105\110\103\32\51\59\32\97\114\105\116\104\32\94\59\32\114\101\116\117\114\110\32\49") == 1000)
122+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{33}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5e}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == 1000)
123−assert(T.testC("\97\114\105\116\104\32\47\59\32\114\101\116\117\114\110\32\49",2,0) == 10.0 / 0)
123+assert(T.testC("\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{2f}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",2,0) == 10.0 / 0)
124−a=T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\105\110\116\32\51\59\32\97\114\105\116\104\32\92\59\32\114\101\116\117\114\110\32\49")
124+a=T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{33}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5c}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
125−assert(a == 3.0 and math.type(a) == "\102\108\111\97\116")
125+assert(a == 3.0 and math.type(a) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}")
126−a=T.testC("\112\117\115\104\105\110\116\32\49\48\59\32\112\117\115\104\105\110\116\32\51\59\32\97\114\105\116\104\32\92\59\32\114\101\116\117\114\110\32\49")
126+a=T.testC("\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{33}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5c}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
127−assert(a == 3 and math.type(a) == "\105\110\116\101\103\101\114")
127+assert(a == 3 and math.type(a) == "\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}")
128−a=assert(T.testC("\112\117\115\104\105\110\116\32\49\48\59\32\112\117\115\104\105\110\116\32\51\59\32\97\114\105\116\104\32\43\59\32\114\101\116\117\114\110\32\49"))
128+a=assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{33}\u{3b}\u{20}\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{31}"))
129−assert(a == 13 and math.type(a) == "\105\110\116\101\103\101\114")
129+assert(a == 13 and math.type(a) == "\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}")
130−a=assert(T.testC("\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\105\110\116\32\51\59\32\97\114\105\116\104\32\43\59\32\114\101\116\117\114\110\32\49"))
130+a=assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{33}\u{3b}\u{20}\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{31}"))
131−assert(a == 13 and math.type(a) == "\102\108\111\97\116")
131+assert(a == 13 and math.type(a) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}")
132−a,b,c=T.testC("\112\117\115\104\110\117\109\32\49\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\49\48\59\32\97\114\105\116\104\32\95\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\53\59\32\114\101\116\117\114\110\32\51")
132+a,b,c=T.testC("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{5f}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
133−assert(a == 1 and b == - 10 and c == "\53")
133+assert(a == 1 and b == - 10 and c == "\u{35}")
134−local mt = {["\95\95\97\100\100"] = function (a,b)
134+local mt = {["\u{5f}\u{5f}\u{61}\u{64}\u{64}"] = function (a,b)
135return setmetatable({a[1] + b[1]},mt)
135return setmetatable({a[1] + b[1]},mt)
136−end,["\95\95\109\111\100"] = function (a,b)
136+end,["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}"] = function (a,b)
137return setmetatable({a[1] % b[1]},mt)
137return setmetatable({a[1] % b[1]},mt)
138−end,["\95\95\117\110\109"] = function (a)
138+end,["\u{5f}\u{5f}\u{75}\u{6e}\u{6d}"] = function (a)
139return setmetatable({a[1] * 2},mt)
139return setmetatable({a[1] * 2},mt)
140end}
140end}
141a,b,c=setmetatable({4},mt),setmetatable({8},mt),setmetatable({- 3},mt)
141a,b,c=setmetatable({4},mt),setmetatable({8},mt),setmetatable({- 3},mt)
142−local x,y,z = T.testC("\97\114\105\116\104\32\43\59\32\114\101\116\117\114\110\32\50",10,a,b)
142+local 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}",10,a,b)
143assert(x == 10 and y[1] == 12 and z == nil)
143assert(x == 10 and y[1] == 12 and z == nil)
144−assert(T.testC("\97\114\105\116\104\32\37\59\32\114\101\116\117\114\110\32\49",a,c)[1] == 4 % - 3)
144+assert(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)[1] == 4 % - 3)
145−assert(T.testC("\97\114\105\116\104\32\95\59\32\97\114\105\116\104\32\43\59\32\97\114\105\116\104\32\37\59\32\114\101\116\117\114\110\32\49",b,a,c)[1] == 8 % (4 + (- 3) * 2))
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)[1] == 8 % (4 + (- 3) * 2))
146−checkerr("\100\105\118\105\100\101\32\98\121\32\122\101\114\111",T.testC,"\97\114\105\116\104\32\92",10,0)
146+checkerr("\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}",10,0)
147−checkerr("\37\37\48",T.testC,"\97\114\105\116\104\32\37",10,0)
147+checkerr("\u{25}\u{25}\u{30}",T.testC,"\u{61}\u{72}\u{69}\u{74}\u{68}\u{20}\u{25}",10,0)
148−assert(T.testC("\99\111\109\112\97\114\101\32\76\84\32\50\32\53\44\32\114\101\116\117\114\110\32\49",3,2,2,4,2,2))
148+assert(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}",3,2,2,4,2,2))
149−assert(T.testC("\99\111\109\112\97\114\101\32\76\69\32\50\32\53\44\32\114\101\116\117\114\110\32\49",3,2,2,4,2,2))
149+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\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}",3,2,2,4,2,2))
150−assert(not T.testC("\99\111\109\112\97\114\101\32\76\84\32\51\32\52\44\32\114\101\116\117\114\110\32\49",3,2,2,4,2,2))
150+assert(not 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{33}\u{20}\u{34}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",3,2,2,4,2,2))
151−assert(T.testC("\99\111\109\112\97\114\101\32\76\69\32\51\32\52\44\32\114\101\116\117\114\110\32\49",3,2,2,4,2,2))
151+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\u{20}\u{33}\u{20}\u{34}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",3,2,2,4,2,2))
152−assert(T.testC("\99\111\109\112\97\114\101\32\76\84\32\53\32\50\44\32\114\101\116\117\114\110\32\49",4,2,2,3,2,2))
152+assert(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{35}\u{20}\u{32}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",4,2,2,3,2,2))
153−assert(not T.testC("\99\111\109\112\97\114\101\32\76\84\32\50\32\45\51\44\32\114\101\116\117\114\110\32\49","\52","\50","\50","\51","\50","\50"))
153+assert(not 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{2d}\u{33}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}","\u{34}","\u{32}","\u{32}","\u{33}","\u{32}","\u{32}"))
154−assert(not T.testC("\99\111\109\112\97\114\101\32\76\84\32\45\51\32\50\44\32\114\101\116\117\114\110\32\49","\51","\50","\50","\52","\50","\50"))
154+assert(not 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{2d}\u{33}\u{20}\u{32}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}","\u{33}","\u{32}","\u{32}","\u{34}","\u{32}","\u{32}"))
155−assert(not T.testC("\99\111\109\112\97\114\101\32\76\84\32\49\32\52\44\32\114\101\116\117\114\110\32\49"))
155+assert(not 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{31}\u{20}\u{34}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
156−assert(not T.testC("\99\111\109\112\97\114\101\32\76\69\32\57\32\49\44\32\114\101\116\117\114\110\32\49"))
156+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\u{20}\u{39}\u{20}\u{31}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
157−assert(not T.testC("\99\111\109\112\97\114\101\32\69\81\32\57\32\57\44\32\114\101\116\117\114\110\32\49"))
157+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{39}\u{20}\u{39}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
158−local b = {["\95\95\108\116"] = function (a,b)
158+local b = {["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
159return a[1] < b[1]
159return a[1] < b[1]
160end}
160end}
161local a1,a3,a4 = setmetatable({1},b),setmetatable({3},b),setmetatable({4},b)
161local a1,a3,a4 = setmetatable({1},b),setmetatable({3},b),setmetatable({4},b)
162−assert(T.testC("\99\111\109\112\97\114\101\32\76\84\32\50\32\53\44\32\114\101\116\117\114\110\32\49",a3,2,2,a4,2,2))
162+assert(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}",a3,2,2,a4,2,2))
163−assert(T.testC("\99\111\109\112\97\114\101\32\76\69\32\50\32\53\44\32\114\101\116\117\114\110\32\49",a3,2,2,a4,2,2))
163+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\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}",a3,2,2,a4,2,2))
164−assert(T.testC("\99\111\109\112\97\114\101\32\76\84\32\53\32\45\54\44\32\114\101\116\117\114\110\32\49",a4,2,2,a3,2,2))
164+assert(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{35}\u{20}\u{2d}\u{36}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",a4,2,2,a3,2,2))
165−a,b=T.testC("\99\111\109\112\97\114\101\32\76\84\32\53\32\45\54\44\32\114\101\116\117\114\110\32\50",a1,2,2,a3,2,20)
165+a,b=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{35}\u{20}\u{2d}\u{36}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a1,2,2,a3,2,20)
166assert(a == 20 and b == false)
166assert(a == 20 and b == false)
167−a,b=T.testC("\99\111\109\112\97\114\101\32\76\69\32\53\32\45\54\44\32\114\101\116\117\114\110\32\50",a1,2,2,a3,2,20)
167+a,b=T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\u{20}\u{35}\u{20}\u{2d}\u{36}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a1,2,2,a3,2,20)
168assert(a == 20 and b == false)
168assert(a == 20 and b == false)
169−a,b=T.testC("\99\111\109\112\97\114\101\32\76\69\32\53\32\45\54\44\32\114\101\116\117\114\110\32\50",a1,2,2,a1,2,20)
169+a,b=T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\u{20}\u{35}\u{20}\u{2d}\u{36}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a1,2,2,a1,2,20)
170assert(a == 20 and b == true)
170assert(a == 20 and b == true)
171do
171do
172−local mt = {["\95\95\108\116"] = function (a,b)
172+local mt = {["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
173return a[1] < b[1]
173return a[1] < b[1]
174−end,["\95\95\108\101"] = function (a,b)
174+end,["\u{5f}\u{5f}\u{6c}\u{65}"] = function (a,b)
175return a[1] <= b[1]
175return a[1] <= b[1]
176−end,["\95\95\101\113"] = function (a,b)
176+end,["\u{5f}\u{5f}\u{65}\u{71}"] = function (a,b)
177return a[1] == b[1]
177return a[1] == b[1]
178end}
178end}
179local function O
179local function O
180(x)
180(x)
181return setmetatable({x},mt)
181return setmetatable({x},mt)
182end
182end
183−local a,b = T.testC("\99\111\109\112\97\114\101\32\76\84\32\50\32\51\59\32\112\117\115\104\105\110\116\32\49\48\59\32\114\101\116\117\114\110\32\50",O(1),O(2))
183+local a,b = 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{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",O(1),O(2))
184assert(a == true and b == 10)
184assert(a == true and b == 10)
185−local a,b = T.testC("\99\111\109\112\97\114\101\32\76\69\32\50\32\51\59\32\112\117\115\104\105\110\116\32\49\48\59\32\114\101\116\117\114\110\32\50",O(3),O(2))
185+local a,b = T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{4c}\u{45}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",O(3),O(2))
186assert(a == false and b == 10)
186assert(a == false and b == 10)
187−local a,b = T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\112\117\115\104\105\110\116\32\49\48\59\32\114\101\116\117\114\110\32\50",O(3),O(3))
187+local a,b = T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",O(3),O(3))
188assert(a == true and b == 10)
188assert(a == true and b == 10)
189end
189end
190−local t = setmetatable({["\120"] = 20},{["\95\95\108\101\110"] = function (t)
190+local t = setmetatable({["\u{78}"] = 20},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function (t)
191return t.x
191return t.x
192end})
192end})
193−a,b,c=T.testC("\32\32\32\108\101\110\32\50\59\10\32\32\32\76\108\101\110\32\50\59\10\32\32\32\111\98\106\115\105\122\101\32\50\59\10\32\32\32\114\101\116\117\114\110\32\51\10",t)
193+a,b,c=T.testC("\u{20}\u{20}\u{20}\u{6c}\u{65}\u{6e}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{4c}\u{6c}\u{65}\u{6e}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{a}",t)
194assert(a == 20 and b == 20 and c == 0)
194assert(a == 20 and b == 20 and c == 0)
195−t.x="\50\51\52"
195+t.x="\u{32}\u{33}\u{34}"
196;
196;
197t[1]=20
197t[1]=20
198−a,b,c=T.testC("\32\32\32\108\101\110\32\50\59\10\32\32\32\76\108\101\110\32\50\59\10\32\32\32\111\98\106\115\105\122\101\32\50\59\10\32\32\32\114\101\116\117\114\110\32\51\10",t)
198+a,b,c=T.testC("\u{20}\u{20}\u{20}\u{6c}\u{65}\u{6e}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{4c}\u{6c}\u{65}\u{6e}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{a}",t)
199−assert(a == "\50\51\52" and b == 234 and c == 1)
199+assert(a == "\u{32}\u{33}\u{34}" and b == 234 and c == 1)
200t.x=print
200t.x=print
201;
201;
202t[1]=20
202t[1]=20
203−a,c=T.testC("\32\32\32\108\101\110\32\50\59\10\32\32\32\111\98\106\115\105\122\101\32\50\59\10\32\32\32\114\101\116\117\114\110\32\50\10",t)
203+a,c=T.testC("\u{20}\u{20}\u{20}\u{6c}\u{65}\u{6e}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{a}",t)
204assert(a == print and c == 1)
204assert(a == print and c == 1)
205−a=setmetatable({["\120"] = "\117"},{["\95\95\99\111\110\99\97\116"] = function (a,b)
205+a=setmetatable({["\u{78}"] = "\u{75}"},{["\u{5f}\u{5f}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"] = function (a,b)
206−return a.x .. "\46" .. b.x
206+return a.x .. "\u{2e}" .. b.x
207end})
207end})
208−x,y=T.testC("\32\32\112\117\115\104\110\117\109\32\53\10\32\32\112\117\115\104\118\97\108\117\101\32\50\59\10\32\32\112\117\115\104\118\97\108\117\101\32\50\59\10\32\32\99\111\110\99\97\116\32\50\59\10\32\32\112\117\115\104\118\97\108\117\101\32\45\50\59\10\32\32\114\101\116\117\114\110\32\50\59\10",a,a)
208+x,y=T.testC("\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{35}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{3b}\u{a}",a,a)
209assert(x == a .. a and y == 5)
209assert(x == a .. a and y == 5)
210−assert(T.testC("\99\111\110\99\97\116\32\48\59\32\114\101\116\117\114\110\32\49") == "")
210+assert(T.testC("\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == "")
211−assert(T.testC("\99\111\110\99\97\116\32\49\59\32\114\101\116\117\114\110\32\49","\120\117\120\117") == "\120\117\120\117")
211+assert(T.testC("\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}","\u{78}\u{75}\u{78}\u{75}") == "\u{78}\u{75}\u{78}\u{75}")
212local function B
212local function B
213(x)
213(x)
214return x and 1 or 0
214return x and 1 or 0
@@ -216,14 +216,14 @@ end
216local function count
216local function count
217(x,n)
217(x,n)
218n=n or 2
218n=n or 2
219−local prog = "\32\32\32\32\105\115\110\117\109\98\101\114\32\37\100\59\10\32\32\32\32\105\115\115\116\114\105\110\103\32\37\100\59\10\32\32\32\32\105\115\102\117\110\99\116\105\111\110\32\37\100\59\10\32\32\32\32\105\115\99\102\117\110\99\116\105\111\110\32\37\100\59\10\32\32\32\32\105\115\116\97\98\108\101\32\37\100\59\10\32\32\32\32\105\115\117\115\101\114\100\97\116\97\32\37\100\59\10\32\32\32\32\105\115\110\105\108\32\37\100\59\10\32\32\32\32\105\115\110\117\108\108\32\37\100\59\10\32\32\32\32\114\101\116\117\114\110\32\56\10\32\32"
219+local 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}"
220prog=string.format(prog,n,n,n,n,n,n,n,n)
220prog=string.format(prog,n,n,n,n,n,n,n,n)
221local a,b,c,d,e,f,g,h = T.testC(prog,x)
221local a,b,c,d,e,f,g,h = T.testC(prog,x)
222return B(a) + B(b) + B(c) + B(d) + B(e) + B(f) + B(g) + (100 * B(h))
222return B(a) + B(b) + B(c) + B(d) + B(e) + B(f) + B(g) + (100 * B(h))
223end
223end
224assert(count(3) == 2)
224assert(count(3) == 2)
225−assert(count("\97\108\111") == 1)
225+assert(count("\u{61}\u{6c}\u{6f}") == 1)
226−assert(count("\51\50") == 2)
226+assert(count("\u{33}\u{32}") == 2)
227assert(count({}) == 1)
227assert(count({}) == 1)
228assert(count(print) == 2)
228assert(count(print) == 2)
229assert(count(function ()
229assert(count(function ()
@@ -235,88 +235,88 @@ assert(count(nil,15) == 100)
235local function to
235local function to
236(s,x,n)
236(s,x,n)
237n=n or 2
237n=n or 2
238−return T.testC(string.format("\37\115\32\37\100\59\32\114\101\116\117\114\110\32\49",s,n),x)
238+return T.testC(string.format("\u{25}\u{73}\u{20}\u{25}\u{64}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",s,n),x)
239end
239end
240local null = T.pushuserdata(0)
240local null = T.pushuserdata(0)
241local hfunc = string.gmatch("","")
241local hfunc = string.gmatch("","")
242assert(debug.getupvalue(hfunc,1))
242assert(debug.getupvalue(hfunc,1))
243−assert(to("\116\111\115\116\114\105\110\103",{}) == nil)
243+assert(to("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",{}) == nil)
244−assert(to("\116\111\115\116\114\105\110\103","\97\108\111") == "\97\108\111")
244+assert(to("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}","\u{61}\u{6c}\u{6f}") == "\u{61}\u{6c}\u{6f}")
245−assert(to("\116\111\115\116\114\105\110\103",12) == "\49\50")
245+assert(to("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",12) == "\u{31}\u{32}")
246−assert(to("\116\111\115\116\114\105\110\103",12,3) == nil)
246+assert(to("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",12,3) == nil)
247−assert(to("\111\98\106\115\105\122\101",{}) == 0)
247+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",{}) == 0)
248−assert(to("\111\98\106\115\105\122\101",{1,2,3}) == 3)
248+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",{1,2,3}) == 3)
249−assert(to("\111\98\106\115\105\122\101","\97\108\111\97") == 6)
249+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}","\u{61}\u{6c}\u{6f}\u{0}\u{0}\u{61}") == 6)
250−assert(to("\111\98\106\115\105\122\101",T.newuserdata(0)) == 0)
250+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",T.newuserdata(0)) == 0)
251−assert(to("\111\98\106\115\105\122\101",T.newuserdata(101)) == 101)
251+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",T.newuserdata(101)) == 101)
252−assert(to("\111\98\106\115\105\122\101",124) == 0)
252+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",124) == 0)
253−assert(to("\111\98\106\115\105\122\101",true) == 0)
253+assert(to("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}",true) == 0)
254−assert(to("\116\111\110\117\109\98\101\114",{}) == 0)
254+assert(to("\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}",{}) == 0)
255−assert(to("\116\111\110\117\109\98\101\114","\49\50") == 12)
255+assert(to("\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}","\u{31}\u{32}") == 12)
256−assert(to("\116\111\110\117\109\98\101\114","\115\50") == 0)
256+assert(to("\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}","\u{73}\u{32}") == 0)
257−assert(to("\116\111\110\117\109\98\101\114",1,20) == 0)
257+assert(to("\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}",1,20) == 0)
258−assert(to("\116\111\112\111\105\110\116\101\114",10) == null)
258+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",10) == null)
259−assert(to("\116\111\112\111\105\110\116\101\114",true) == null)
259+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",true) == null)
260−assert(to("\116\111\112\111\105\110\116\101\114",nil) == null)
260+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",nil) == null)
261−assert(to("\116\111\112\111\105\110\116\101\114","\97\98\99") ~= null)
261+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}","\u{61}\u{62}\u{63}") ~= null)
262−assert(to("\116\111\112\111\105\110\116\101\114",string.rep("\120",10)) == to("\116\111\112\111\105\110\116\101\114",string.rep("\120",10)))
262+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",string.rep("\u{78}",10)) == to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",string.rep("\u{78}",10)))
263do
263do
264−local s1 = string.rep("\120",300)
264+local s1 = string.rep("\u{78}",300)
265−local s2 = string.rep("\120",300)
265+local s2 = string.rep("\u{78}",300)
266−assert(to("\116\111\112\111\105\110\116\101\114",s1) ~= to("\116\111\112\111\105\110\116\101\114",s2))
266+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",s1) ~= to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",s2))
267−end
267+end
268−assert(to("\116\111\112\111\105\110\116\101\114",T.pushuserdata(20)) ~= null)
268+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",T.pushuserdata(20)) ~= null)
269−assert(to("\116\111\112\111\105\110\116\101\114",io.read) ~= null)
269+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",io.read) ~= null)
270−assert(to("\116\111\112\111\105\110\116\101\114",hfunc) ~= null)
270+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",hfunc) ~= null)
271−assert(to("\116\111\112\111\105\110\116\101\114",function ()
271+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",function ()
272
272
273end) ~= null)
273end) ~= null)
274−assert(to("\116\111\112\111\105\110\116\101\114",io.stdin) ~= null)
274+assert(to("\u{74}\u{6f}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{65}\u{72}",io.stdin) ~= null)
275−assert(to("\102\117\110\99\50\110\117\109",20) == 0)
275+assert(to("\u{66}\u{75}\u{6e}\u{63}\u{32}\u{6e}\u{75}\u{6d}",20) == 0)
276−assert(to("\102\117\110\99\50\110\117\109",T.pushuserdata(10)) == 0)
276+assert(to("\u{66}\u{75}\u{6e}\u{63}\u{32}\u{6e}\u{75}\u{6d}",T.pushuserdata(10)) == 0)
277−assert(to("\102\117\110\99\50\110\117\109",io.read) ~= 0)
277+assert(to("\u{66}\u{75}\u{6e}\u{63}\u{32}\u{6e}\u{75}\u{6d}",io.read) ~= 0)
278−assert(to("\102\117\110\99\50\110\117\109",hfunc) ~= 0)
278+assert(to("\u{66}\u{75}\u{6e}\u{63}\u{32}\u{6e}\u{75}\u{6d}",hfunc) ~= 0)
279−a=to("\116\111\99\102\117\110\99\116\105\111\110",math.deg)
279+a=to("\u{74}\u{6f}\u{63}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}",math.deg)
280assert(a(3) == math.deg(3) and a == math.deg)
280assert(a(3) == math.deg(3) and a == math.deg)
281−print("\116\101\115\116\105\110\103\32\112\97\110\105\99\32\102\117\110\99\116\105\111\110")
281+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{6e}\u{69}\u{63}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
282do
282do
283−assert(T.checkpanic("\112\117\115\104\115\116\114\105\110\103\32\104\105\59\32\101\114\114\111\114") == "\104\105")
283+assert(T.checkpanic("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{68}\u{69}\u{3b}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}") == "\u{68}\u{69}")
284−assert(T.checkpanic("\112\117\115\104\115\116\114\105\110\103\32\104\105\59\32\101\114\114\111\114\59","\99\104\101\99\107\115\116\97\99\107\32\53\32\88\88\10\32\32\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\39\32\97\108\111\39\10\32\32\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\39\32\109\117\110\100\111\39\10\32\32\32\32\32\32\99\111\110\99\97\116\32\51") == "\104\105\32\97\108\111\32\109\117\110\100\111")
284+assert(T.checkpanic("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{68}\u{69}\u{3b}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{3b}","\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{35}\u{20}\u{58}\u{58}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{20}\u{61}\u{6c}\u{6f}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{20}\u{6d}\u{75}\u{6e}\u{64}\u{6f}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{33}") == "\u{68}\u{69}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{6d}\u{75}\u{6e}\u{64}\u{6f}")
285−assert(T.checkpanic("\108\111\97\100\115\116\114\105\110\103\32\52") == "\98\97\100\32\97\114\103\117\109\101\110\116\32\35\52\32\40\115\116\114\105\110\103\32\101\120\112\101\99\116\101\100\44\32\103\111\116\32\110\111\32\118\97\108\117\101\41")
285+assert(T.checkpanic("\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{34}") == "\u{62}\u{61}\u{64}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{23}\u{34}\u{20}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{2c}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{6e}\u{6f}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{29}")
286T.totalmem(T.totalmem() + 10000)
286T.totalmem(T.totalmem() + 10000)
287−assert(T.checkpanic("\110\101\119\117\115\101\114\100\97\116\97\32\50\48\48\48\48") == MEMERRMSG)
287+assert(T.checkpanic("\u{6e}\u{65}\u{77}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}\u{20}\u{32}\u{30}\u{30}\u{30}\u{30}") == MEMERRMSG)
288T.totalmem(0)
288T.totalmem(0)
289if not _soft then
289if not _soft then
290−local msg = T.checkpanic("\32\32\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\34\102\117\110\99\116\105\111\110\32\102\40\41\32\102\40\41\32\101\110\100\34\10\32\32\32\32\32\32\108\111\97\100\115\116\114\105\110\103\32\45\49\59\32\99\97\108\108\32\48\32\48\10\32\32\32\32\32\32\103\101\116\103\108\111\98\97\108\32\102\59\32\99\97\108\108\32\48\32\48\10\32\32\32\32")
290+local msg = T.checkpanic("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{28}\u{29}\u{20}\u{66}\u{28}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{22}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{66}\u{3b}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}")
291−assert(string.find(msg,"\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
291+assert(string.find(msg,"\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
292end
292end
293−assert(T.checkpanic("\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\34\114\101\116\117\114\110\32\123\95\95\99\108\111\115\101\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\89\32\61\32\39\104\111\39\59\32\101\110\100\125\34\10\32\32\32\32\110\101\119\116\97\98\108\101\10\32\32\32\32\108\111\97\100\115\116\114\105\110\103\32\45\50\10\32\32\32\32\99\97\108\108\32\48\32\49\10\32\32\32\32\115\101\116\109\101\116\97\116\97\98\108\101\32\45\50\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\34\104\105\34\10\32\32\32\32\101\114\114\111\114\10\32\32","\32\32\32\32\103\101\116\103\108\111\98\97\108\32\89\10\32\32\32\32\99\111\110\99\97\116\32\50\32\32\32\32\32\32\32\32\32\35\32\99\111\110\99\97\116\32\111\114\105\103\105\110\97\108\32\101\114\114\111\114\32\119\105\116\104\32\103\108\111\98\97\108\32\89\10\32\32") == "\104\105\104\111")
293+assert(T.checkpanic("\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{59}\u{20}\u{3d}\u{20}\u{27}\u{68}\u{6f}\u{27}\u{3b}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{22}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6e}\u{65}\u{77}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{68}\u{69}\u{22}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{a}\u{20}\u{20}","\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{59}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{32}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{20}\u{6f}\u{72}\u{69}\u{67}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{59}\u{a}\u{20}\u{20}") == "\u{68}\u{69}\u{68}\u{6f}")
294end
294end
295if not _soft then
295if not _soft then
296−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119")
296+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}")
297−collectgarbage("\115\116\111\112")
297+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
298−checkerr("\88\88\88\88",T.testC,"\99\104\101\99\107\115\116\97\99\107\32\49\48\48\48\48\50\51\32\88\88\88\88")
298+checkerr("\u{58}\u{58}\u{58}\u{58}",T.testC,"\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{31}\u{30}\u{30}\u{30}\u{30}\u{32}\u{33}\u{20}\u{58}\u{58}\u{58}\u{58}")
299−checkerr("\94\115\116\97\99\107\32\111\118\101\114\102\108\111\119\36",T.testC,"\99\104\101\99\107\115\116\97\99\107\32\49\48\48\48\48\50\51\32\39\39")
299+checkerr("\u{5e}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{24}",T.testC,"\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{31}\u{30}\u{30}\u{30}\u{30}\u{32}\u{33}\u{20}\u{27}\u{27}")
300−local s = string.rep("\112\117\115\104\110\105\108\59\99\104\101\99\107\115\116\97\99\107\32\49\32\88\88\59",1000000)
300+local s = string.rep("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{69}\u{6c}\u{3b}\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{31}\u{20}\u{58}\u{58}\u{3b}",1000000)
301−checkerr("\111\118\101\114\102\108\111\119",T.testC,s)
301+checkerr("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",T.testC,s)
302−collectgarbage("\114\101\115\116\97\114\116")
302+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
303−print("\43")
303+print("\u{2b}")
304end
304end
305local lim = _soft and 500 or 12000
305local lim = _soft and 500 or 12000
306−local prog = {"\99\104\101\99\107\115\116\97\99\107\32" .. (lim * 2 + 100) .. "\109\115\103","\110\101\119\116\97\98\108\101"}
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 * 2 + 100) .. "\u{6d}\u{73}\u{67}","\u{6e}\u{65}\u{77}\u{74}\u{61}\u{62}\u{6c}\u{65}"}
307for i = 1, lim
307for i = 1, lim
308do
308do
309−prog[# prog + 1]="\112\117\115\104\110\117\109\32" .. i
309+prog[# prog + 1]="\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}" .. i
310−prog[# prog + 1]="\112\117\115\104\110\117\109\32" .. i * 10
310+prog[# prog + 1]="\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}" .. i * 10
311end
311end
312−prog[# prog + 1]="\114\97\119\103\101\116\105\32\82\32\50"
312+prog[# prog + 1]="\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 + 1]="\105\110\115\101\114\116\32" .. - (2 * lim + 2)
313+prog[# prog + 1]="\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}" .. - (2 * lim + 2)
314for i = 1, lim
314for i = 1, lim
315do
315do
316−prog[# prog + 1]="\115\101\116\116\97\98\108\101\32" .. - (2 * (lim - i + 1) + 1)
316+prog[# prog + 1]="\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}" .. - (2 * (lim - i + 1) + 1)
317end
317end
318−prog[# prog + 1]="\114\101\116\117\114\110\32\50"
318+prog[# prog + 1]="\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}"
319−prog=table.concat(prog,"\59")
319+prog=table.concat(prog,"\u{3b}")
320local g,t = T.testC(prog)
320local g,t = T.testC(prog)
321assert(g == _G)
321assert(g == _G)
322for i = 1, lim
322for i = 1, lim
@@ -327,12 +327,12 @@ t[i]=undef
327end
327end
328assert(next(t) == nil)
328assert(next(t) == nil)
329prog,g,t=nil
329prog,g,t=nil
330−a=T.testC("\32\32\108\111\97\100\115\116\114\105\110\103\32\50\59\32\112\99\97\108\108\32\48\32\49\32\48\59\10\32\32\112\117\115\104\118\97\108\117\101\32\51\59\32\105\110\115\101\114\116\32\45\50\59\32\112\99\97\108\108\32\49\32\49\32\48\59\10\32\32\112\99\97\108\108\32\48\32\48\32\48\59\10\32\32\114\101\116\117\114\110\32\49\10","\88\88\61\49\53\48",function (a)
330+a=T.testC("\u{20}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{3b}\u{20}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{31}\u{20}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{30}\u{20}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{a}","\u{58}\u{58}\u{3d}\u{31}\u{35}\u{30}",function (a)
331assert(a == nil)
331assert(a == nil)
332;
332;
333return 3
333return 3
334end)
334end)
335−assert(type(a) == "\115\116\114\105\110\103" and XX == 150)
335+assert(type(a) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and XX == 150)
336_G.XX=nil
336_G.XX=nil
337local function check3
337local function check3
338(p, ...)
338(p, ...)
@@ -340,9 +340,9 @@ local arg = {...}
340assert(# arg == 3)
340assert(# arg == 3)
341assert(string.find(arg[3],p))
341assert(string.find(arg[3],p))
342end
342end
343−check3("\58\49\58",T.testC("\108\111\97\100\115\116\114\105\110\103\32\50\59\32\114\101\116\117\114\110\32\42","\120\61"))
343+check3("\u{3a}\u{31}\u{3a}",T.testC("\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}","\u{78}\u{3d}"))
344−check3("\37\46",T.testC("\108\111\97\100\102\105\108\101\32\50\59\32\114\101\116\117\114\110\32\42","\46"))
344+check3("\u{25}\u{2e}",T.testC("\u{6c}\u{6f}\u{61}\u{64}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}","\u{2e}"))
345−check3("\120\120\120\120",T.testC("\108\111\97\100\102\105\108\101\32\50\59\32\114\101\116\117\114\110\32\42","\120\120\120\120"))
345+check3("\u{78}\u{78}\u{78}\u{78}",T.testC("\u{6c}\u{6f}\u{61}\u{64}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}","\u{78}\u{78}\u{78}\u{78}"))
346local function checkerrnopro
346local function checkerrnopro
347(code,msg)
347(code,msg)
348local th = coroutine.create(function ()
348local th = coroutine.create(function ()
@@ -352,77 +352,77 @@ local stt,err = pcall(T.testC,th,code)
352assert(not stt and string.find(err,msg))
352assert(not stt and string.find(err,msg))
353end
353end
354if not _soft then
354if not _soft then
355−collectgarbage("\115\116\111\112")
355+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
356−checkerrnopro("\112\117\115\104\110\117\109\32\51\59\32\99\97\108\108\32\48\32\48","\97\116\116\101\109\112\116\32\116\111\32\99\97\108\108")
356+checkerrnopro("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{3b}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{30}","\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{61}\u{6c}\u{6c}")
357−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119\32\105\110\32\117\110\112\114\111\116\101\99\116\101\100\32\116\104\114\101\97\100")
357+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{69}\u{6e}\u{20}\u{75}\u{6e}\u{70}\u{72}\u{6f}\u{74}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}")
358function F()
358function F()
359F()
359F()
360end
360end
361−checkerrnopro("\103\101\116\103\108\111\98\97\108\32\39\70\39\59\32\99\97\108\108\32\48\32\48\59","\115\116\97\99\107\32\111\118\101\114\102\108\111\119")
361+checkerrnopro("\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{46}\u{27}\u{3b}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{30}\u{3b}","\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}")
362F=nil
362F=nil
363−collectgarbage("\114\101\115\116\97\114\116")
363+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
364end
364end
365−print("\43")
365+print("\u{2b}")
366do
366do
367local a = {}
367local a = {}
368−local a1 = T.testC("\114\97\119\115\101\116\112\32\50\32\49\59\32\114\101\116\117\114\110\32\49",a,20)
368+local a1 = T.testC("\u{72}\u{61}\u{77}\u{73}\u{65}\u{74}\u{70}\u{20}\u{32}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",a,20)
369assert(a == a1)
369assert(a == a1)
370assert(a[T.pushuserdata(1)] == 20)
370assert(a[T.pushuserdata(1)] == 20)
371−local a1,res = T.testC("\114\97\119\103\101\116\112\32\45\49\32\49\59\32\114\101\116\117\114\110\32\50",a)
371+local a1,res = T.testC("\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{70}\u{20}\u{2d}\u{31}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a)
372assert(a == a1 and res == 20)
372assert(a == a1 and res == 20)
373end
373end
374do
374do
375local a = {}
375local a = {}
376a[a]=10
376a[a]=10
377−local prog = "\103\101\116\116\97\98\108\101\32\45\49\59\32\114\101\116\117\114\110\32\42"
377+local prog = "\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
378local res = {T.testC(prog,a)}
378local res = {T.testC(prog,a)}
379assert(# res == 2 and res[1] == prog and res[2] == 10)
379assert(# res == 2 and res[1] == prog and res[2] == 10)
380−local prog = "\115\101\116\116\97\98\108\101\32\45\50\59\32\114\101\116\117\114\110\32\42"
380+local prog = "\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
381local res = {T.testC(prog,a,20)}
381local res = {T.testC(prog,a,20)}
382assert(a[a] == 20)
382assert(a[a] == 20)
383assert(# res == 1 and res[1] == prog)
383assert(# res == 1 and res[1] == prog)
384a[a]=10
384a[a]=10
385−local prog = "\114\97\119\103\101\116\32\45\49\59\32\114\101\116\117\114\110\32\42"
385+local prog = "\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
386local res = {T.testC(prog,a)}
386local res = {T.testC(prog,a)}
387assert(# res == 2 and res[1] == prog and res[2] == 10)
387assert(# res == 2 and res[1] == prog and res[2] == 10)
388−local prog = "\114\97\119\115\101\116\32\45\50\59\32\114\101\116\117\114\110\32\42"
388+local prog = "\u{72}\u{61}\u{77}\u{73}\u{65}\u{74}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
389local res = {T.testC(prog,a,20)}
389local res = {T.testC(prog,a,20)}
390assert(a[a] == 20)
390assert(a[a] == 20)
391assert(# res == 1 and res[1] == prog)
391assert(# res == 1 and res[1] == prog)
392−local prog = "\114\97\119\115\101\116\32\45\49\59\32\114\101\116\117\114\110\32\42"
392+local prog = "\u{72}\u{61}\u{77}\u{73}\u{65}\u{74}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
393local res = {T.testC(prog,30,a)}
393local res = {T.testC(prog,30,a)}
394assert(a[30] == a)
394assert(a[30] == a)
395assert(# res == 1 and res[1] == prog)
395assert(# res == 1 and res[1] == prog)
396−local prog = "\115\101\116\116\97\98\108\101\32\45\49\59\32\114\101\116\117\114\110\32\42"
396+local prog = "\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
397local res = {T.testC(prog,40,a)}
397local res = {T.testC(prog,40,a)}
398assert(a[40] == a)
398assert(a[40] == a)
399assert(# res == 1 and res[1] == prog)
399assert(# res == 1 and res[1] == prog)
400−local prog = "\114\97\119\115\101\116\105\32\45\49\32\49\48\48\59\32\114\101\116\117\114\110\32\42"
400+local prog = "\u{72}\u{61}\u{77}\u{73}\u{65}\u{74}\u{69}\u{20}\u{2d}\u{31}\u{20}\u{31}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
401local res = {T.testC(prog,a)}
401local res = {T.testC(prog,a)}
402assert(a[100] == a)
402assert(a[100] == a)
403assert(# res == 1 and res[1] == prog)
403assert(# res == 1 and res[1] == prog)
404−local prog = "\115\101\116\105\32\45\49\32\50\48\48\59\32\114\101\116\117\114\110\32\42"
404+local prog = "\u{73}\u{65}\u{74}\u{69}\u{20}\u{2d}\u{31}\u{20}\u{32}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}"
405local res = {T.testC(prog,a)}
405local res = {T.testC(prog,a)}
406assert(a[200] == a)
406assert(a[200] == a)
407assert(# res == 1 and res[1] == prog)
407assert(# res == 1 and res[1] == prog)
408end
408end
409−a={["\120"] = 0,["\121"] = 12}
409+a={["\u{78}"] = 0,["\u{79}"] = 12}
410−x,y=T.testC("\103\101\116\116\97\98\108\101\32\50\59\32\112\117\115\104\118\97\108\117\101\32\52\59\32\103\101\116\116\97\98\108\101\32\50\59\32\114\101\116\117\114\110\32\50",a,3,"\121",4,"\120")
410+x,y=T.testC("\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{34}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a,3,"\u{79}",4,"\u{78}")
411assert(x == 0 and y == 12)
411assert(x == 0 and y == 12)
412−T.testC("\115\101\116\116\97\98\108\101\32\45\53",a,3,4,"\120",15)
412+T.testC("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{35}",a,3,4,"\u{78}",15)
413assert(a.x == 15)
413assert(a.x == 15)
414a[a]=print
414a[a]=print
415−x=T.testC("\103\101\116\116\97\98\108\101\32\50\59\32\114\101\116\117\114\110\32\49",a)
415+x=T.testC("\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",a)
416assert(x == print)
416assert(x == print)
417−T.testC("\115\101\116\116\97\98\108\101\32\50",a,"\120")
417+T.testC("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}",a,"\u{78}")
418−assert(a[a] == "\120")
418+assert(a[a] == "\u{78}")
419−b=setmetatable({["\112"] = a},{})
419+b=setmetatable({["\u{70}"] = a},{})
420getmetatable(b).__index=function (t,i)
420getmetatable(b).__index=function (t,i)
421return t.p[i]
421return t.p[i]
422end
422end
423−local k,x = T.testC("\103\101\116\116\97\98\108\101\32\51\44\32\114\101\116\117\114\110\32\50",4,b,20,35,"\120")
423+local k,x = T.testC("\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{33}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",4,b,20,35,"\u{78}")
424assert(x == 15 and k == 35)
424assert(x == 15 and k == 35)
425−k=T.testC("\103\101\116\102\105\101\108\100\32\50\32\121\44\32\114\101\116\117\114\110\32\49",b)
425+k=T.testC("\u{67}\u{65}\u{74}\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{32}\u{20}\u{79}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",b)
426assert(k == 12)
426assert(k == 12)
427getmetatable(b).__index=function (t,i)
427getmetatable(b).__index=function (t,i)
428return a[i]
428return a[i]
@@ -430,65 +430,65 @@ end
430getmetatable(b).__newindex=function (t,i,v)
430getmetatable(b).__newindex=function (t,i,v)
431a[i]=v
431a[i]=v
432end
432end
433−y=T.testC("\105\110\115\101\114\116\32\50\59\32\103\101\116\116\97\98\108\101\32\45\53\59\32\114\101\116\117\114\110\32\49",2,3,4,"\121",b)
433+y=T.testC("\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{32}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",2,3,4,"\u{79}",b)
434assert(y == 12)
434assert(y == 12)
435−k=T.testC("\115\101\116\116\97\98\108\101\32\45\53\44\32\114\101\116\117\114\110\32\49",b,3,4,"\120",16)
435+k=T.testC("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{35}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",b,3,4,"\u{78}",16)
436assert(a.x == 16 and k == 4)
436assert(a.x == 16 and k == 4)
437−a[b]="\120\117\120\117"
437+a[b]="\u{78}\u{75}\u{78}\u{75}"
438−y=T.testC("\103\101\116\116\97\98\108\101\32\50\44\32\114\101\116\117\114\110\32\49",b)
438+y=T.testC("\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}\u{2c}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",b)
439−assert(y == "\120\117\120\117")
439+assert(y == "\u{78}\u{75}\u{78}\u{75}")
440−T.testC("\115\101\116\116\97\98\108\101\32\50",b,19)
440+T.testC("\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}",b,19)
441assert(a[b] == 19)
441assert(a[b] == 19)
442do
442do
443−local t = {["\95\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"] = 32}
443+local t = {["\u{5f}\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}"] = 32}
444−local a = T.testC("\32\32\32\32\103\101\116\102\105\101\108\100\32\50\32\95\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\32\32\32\32\114\101\116\117\114\110\32\49\10\32\32",t)
444+local a = T.testC("\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{32}\u{20}\u{5f}\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{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{a}\u{20}\u{20}",t)
445assert(a == 32)
445assert(a == 32)
446−local a = T.testC("\32\32\32\32\112\117\115\104\110\117\109\32\51\51\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\95\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\32\32")
446+local a = T.testC("\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{33}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{5f}\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{a}\u{20}\u{20}")
447assert(_012345678901234567890123456789012345678901234567890123456789 == 33)
447assert(_012345678901234567890123456789012345678901234567890123456789 == 33)
448_012345678901234567890123456789012345678901234567890123456789=nil
448_012345678901234567890123456789012345678901234567890123456789=nil
449end
449end
450a={}
450a={}
451−t=pack(T.testC("\110\101\120\116\59\32\114\101\116\117\114\110\32\42",a,nil))
451+t=pack(T.testC("\u{6e}\u{65}\u{78}\u{74}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",a,nil))
452−tcheck(t,{["\110"] = 1,a})
452+tcheck(t,{["\u{6e}"] = 1,a})
453−a={["\97"] = 3}
453+a={["\u{61}"] = 3}
454−t=pack(T.testC("\110\101\120\116\59\32\114\101\116\117\114\110\32\42",a,nil))
454+t=pack(T.testC("\u{6e}\u{65}\u{78}\u{74}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",a,nil))
455−tcheck(t,{["\110"] = 3,a,"\97",3})
455+tcheck(t,{["\u{6e}"] = 3,a,"\u{61}",3})
456−t=pack(T.testC("\110\101\120\116\59\32\112\111\112\32\49\59\32\110\101\120\116\59\32\114\101\116\117\114\110\32\42",a,nil))
456+t=pack(T.testC("\u{6e}\u{65}\u{78}\u{74}\u{3b}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{3b}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",a,nil))
457−tcheck(t,{["\110"] = 1,a})
457+tcheck(t,{["\u{6e}"] = 1,a})
458do
458do
459−local A = T.testC("\32\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\32\112\117\115\104\99\99\108\111\115\117\114\101\32\50\59\32\114\101\116\117\114\110\32\49")
459+local A = T.testC("\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{63}\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
460−t,b,c=A("\112\117\115\104\118\97\108\117\101\32\85\48\59\32\112\117\115\104\118\97\108\117\101\32\85\49\59\32\112\117\115\104\118\97\108\117\101\32\85\50\59\32\114\101\116\117\114\110\32\51")
460+t,b,c=A("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
461−assert(b == 10 and c == 20 and type(t) == "\116\97\98\108\101")
461+assert(b == 10 and c == 20 and type(t) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
462−a,b=A("\116\111\115\116\114\105\110\103\32\85\51\59\32\116\111\110\117\109\98\101\114\32\85\52\59\32\114\101\116\117\114\110\32\50")
462+a,b=A("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{55}\u{33}\u{3b}\u{20}\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{55}\u{34}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}")
463assert(a == nil and b == 0)
463assert(a == nil and b == 0)
464−A("\112\117\115\104\110\117\109\32\49\48\48\59\32\112\117\115\104\110\117\109\32\50\48\48\59\32\114\101\112\108\97\99\101\32\85\50\59\32\114\101\112\108\97\99\101\32\85\49")
464+A("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{55}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{55}\u{31}")
465−b,c=A("\112\117\115\104\118\97\108\117\101\32\85\49\59\32\112\117\115\104\118\97\108\117\101\32\85\50\59\32\114\101\116\117\114\110\32\50")
465+b,c=A("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}")
466assert(b == 100 and c == 200)
466assert(b == 100 and c == 200)
467−A("\114\101\112\108\97\99\101\32\85\50\59\32\114\101\112\108\97\99\101\32\85\49",{["\120"] = 1},{["\120"] = 2})
467+A("\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{55}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{20}\u{55}\u{31}",{["\u{78}"] = 1},{["\u{78}"] = 2})
468−b,c=A("\112\117\115\104\118\97\108\117\101\32\85\49\59\32\112\117\115\104\118\97\108\117\101\32\85\50\59\32\114\101\116\117\114\110\32\50")
468+b,c=A("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}")
469assert(b.x == 1 and c.x == 2)
469assert(b.x == 1 and c.x == 2)
470T.checkmemory()
470T.checkmemory()
471end
471end
472−assert(T.testC("\105\115\110\117\108\108\32\85\49\59\32\114\101\116\117\114\110\32\49") == true)
472+assert(T.testC("\u{69}\u{73}\u{6e}\u{75}\u{6c}\u{6c}\u{20}\u{55}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == true)
473−assert(T.testC("\105\115\110\117\108\108\32\85\49\48\48\59\32\114\101\116\117\114\110\32\49") == true)
473+assert(T.testC("\u{69}\u{73}\u{6e}\u{75}\u{6c}\u{6c}\u{20}\u{55}\u{31}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == true)
474−assert(T.testC("\112\117\115\104\118\97\108\117\101\32\85\49\59\32\114\101\116\117\114\110\32\49") == nil)
474+assert(T.testC("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}") == nil)
475−local f = T.testC("\32\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\32\112\117\115\104\99\99\108\111\115\117\114\101\32\50\59\32\114\101\116\117\114\110\32\49")
475+local f = T.testC("\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{63}\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
476assert(T.upvalue(f,1) == 10 and T.upvalue(f,2) == 20 and T.upvalue(f,3) == nil)
476assert(T.upvalue(f,1) == 10 and T.upvalue(f,2) == 20 and T.upvalue(f,3) == nil)
477−T.upvalue(f,2,"\120\117\120\117")
477+T.upvalue(f,2,"\u{78}\u{75}\u{78}\u{75}")
478−assert(T.upvalue(f,2) == "\120\117\120\117")
478+assert(T.upvalue(f,2) == "\u{78}\u{75}\u{78}\u{75}")
479do
479do
480−local A = "\99\104\101\99\107\115\116\97\99\107\32\51\48\48\32\109\115\103\59" .. string.rep("\112\117\115\104\110\117\109\32\49\48\59",255) .. "\112\117\115\104\99\99\108\111\115\117\114\101\32\50\53\53\59\32\114\101\116\117\114\110\32\49"
480+local A = "\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{33}\u{30}\u{30}\u{20}\u{6d}\u{73}\u{67}\u{3b}" .. string.rep("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}",255) .. "\u{70}\u{75}\u{73}\u{68}\u{63}\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{20}\u{32}\u{35}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"
481A=T.testC(A)
481A=T.testC(A)
482for i = 1, 255
482for i = 1, 255
483do
483do
484−assert(A(("\112\117\115\104\118\97\108\117\101\32\85\37\100\59\32\114\101\116\117\114\110\32\49"):format(i)) == 10)
484+assert(A(("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{25}\u{64}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"):format(i)) == 10)
485end
485end
486−assert(A("\105\115\110\117\108\108\32\85\50\53\54\59\32\114\101\116\117\114\110\32\49"))
486+assert(A("\u{69}\u{73}\u{6e}\u{75}\u{6c}\u{6c}\u{20}\u{55}\u{32}\u{35}\u{36}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
487−assert(not A("\105\115\110\105\108\32\85\50\53\54\59\32\114\101\116\117\114\110\32\49"))
487+assert(not A("\u{69}\u{73}\u{6e}\u{69}\u{6c}\u{20}\u{55}\u{32}\u{35}\u{36}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
488end
488end
489−checkerr("\103\111\116\32\110\117\109\98\101\114",debug.setuservalue,3,{})
489+checkerr("\u{67}\u{6f}\u{74}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}",debug.setuservalue,3,{})
490−checkerr("\103\111\116\32\110\105\108",debug.setuservalue,nil,{})
490+checkerr("\u{67}\u{6f}\u{74}\u{20}\u{6e}\u{69}\u{6c}",debug.setuservalue,nil,{})
491−checkerr("\103\111\116\32\108\105\103\104\116\32\117\115\101\114\100\97\116\97",debug.setuservalue,T.pushuserdata(1),{})
491+checkerr("\u{67}\u{6f}\u{74}\u{20}\u{6c}\u{69}\u{67}\u{68}\u{74}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}",debug.setuservalue,T.pushuserdata(1),{})
492local b = T.newuserdata(0,10)
492local b = T.newuserdata(0,10)
493for i = 1, 10
493for i = 1, 10
494do
494do
@@ -501,7 +501,7 @@ assert(v == nil and not p)
501local v,p = debug.getuservalue(b,11)
501local v,p = debug.getuservalue(b,11)
502assert(v == nil and not p)
502assert(v == nil and not p)
503end
503end
504−local t = {true,false,4.56,print,{},b,"\88\89\90"}
504+local t = {true,false,4.56,print,{},b,"\u{58}\u{59}\u{5a}"}
505for k,v in ipairs(t)
505for k,v in ipairs(t)
506do
506do
507debug.setuservalue(b,v,k)
507debug.setuservalue(b,v,k)
@@ -521,11 +521,11 @@ debug.setuservalue(b,134)
521collectgarbage()
521collectgarbage()
522assert(debug.getuservalue(b) == 134)
522assert(debug.getuservalue(b) == 134)
523do
523do
524−local oldmode = collectgarbage("\105\110\99\114\101\109\101\110\116\97\108")
524+local oldmode = collectgarbage("\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}")
525−T.gcstate("\97\116\111\109\105\99")
525+T.gcstate("\u{61}\u{74}\u{6f}\u{6d}\u{69}\u{63}")
526−assert(T.gccolor(b) == "\98\108\97\99\107")
526+assert(T.gccolor(b) == "\u{62}\u{6c}\u{61}\u{63}\u{6b}")
527−debug.setuservalue(b,{["\120"] = 100})
527+debug.setuservalue(b,{["\u{78}"] = 100})
528−T.gcstate("\112\97\117\115\101")
528+T.gcstate("\u{70}\u{61}\u{75}\u{73}\u{65}")
529assert(debug.getuservalue(b).x == 100)
529assert(debug.getuservalue(b).x == 100)
530collectgarbage(oldmode)
530collectgarbage(oldmode)
531end
531end
@@ -561,9 +561,9 @@ T.unref(Arr[i])
561end
561end
562local function printlocks
562local function printlocks
563()
563()
564−local f = T.makeCfunc("\103\101\116\116\97\98\108\101\32\82\59\32\114\101\116\117\114\110\32\49")
564+local f = T.makeCfunc("\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{52}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
565−local n = f("\110")
565+local n = f("\u{6e}")
566−print("\110",n)
566+print("\u{6e}",n)
567for i = 0, n
567for i = 0, n
568do
568do
569print(i,f(i))
569print(i,f(i))
@@ -577,13 +577,13 @@ for i = 1, Lim, 2
577do
577do
578T.unref(Arr[i])
578T.unref(Arr[i])
579end
579end
580−assert(type(T.getref(Arr[2])) == "\116\97\98\108\101")
580+assert(type(T.getref(Arr[2])) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
581assert(T.getref(- 1) == nil)
581assert(T.getref(- 1) == nil)
582a=T.ref({})
582a=T.ref({})
583collectgarbage()
583collectgarbage()
584−assert(type(T.getref(a)) == "\116\97\98\108\101")
584+assert(type(T.getref(a)) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
585local tt = {}
585local tt = {}
586−local cl = {["\110"] = 0}
586+local cl = {["\u{6e}"] = 0}
587A=nil
587A=nil
588;
588;
589B=nil
589B=nil
@@ -594,11 +594,11 @@ table.insert(cl,udval)
594local d = T.newuserdata(100)
594local d = T.newuserdata(100)
595d=nil
595d=nil
596assert(debug.getmetatable(x).__gc == F)
596assert(debug.getmetatable(x).__gc == F)
597−assert(load("\116\97\98\108\101\46\105\110\115\101\114\116\40\123\125\44\32\123\125\41"))()
597+assert(load("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{2e}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{7d}\u{29}"))()
598assert(not collectgarbage())
598assert(not collectgarbage())
599local dummy = {}
599local dummy = {}
600if A ~= nil then
600if A ~= nil then
601−assert(type(A) == "\117\115\101\114\100\97\116\97")
601+assert(type(A) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}")
602assert(T.udataval(A) == B)
602assert(T.udataval(A) == B)
603debug.getmetatable(A)
603debug.getmetatable(A)
604end
604end
@@ -612,42 +612,42 @@ collectgarbage()
612;
612;
613collectgarbage()
613collectgarbage()
614;
614;
615−local x = collectgarbage("\99\111\117\110\116")
615+local x = collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
616;
616;
617local a = T.newuserdata(5001)
617local a = T.newuserdata(5001)
618−assert(T.testC("\111\98\106\115\105\122\101\32\50\59\32\114\101\116\117\114\110\32\49",a) == 5001)
618+assert(T.testC("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",a) == 5001)
619−assert(collectgarbage("\99\111\117\110\116") >= x + 4)
619+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") >= x + 4)
620a=nil
620a=nil
621collectgarbage()
621collectgarbage()
622;
622;
623−assert(collectgarbage("\99\111\117\110\116") <= x + 1)
623+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") <= x + 1)
624−x=collectgarbage("\99\111\117\110\116")
624+x=collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
625−collectgarbage("\115\116\111\112")
625+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
626for i = 1, 1000
626for i = 1, 1000
627do
627do
628T.newuserdata(0)
628T.newuserdata(0)
629end
629end
630−assert(collectgarbage("\99\111\117\110\116") > x + 10)
630+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") > x + 10)
631collectgarbage()
631collectgarbage()
632−assert(collectgarbage("\99\111\117\110\116") <= x + 1)
632+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") <= x + 1)
633collectgarbage()
633collectgarbage()
634−x=collectgarbage("\99\111\117\110\116")
634+x=collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
635−collectgarbage("\115\116\111\112")
635+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
636−a={["\95\95\103\99"] = function ()
636+a={["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
637
637
638end}
638end}
639for i = 1, 1000
639for i = 1, 1000
640do
640do
641debug.setmetatable(T.newuserdata(0),a)
641debug.setmetatable(T.newuserdata(0),a)
642end
642end
643−assert(collectgarbage("\99\111\117\110\116") >= x + 10)
643+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") >= x + 10)
644collectgarbage()
644collectgarbage()
645−assert(collectgarbage("\99\111\117\110\116") >= x + 10)
645+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") >= x + 10)
646collectgarbage()
646collectgarbage()
647−assert(collectgarbage("\99\111\117\110\116") <= x + 1)
647+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") <= x + 1)
648−collectgarbage("\114\101\115\116\97\114\116")
648+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
649end
649end
650−collectgarbage("\115\116\111\112")
650+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
651a=T.newuserdata(0)
651a=T.newuserdata(0)
652;
652;
653debug.setmetatable(a,tt)
653debug.setmetatable(a,tt)
@@ -665,8 +665,8 @@ debug.setmetatable(c,tt)
665local nc = T.udataval(c)
665local nc = T.udataval(c)
666x=T.newuserdata(4)
666x=T.newuserdata(4)
667y=T.newuserdata(0)
667y=T.newuserdata(0)
668−checkerr("\70\73\76\69\37\42\32\101\120\112\101\99\116\101\100\44\32\103\111\116\32\117\115\101\114\100\97\116\97",io.input,a)
668+checkerr("\u{46}\u{49}\u{4c}\u{45}\u{25}\u{2a}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{2c}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}",io.input,a)
669−checkerr("\70\73\76\69\37\42\32\101\120\112\101\99\116\101\100\44\32\103\111\116\32\117\115\101\114\100\97\116\97",io.input,x)
669+checkerr("\u{46}\u{49}\u{4c}\u{45}\u{25}\u{2a}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{2c}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}",io.input,x)
670assert(debug.getmetatable(x) == nil and debug.getmetatable(y) == nil)
670assert(debug.getmetatable(x) == nil and debug.getmetatable(y) == nil)
671local d = T.ref(a)
671local d = T.ref(a)
672;
672;
@@ -688,7 +688,7 @@ T.unref(f)
688collectgarbage()
688collectgarbage()
689assert(# cl == 1 and cl[1] == nc)
689assert(# cl == 1 and cl[1] == nc)
690x=T.getref(d)
690x=T.getref(d)
691−assert(type(x) == "\117\115\101\114\100\97\116\97" and debug.getmetatable(x) == tt)
691+assert(type(x) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}" and debug.getmetatable(x) == tt)
692x=nil
692x=nil
693tt.b=b
693tt.b=b
694tt=nil
694tt=nil
@@ -697,17 +697,17 @@ b=nil
697T.unref(d)
697T.unref(d)
698;
698;
699local n5 = T.newuserdata(0)
699local n5 = T.newuserdata(0)
700−debug.setmetatable(n5,{["\95\95\103\99"] = F})
700+debug.setmetatable(n5,{["\u{5f}\u{5f}\u{67}\u{63}"] = F})
701n5=T.udataval(n5)
701n5=T.udataval(n5)
702collectgarbage()
702collectgarbage()
703assert(# cl == 4)
703assert(# cl == 4)
704assert(cl[2] == n5 and cl[3] == nb and cl[4] == na)
704assert(cl[2] == n5 and cl[3] == nb and cl[4] == na)
705−collectgarbage("\114\101\115\116\97\114\116")
705+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
706a,na={},{}
706a,na={},{}
707for i = 30, 1, - 1
707for i = 30, 1, - 1
708do
708do
709a[i]=T.newuserdata(0)
709a[i]=T.newuserdata(0)
710−debug.setmetatable(a[i],{["\95\95\103\99"] = F})
710+debug.setmetatable(a[i],{["\u{5f}\u{5f}\u{67}\u{63}"] = F})
711na[i]=T.udataval(a[i])
711na[i]=T.udataval(a[i])
712end
712end
713cl={}
713cl={}
@@ -726,8 +726,8 @@ T.unref(Arr[i])
726end
726end
727x=T.newuserdata(41)
727x=T.newuserdata(41)
728;
728;
729−debug.setmetatable(x,{["\95\95\103\99"] = F})
729+debug.setmetatable(x,{["\u{5f}\u{5f}\u{67}\u{63}"] = F})
730−assert(T.testC("\111\98\106\115\105\122\101\32\50\59\32\114\101\116\117\114\110\32\49",x) == 41)
730+assert(T.testC("\u{6f}\u{62}\u{6a}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",x) == 41)
731cl={}
731cl={}
732a={[x] = 1}
732a={[x] = 1}
733x=T.udataval(x)
733x=T.udataval(x)
@@ -739,15 +739,15 @@ a[n]=undef
739end
739end
740collectgarbage()
740collectgarbage()
741assert(# cl == 1 and cl[1] == x)
741assert(# cl == 1 and cl[1] == x)
742−assert(T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\52\59\32\114\101\116\117\114\110\32\49",print,1,print,20))
742+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{34}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",print,1,print,20))
743−assert(T.testC("\99\111\109\112\97\114\101\32\69\81\32\51\32\50\59\32\114\101\116\117\114\110\32\49","\97\108\111","\97\108\111"))
743+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{33}\u{20}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}","\u{61}\u{6c}\u{6f}","\u{61}\u{6c}\u{6f}"))
744−assert(T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49",nil,nil))
744+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",nil,nil))
745−assert(not T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49",{},{}))
745+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",{},{}))
746−assert(not T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49"))
746+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
747−assert(not T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49",3))
747+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",3))
748do
748do
749local map = {}
749local map = {}
750−local t = {["\95\95\101\113"] = function (a,b)
750+local t = {["\u{5f}\u{5f}\u{65}\u{71}"] = function (a,b)
751return map[a] == map[b]
751return map[a] == map[b]
752end}
752end}
753local function f
753local function f
@@ -759,14 +759,14 @@ return u
759end
759end
760assert(f(10) == f(10))
760assert(f(10) == f(10))
761assert(f(10) ~= f(11))
761assert(f(10) ~= f(11))
762−assert(T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49",f(10),f(10)))
762+assert(T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",f(10),f(10)))
763−assert(not T.testC("\99\111\109\112\97\114\101\32\69\81\32\50\32\51\59\32\114\101\116\117\114\110\32\49",f(10),f(20)))
763+assert(not T.testC("\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}\u{20}\u{45}\u{51}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",f(10),f(20)))
764t.__eq=nil
764t.__eq=nil
765assert(f(10) ~= f(10))
765assert(f(10) ~= f(10))
766end
766end
767−print("\43")
767+print("\u{2b}")
768_G.TT={}
768_G.TT={}
769−T.sethook("\32\32\35\32\115\101\116\32\97\32\108\105\110\101\32\104\111\111\107\32\97\102\116\101\114\32\51\32\99\111\117\110\116\32\104\111\111\107\115\10\32\32\115\101\116\104\111\111\107\32\52\32\48\32\39\10\32\32\32\32\103\101\116\103\108\111\98\97\108\32\84\84\59\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\45\51\59\32\97\112\112\101\110\100\32\45\50\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\45\50\59\32\97\112\112\101\110\100\32\45\50\10\32\32\39","\99",3)
769+T.sethook("\u{20}\u{20}\u{23}\u{20}\u{73}\u{65}\u{74}\u{20}\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{68}\u{6f}\u{6f}\u{6b}\u{20}\u{61}\u{66}\u{74}\u{65}\u{72}\u{20}\u{33}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{20}\u{68}\u{6f}\u{6f}\u{6b}\u{73}\u{a}\u{20}\u{20}\u{73}\u{65}\u{74}\u{68}\u{6f}\u{6f}\u{6b}\u{20}\u{34}\u{20}\u{30}\u{20}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{54}\u{54}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{2d}\u{33}\u{3b}\u{20}\u{61}\u{70}\u{70}\u{65}\u{6e}\u{64}\u{20}\u{2d}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{61}\u{70}\u{70}\u{65}\u{6e}\u{64}\u{20}\u{2d}\u{32}\u{a}\u{20}\u{20}\u{27}","\u{63}",3)
770local a = 1
770local a = 1
771a=1
771a=1
772a=1
772a=1
@@ -774,15 +774,15 @@ a=1
774a=1
774a=1
775debug.sethook()
775debug.sethook()
776local t = _G.TT
776local t = _G.TT
777−assert(t[1] == "\108\105\110\101")
777+assert(t[1] == "\u{6c}\u{69}\u{6e}\u{65}")
778local line = t[2]
778local line = t[2]
779−assert(t[3] == "\108\105\110\101" and t[4] == line + 1)
779+assert(t[3] == "\u{6c}\u{69}\u{6e}\u{65}" and t[4] == line + 1)
780−assert(t[5] == "\108\105\110\101" and t[6] == line + 2)
780+assert(t[5] == "\u{6c}\u{69}\u{6e}\u{65}" and t[6] == line + 2)
781assert(t[7] == nil)
781assert(t[7] == nil)
782_G.TT=nil
782_G.TT=nil
783do
783do
784−warn("\64\111\102\102")
784+warn("\u{40}\u{6f}\u{66}\u{66}")
785−collectgarbage("\115\116\111\112")
785+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
786local a = {}
786local a = {}
787for i = 1, 20
787for i = 1, 20
788do
788do
@@ -790,22 +790,22 @@ a[i]=T.newuserdata(i)
790end
790end
791for i = 1, 20, 2
791for i = 1, 20, 2
792do
792do
793−debug.setmetatable(a[i],{["\95\95\103\99"] = function (x)
793+debug.setmetatable(a[i],{["\u{5f}\u{5f}\u{67}\u{63}"] = function (x)
794−error("\64\101\120\112\101\99\116\101\100\32\101\114\114\111\114\32\105\110\32\103\99")
794+error("\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{69}\u{6e}\u{20}\u{67}\u{63}")
795end})
795end})
796end
796end
797for i = 2, 20, 2
797for i = 2, 20, 2
798do
798do
799−debug.setmetatable(a[i],{["\95\95\103\99"] = function (x)
799+debug.setmetatable(a[i],{["\u{5f}\u{5f}\u{67}\u{63}"] = function (x)
800−load("\65\61\65\43\49")()
800+load("\u{41}\u{3d}\u{41}\u{2b}\u{31}")()
801end})
801end})
802end
802end
803a=nil
803a=nil
804_G.A=0
804_G.A=0
805collectgarbage()
805collectgarbage()
806assert(A == 10)
806assert(A == 10)
807−collectgarbage("\114\101\115\116\97\114\116")
807+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
808−warn("\64\111\110")
808+warn("\u{40}\u{6f}\u{6e}")
809end
809end
810_G.A=nil
810_G.A=nil
811do
811do
@@ -832,40 +832,40 @@ for i = 0, lim
832do
832do
833a[T.pushuserdata(i)]=i
833a[T.pushuserdata(i)]=i
834end
834end
835−assert(type(tostring(a[1])) == "\115\116\114\105\110\103")
835+assert(type(tostring(a[1])) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
836end
836end
837T.closestate(T.newstate())
837T.closestate(T.newstate())
838;
838;
839L1=T.newstate()
839L1=T.newstate()
840assert(L1)
840assert(L1)
841−assert(T.doremote(L1,"\88\61\39\97\39\59\32\114\101\116\117\114\110\32\39\97\39") == "\97")
841+assert(T.doremote(L1,"\u{58}\u{3d}\u{27}\u{61}\u{27}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}\u{61}\u{27}") == "\u{61}")
842−assert(# pack(T.doremote(L1,"\102\117\110\99\116\105\111\110\32\102\32\40\41\32\114\101\116\117\114\110\32\39\97\108\111\39\44\32\51\32\101\110\100\59\32\102\40\41")) == 0)
842+assert(# pack(T.doremote(L1,"\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}\u{61}\u{6c}\u{6f}\u{27}\u{2c}\u{20}\u{33}\u{20}\u{65}\u{6e}\u{64}\u{3b}\u{20}\u{66}\u{28}\u{29}")) == 0)
843−a,b=T.doremote(L1,"\114\101\116\117\114\110\32\102\40\41")
843+a,b=T.doremote(L1,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{28}\u{29}")
844−assert(a == "\97\108\111" and b == "\51")
844+assert(a == "\u{61}\u{6c}\u{6f}" and b == "\u{33}")
845−T.doremote(L1,"\95\69\82\82\79\82\77\69\83\83\65\71\69\32\61\32\110\105\108")
845+T.doremote(L1,"\u{5f}\u{45}\u{52}\u{52}\u{4f}\u{52}\u{4d}\u{45}\u{53}\u{53}\u{41}\u{47}\u{45}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}")
846−a,b,c=T.doremote(L1,"\114\101\116\117\114\110\32\115\105\110\40\49\41")
846+a,b,c=T.doremote(L1,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}")
847assert(a == nil and c == 2)
847assert(a == nil and c == 2)
848−a,b,c=T.doremote(L1,"\114\101\116\117\114\110\32\97\43")
848+a,b,c=T.doremote(L1,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{2b}")
849−assert(a == nil and c == 3 and type(b) == "\115\116\114\105\110\103")
849+assert(a == nil and c == 3 and type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
850T.loadlib(L1)
850T.loadlib(L1)
851−a,b,c=T.doremote(L1,"\32\32\115\116\114\105\110\103\32\61\32\114\101\113\117\105\114\101\39\115\116\114\105\110\103\39\10\32\32\97\32\61\32\114\101\113\117\105\114\101\39\95\71\39\59\32\97\115\115\101\114\116\40\97\32\61\61\32\95\71\32\97\110\100\32\114\101\113\117\105\114\101\40\34\95\71\34\41\32\61\61\32\97\41\10\32\32\105\111\32\61\32\114\101\113\117\105\114\101\39\105\111\39\59\32\97\115\115\101\114\116\40\116\121\112\101\40\105\111\46\114\101\97\100\41\32\61\61\32\34\102\117\110\99\116\105\111\110\34\41\10\32\32\97\115\115\101\114\116\40\114\101\113\117\105\114\101\40\34\105\111\34\41\32\61\61\32\105\111\41\10\32\32\97\32\61\32\114\101\113\117\105\114\101\39\116\97\98\108\101\39\59\32\97\115\115\101\114\116\40\116\121\112\101\40\97\46\105\110\115\101\114\116\41\32\61\61\32\34\102\117\110\99\116\105\111\110\34\41\10\32\32\97\32\61\32\114\101\113\117\105\114\101\39\100\101\98\117\103\39\59\32\97\115\115\101\114\116\40\116\121\112\101\40\97\46\103\101\116\108\111\99\97\108\41\32\61\61\32\34\102\117\110\99\116\105\111\110\34\41\10\32\32\97\32\61\32\114\101\113\117\105\114\101\39\109\97\116\104\39\59\32\97\115\115\101\114\116\40\116\121\112\101\40\97\46\115\105\110\41\32\61\61\32\34\102\117\110\99\116\105\111\110\34\41\10\32\32\114\101\116\117\114\110\32\115\116\114\105\110\103\46\115\117\98\40\39\111\107\105\110\97\109\97\39\44\32\49\44\32\50\41\10")
851+a,b,c=T.doremote(L1,"\u{20}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{5f}\u{47}\u{27}\u{3b}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{20}\u{3d}\u{3d}\u{20}\u{5f}\u{47}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{28}\u{22}\u{5f}\u{47}\u{22}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{61}\u{29}\u{a}\u{20}\u{20}\u{69}\u{6f}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{69}\u{6f}\u{27}\u{3b}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{79}\u{70}\u{65}\u{28}\u{69}\u{6f}\u{2e}\u{72}\u{65}\u{61}\u{64}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{22}\u{29}\u{a}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{28}\u{22}\u{69}\u{6f}\u{22}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{69}\u{6f}\u{29}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{27}\u{3b}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{79}\u{70}\u{65}\u{28}\u{61}\u{2e}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{22}\u{29}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{27}\u{3b}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{79}\u{70}\u{65}\u{28}\u{61}\u{2e}\u{67}\u{65}\u{74}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{22}\u{29}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{6d}\u{61}\u{74}\u{68}\u{27}\u{3b}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{79}\u{70}\u{65}\u{28}\u{61}\u{2e}\u{73}\u{69}\u{6e}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{22}\u{29}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{73}\u{75}\u{62}\u{28}\u{27}\u{6f}\u{6b}\u{69}\u{6e}\u{61}\u{6d}\u{61}\u{27}\u{2c}\u{20}\u{31}\u{2c}\u{20}\u{32}\u{29}\u{a}")
852−assert(a == "\111\107")
852+assert(a == "\u{6f}\u{6b}")
853T.closestate(L1)
853T.closestate(L1)
854;
854;
855L1=T.newstate()
855L1=T.newstate()
856T.loadlib(L1)
856T.loadlib(L1)
857−T.doremote(L1,"\97\32\61\32\123\125")
857+T.doremote(L1,"\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}")
858−T.testC(L1,"\103\101\116\103\108\111\98\97\108\32\34\97\34\59\32\112\117\115\104\115\116\114\105\110\103\32\34\120\34\59\32\112\117\115\104\105\110\116\32\49\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\115\101\116\116\97\98\108\101\32\45\51")
858+T.testC(L1,"\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{22}\u{61}\u{22}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{78}\u{22}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{33}")
859−assert(T.doremote(L1,"\114\101\116\117\114\110\32\97\46\120") == "\49")
859+assert(T.doremote(L1,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{2e}\u{78}") == "\u{31}")
860T.closestate(L1)
860T.closestate(L1)
861L1=nil
861L1=nil
862−print("\43")
862+print("\u{2b}")
863−print("\116\101\115\116\105\110\103\32\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115")
863+print("\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}")
864do
864do
865local openresource = {}
865local openresource = {}
866local function newresource
866local function newresource
867()
867()
868−local x = setmetatable({10},{["\95\95\99\108\111\115\101"] = function (y)
868+local x = setmetatable({10},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function (y)
869assert(openresource[# openresource] == y)
869assert(openresource[# openresource] == y)
870openresource[# openresource]=nil
870openresource[# openresource]=nil
871y[1]=y[1] + 1
871y[1]=y[1] + 1
@@ -873,33 +873,33 @@ end})
873openresource[# openresource + 1]=x
873openresource[# openresource + 1]=x
874return x
874return x
875end
875end
876−local a,b = T.testC("\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\114\101\115\111\117\114\99\101\10\32\32\32\32\112\117\115\104\110\105\108\10\32\32\32\32\116\111\99\108\111\115\101\32\45\50\32\32\35\32\109\97\114\107\32\99\97\108\108\32\114\101\115\117\108\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\32\35\32\109\97\114\107\32\110\105\108\32\116\111\32\98\101\32\99\108\111\115\101\100\32\40\119\105\108\108\32\98\101\32\105\103\110\111\114\101\100\41\10\32\32\32\32\114\101\116\117\114\110\32\50\10\32\32",newresource)
876+local a,b = T.testC("\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{69}\u{6c}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{32}\u{20}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{6e}\u{69}\u{6c}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{28}\u{77}\u{69}\u{6c}\u{6c}\u{20}\u{62}\u{65}\u{20}\u{69}\u{67}\u{6e}\u{6f}\u{72}\u{65}\u{64}\u{29}\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{32}\u{a}\u{20}\u{20}",newresource)
877assert(a[1] == 11 and b == nil)
877assert(a[1] == 11 and b == nil)
878assert(# openresource == 0)
878assert(# openresource == 0)
879−local a = {T.testC("\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\114\101\115\111\117\114\99\101\10\32\32\32\32\116\111\99\108\111\115\101\32\50\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\114\101\116\117\114\110\32\50\10\32\32",newresource)}
879+local a = {T.testC("\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{32}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\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{32}\u{a}\u{20}\u{20}",newresource)}
880−assert(type(a[1]) == "\115\116\114\105\110\103" and a[2][1] == 11)
880+assert(type(a[1]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and a[2][1] == 11)
881assert(# openresource == 0)
881assert(# openresource == 0)
882−local a,b = pcall(T.makeCfunc("\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\114\101\115\111\117\114\99\101\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\101\114\114\111\114\32\32\32\32\32\32\32\35\32\114\101\115\111\117\114\99\101\32\105\115\32\116\104\101\32\101\114\114\111\114\32\111\98\106\101\99\116\10\32\32"),newresource)
882+local a,b = pcall(T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{20}\u{69}\u{73}\u{20}\u{74}\u{68}\u{65}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{a}\u{20}\u{20}"),newresource)
883assert(a == false and b[1] == 11)
883assert(a == false and b[1] == 11)
884assert(# openresource == 0)
884assert(# openresource == 0)
885−local a,b = pcall(T.makeCfunc("\32\32\32\32\110\101\119\116\97\98\108\101\32\32\32\35\32\99\114\101\97\116\101\32\110\111\110\45\99\108\111\115\97\98\108\101\32\111\98\106\101\99\116\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\32\40\115\104\111\117\108\100\32\114\97\105\115\101\32\97\110\32\101\114\114\111\114\41\10\32\32\32\32\97\98\111\114\116\32\32\35\32\119\105\108\108\32\110\111\116\32\98\101\32\101\120\101\99\117\116\101\100\10\32\32"))
885+local a,b = pcall(T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{6e}\u{65}\u{77}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{63}\u{6c}\u{6f}\u{73}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{28}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{72}\u{61}\u{69}\u{73}\u{65}\u{20}\u{61}\u{6e}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{62}\u{6f}\u{72}\u{74}\u{20}\u{20}\u{23}\u{20}\u{77}\u{69}\u{6c}\u{6c}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{65}\u{78}\u{65}\u{63}\u{75}\u{74}\u{65}\u{64}\u{a}\u{20}\u{20}"))
886−assert(a == false and string.find(b,"\110\111\110\37\45\99\108\111\115\97\98\108\101\32\118\97\108\117\101"))
886+assert(a == false and string.find(b,"\u{6e}\u{6f}\u{6e}\u{25}\u{2d}\u{63}\u{6c}\u{6f}\u{73}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}"))
887local function check
887local function check
888(n)
888(n)
889assert(# openresource == n)
889assert(# openresource == n)
890end
890end
891_ENV.xxx=true
891_ENV.xxx=true
892−local a = T.testC("\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\78\82\10\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\114\101\115\111\117\114\99\101\59\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\35\32\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\78\82\10\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\97\110\111\116\104\101\114\32\114\101\115\111\117\114\99\101\59\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\51\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\50\32\32\32\35\32\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\116\119\111\32\111\112\101\110\32\114\101\115\111\117\114\99\101\115\10\32\32\32\32\99\97\108\108\32\49\32\48\32\32\35\32\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\10\32\32\32\32\99\108\111\115\101\115\108\111\116\32\45\49\32\32\32\35\32\99\108\111\115\101\32\115\101\99\111\110\100\32\114\101\115\111\117\114\99\101\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\51\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\49\32\32\32\35\32\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\111\110\101\32\111\112\101\110\32\114\101\115\111\117\114\99\101\10\32\32\32\32\99\97\108\108\32\49\32\48\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\10\32\32\32\32\99\108\111\115\101\115\108\111\116\32\52\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\34\120\120\120\34\32\32\35\32\112\114\101\118\105\111\117\115\32\111\112\46\32\101\114\97\115\101\100\32\116\104\101\32\115\108\111\116\10\32\32\32\32\112\111\112\32\49\32\32\32\32\32\32\32\35\32\112\111\112\32\111\116\104\101\114\32\114\101\115\111\117\114\99\101\32\102\114\111\109\32\116\104\101\32\115\116\97\99\107\10\32\32\32\32\112\117\115\104\105\110\116\32\42\10\32\32\32\32\114\101\116\117\114\110\32\49\32\32\32\32\35\32\114\101\116\117\114\110\32\115\116\97\99\107\32\115\105\122\101\10\32\32",newresource,check)
892+local a = T.testC("\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{4e}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{3b}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{23}\u{20}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{4e}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{3b}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{32}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{74}\u{77}\u{6f}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{30}\u{20}\u{20}\u{23}\u{20}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{73}\u{6c}\u{6f}\u{74}\u{20}\u{2d}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{6f}\u{6e}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{30}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{73}\u{6c}\u{6f}\u{74}\u{20}\u{34}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{22}\u{78}\u{78}\u{78}\u{22}\u{20}\u{20}\u{23}\u{20}\u{70}\u{72}\u{65}\u{76}\u{69}\u{6f}\u{75}\u{73}\u{20}\u{6f}\u{70}\u{2e}\u{20}\u{65}\u{72}\u{61}\u{73}\u{65}\u{64}\u{20}\u{74}\u{68}\u{65}\u{20}\u{73}\u{6c}\u{6f}\u{74}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{20}\u{66}\u{72}\u{6f}\u{6d}\u{20}\u{74}\u{68}\u{65}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{2a}\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{31}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{a}\u{20}\u{20}",newresource,check)
893assert(a == 3 and _ENV.xxx == nil)
893assert(a == 3 and _ENV.xxx == nil)
894−local a = T.testC("\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\78\82\10\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\114\101\115\111\117\114\99\101\59\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\35\32\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\78\82\10\32\32\32\32\99\97\108\108\32\48\32\49\32\32\32\35\32\99\114\101\97\116\101\32\97\110\111\116\104\101\114\32\114\101\115\111\117\114\99\101\59\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\32\35\32\109\97\114\107\32\105\116\32\116\111\32\98\101\32\99\108\111\115\101\100\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\51\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\50\32\32\32\35\32\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\116\119\111\32\111\112\101\110\32\114\101\115\111\117\114\99\101\115\10\32\32\32\32\99\97\108\108\32\49\32\48\32\32\35\32\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\82\10\32\32\32\32\112\111\112\32\49\32\32\32\35\32\112\111\112\32\115\101\99\111\110\100\32\114\101\115\111\117\114\99\101\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\51\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\49\32\32\32\35\32\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\111\110\101\32\111\112\101\110\32\114\101\115\111\117\114\99\101\10\32\32\32\32\99\97\108\108\32\49\32\48\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\82\10\32\32\32\32\112\111\112\32\49\32\32\32\32\32\32\32\35\32\112\111\112\32\111\116\104\101\114\32\114\101\115\111\117\114\99\101\32\102\114\111\109\32\116\104\101\32\115\116\97\99\107\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\51\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\48\32\32\32\35\32\116\104\101\114\101\32\115\104\111\117\108\100\32\98\101\32\110\111\32\111\112\101\110\32\114\101\115\111\117\114\99\101\115\10\32\32\32\32\99\97\108\108\32\49\32\48\32\32\35\32\115\116\97\99\107\58\32\83\44\32\78\82\44\32\67\72\10\32\32\32\32\112\117\115\104\105\110\116\32\42\10\32\32\32\32\114\101\116\117\114\110\32\49\32\32\32\32\35\32\114\101\116\117\114\110\32\115\116\97\99\107\32\115\105\122\101\10\32\32",newresource,check)
894+local a = T.testC("\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{4e}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{3b}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{23}\u{20}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{4e}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{3b}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{20}\u{23}\u{20}\u{6d}\u{61}\u{72}\u{6b}\u{20}\u{69}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{32}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{74}\u{77}\u{6f}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{30}\u{20}\u{20}\u{23}\u{20}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{6f}\u{6e}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{30}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{52}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{20}\u{66}\u{72}\u{6f}\u{6d}\u{20}\u{74}\u{68}\u{65}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{33}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{30}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{68}\u{65}\u{72}\u{65}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{6e}\u{6f}\u{20}\u{6f}\u{70}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{6f}\u{75}\u{72}\u{63}\u{65}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{31}\u{20}\u{30}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{3a}\u{20}\u{53}\u{2c}\u{20}\u{4e}\u{52}\u{2c}\u{20}\u{43}\u{48}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{2a}\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{31}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{a}\u{20}\u{20}",newresource,check)
895assert(a == 3)
895assert(a == 3)
896−local a,b = pcall(T.makeCfunc("\32\32\32\32\112\117\115\104\105\110\116\32\51\50\10\32\32\32\32\116\111\99\108\111\115\101\32\45\49\10\32\32"))
896+local a,b = pcall(T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{33}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{2d}\u{31}\u{a}\u{20}\u{20}"))
897−assert(not a and string.find(b,"\40\67\32\116\101\109\112\111\114\97\114\121\41"))
897+assert(not a and string.find(b,"\u{28}\u{43}\u{20}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}"))
898end
898end
899−print("\109\101\109\111\114\121\45\97\108\108\111\99\97\116\105\111\110\32\101\114\114\111\114\115")
899+print("\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{2d}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}")
900−checkerr("\98\108\111\99\107\32\116\111\111\32\98\105\103",T.newuserdata,math.maxinteger)
900+checkerr("\u{62}\u{6c}\u{6f}\u{63}\u{6b}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{62}\u{69}\u{67}",T.newuserdata,math.maxinteger)
901collectgarbage()
901collectgarbage()
902−local f = load("\108\111\99\97\108\32\97\61\123\125\59\32\102\111\114\32\105\61\49\44\49\48\48\48\48\48\32\100\111\32\97\91\105\93\61\105\32\101\110\100")
902+local f = load("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{69}\u{3d}\u{31}\u{2c}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{61}\u{5b}\u{69}\u{5d}\u{3d}\u{69}\u{20}\u{65}\u{6e}\u{64}")
903T.alloccount(10)
903T.alloccount(10)
904checkerr(MEMERRMSG,f)
904checkerr(MEMERRMSG,f)
905T.alloccount()
905T.alloccount()
@@ -914,17 +914,17 @@ collectgarbage()
914;
914;
915collectgarbage()
915collectgarbage()
916T.totalmem(M)
916T.totalmem(M)
917−a,b=T.testC("\112\99\97\108\108\32\48\32\49\32\48\59\32\112\117\115\104\115\116\97\116\117\115\59\32\114\101\116\117\114\110\32\50",f)
917+a,b=T.testC("\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",f)
918T.totalmem(0)
918T.totalmem(0)
919−if a and b == "\79\75" then
919+if a and b == "\u{4f}\u{4b}" then
920break
920break
921end
921end
922−if b ~= "\79\75" and b ~= MEMERRMSG then
922+if b ~= "\u{4f}\u{4b}" and b ~= MEMERRMSG then
923error(a,0)
923error(a,0)
924end
924end
925M=M + 7
925M=M + 7
926end
926end
927−print(string.format("\109\105\110\105\109\117\109\32\109\101\109\111\114\121\32\102\111\114\32\37\115\58\32\37\100\32\98\121\116\101\115",s,M - oldM))
927+print(string.format("\u{6d}\u{69}\u{6e}\u{69}\u{6d}\u{75}\u{6d}\u{20}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{25}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{20}\u{62}\u{79}\u{74}\u{65}\u{73}",s,M - oldM))
928return a
928return a
929end
929end
930local function testalloc
930local function testalloc
@@ -937,17 +937,17 @@ collectgarbage()
937;
937;
938collectgarbage()
938collectgarbage()
939T.alloccount(M)
939T.alloccount(M)
940−a,b=T.testC("\112\99\97\108\108\32\48\32\49\32\48\59\32\112\117\115\104\115\116\97\116\117\115\59\32\114\101\116\117\114\110\32\50",f)
940+a,b=T.testC("\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{20}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",f)
941T.alloccount()
941T.alloccount()
942−if a and b == "\79\75" then
942+if a and b == "\u{4f}\u{4b}" then
943break
943break
944end
944end
945−if b ~= "\79\75" and b ~= MEMERRMSG then
945+if b ~= "\u{4f}\u{4b}" and b ~= MEMERRMSG then
946error(a,0)
946error(a,0)
947end
947end
948M=M + 1
948M=M + 1
949end
949end
950−print(string.format("\109\105\110\105\109\117\109\32\97\108\108\111\99\97\116\105\111\110\115\32\102\111\114\32\37\115\58\32\37\100\32\97\108\108\111\99\97\116\105\111\110\115",s,M))
950+print(string.format("\u{6d}\u{69}\u{6e}\u{69}\u{6d}\u{75}\u{6d}\u{20}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{25}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{20}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{73}",s,M))
951return a
951return a
952end
952end
953local function testamem
953local function testamem
@@ -955,30 +955,30 @@ local function testamem
955testalloc(s,f)
955testalloc(s,f)
956return testbytes(s,f)
956return testbytes(s,f)
957end
957end
958−b=testamem("\100\111\105\110\103\32\110\111\116\104\105\110\103",function ()
958+b=testamem("\u{64}\u{6f}\u{69}\u{6e}\u{67}\u{20}\u{6e}\u{6f}\u{74}\u{68}\u{69}\u{6e}\u{67}",function ()
959return 10
959return 10
960end)
960end)
961assert(b == 10)
961assert(b == 10)
962−testamem("\115\116\97\116\101\32\99\114\101\97\116\105\111\110",function ()
962+testamem("\u{73}\u{74}\u{61}\u{74}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
963local st = T.newstate()
963local st = T.newstate()
964if st then
964if st then
965T.closestate(st)
965T.closestate(st)
966end
966end
967return st
967return st
968end)
968end)
969−testamem("\101\109\112\116\121\45\116\97\98\108\101\32\99\114\101\97\116\105\111\110",function ()
969+testamem("\u{65}\u{6d}\u{70}\u{74}\u{79}\u{2d}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
970return {}
970return {}
971end)
971end)
972−testamem("\115\116\114\105\110\103\32\99\114\101\97\116\105\111\110",function ()
972+testamem("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
973−return "\88\88\88" .. "\89\89\89"
973+return "\u{58}\u{58}\u{58}" .. "\u{59}\u{59}\u{59}"
974end)
974end)
975−testamem("\99\111\114\111\117\116\105\110\101\32\99\114\101\97\116\105\111\110",function ()
975+testamem("\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
976return coroutine.create(print)
976return coroutine.create(print)
977end)
977end)
978−testamem("\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115",function ()
978+testamem("\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}",function ()
979local flag
979local flag
980do
980do
981−local x <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
981+local x <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
982flag=true
982flag=true
983end})
983end})
984flag=false
984flag=false
@@ -986,52 +986,52 @@ local x = {}
986end
986end
987return flag
987return flag
988end)
988end)
989−local mt = T.testC("\114\97\119\103\101\116\105\32\82\32\49\59\32\114\101\116\117\114\110\32\49")
989+local mt = T.testC("\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
990−assert(type(mt) == "\116\104\114\101\97\100" and coroutine.running() == mt)
990+assert(type(mt) == "\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}" and coroutine.running() == mt)
991local function expand
991local function expand
992(n,s)
992(n,s)
993if n == 0 then
993if n == 0 then
994return ""
994return ""
995end
995end
996−local e = string.rep("\61",n)
996+local e = string.rep("\u{3d}",n)
997−return string.format("\84\46\100\111\111\110\110\101\119\115\116\97\99\107\40\91\37\115\91\32\37\115\59\10\32\99\111\108\108\101\99\116\103\97\114\98\97\103\101\40\41\59\32\37\115\93\37\115\93\41\10",e,s,expand(n - 1,s),e)
997+return string.format("\u{54}\u{2e}\u{64}\u{6f}\u{6f}\u{6e}\u{6e}\u{65}\u{77}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{28}\u{5b}\u{25}\u{73}\u{5b}\u{20}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{28}\u{29}\u{3b}\u{20}\u{25}\u{73}\u{5d}\u{25}\u{73}\u{5d}\u{29}\u{a}",e,s,expand(n - 1,s),e)
998end
998end
999G=0
999G=0
1000;
1000;
1001collectgarbage()
1001collectgarbage()
1002;
1002;
1003−a=collectgarbage("\99\111\117\110\116")
1003+a=collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
1004−load(expand(20,"\71\61\71\43\49"))()
1004+load(expand(20,"\u{47}\u{3d}\u{47}\u{2b}\u{31}"))()
1005assert(G == 20)
1005assert(G == 20)
1006;
1006;
1007collectgarbage()
1007collectgarbage()
1008;
1008;
1009G=nil
1009G=nil
1010−testamem("\114\117\110\110\105\110\103\32\99\111\100\101\32\111\110\32\110\101\119\32\116\104\114\101\97\100",function ()
1010+testamem("\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{64}\u{65}\u{20}\u{6f}\u{6e}\u{20}\u{6e}\u{65}\u{77}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}",function ()
1011−return T.doonnewstack("\108\111\99\97\108\32\120\61\49") == 0
1011+return T.doonnewstack("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{3d}\u{31}") == 0
1012end)
1012end)
1013−testamem("\108\111\97\100\115\116\114\105\110\103",function ()
1013+testamem("\u{6c}\u{6f}\u{61}\u{64}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",function ()
1014−return load("\120\61\49")
1014+return load("\u{78}\u{3d}\u{31}")
1015end)
1015end)
1016−local testprog = "\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\32\40\41\32\114\101\116\117\114\110\32\101\110\100\10\108\111\99\97\108\32\116\32\61\32\123\34\120\34\125\10\65\65\32\61\32\34\97\97\97\34\10\102\111\114\32\105\32\61\32\49\44\32\35\116\32\100\111\32\65\65\32\61\32\65\65\32\46\46\32\116\91\105\93\32\101\110\100\10\114\101\116\117\114\110\32\116\114\117\101\10"
1016+local testprog = "\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{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{65}\u{6e}\u{64}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{74}\u{20}\u{3d}\u{20}\u{7b}\u{22}\u{78}\u{22}\u{7d}\u{a}\u{41}\u{41}\u{20}\u{3d}\u{20}\u{22}\u{61}\u{61}\u{61}\u{22}\u{a}\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{23}\u{74}\u{20}\u{64}\u{6f}\u{20}\u{41}\u{41}\u{20}\u{3d}\u{20}\u{41}\u{41}\u{20}\u{2e}\u{2e}\u{20}\u{74}\u{5b}\u{69}\u{5d}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{74}\u{72}\u{75}\u{65}\u{a}"
1017_G.AA=nil
1017_G.AA=nil
1018local t = os.tmpname()
1018local t = os.tmpname()
1019−local f = assert(io.open(t,"\119"))
1019+local f = assert(io.open(t,"\u{77}"))
1020f:write(testprog)
1020f:write(testprog)
1021f:close()
1021f:close()
1022−testamem("\100\111\102\105\108\101",function ()
1022+testamem("\u{64}\u{6f}\u{66}\u{69}\u{6c}\u{65}",function ()
1023local a = loadfile(t)
1023local a = loadfile(t)
1024return a and a()
1024return a and a()
1025end)
1025end)
1026assert(os.remove(t))
1026assert(os.remove(t))
1027−assert(_G.AA == "\97\97\97\120")
1027+assert(_G.AA == "\u{61}\u{61}\u{61}\u{78}")
1028−testamem("\103\115\117\98",function ()
1028+testamem("\u{67}\u{73}\u{75}\u{62}",function ()
1029−local a,b = string.gsub("\97\108\111\32\97\108\111","\40\97\41",function (x)
1029+local 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)
1030−return x .. "\98"
1030+return x .. "\u{62}"
1031end)
1031end)
1032−return (a == "\97\98\108\111\32\97\98\108\111")
1032+return (a == "\u{61}\u{62}\u{6c}\u{6f}\u{20}\u{61}\u{62}\u{6c}\u{6f}")
1033end)
1033end)
1034−testamem("\100\117\109\112\47\117\110\100\117\109\112",function ()
1034+testamem("\u{64}\u{75}\u{6d}\u{70}\u{2f}\u{75}\u{6e}\u{64}\u{75}\u{6d}\u{70}",function ()
1035local a = load(testprog)
1035local a = load(testprog)
1036local b = a and string.dump(a)
1036local b = a and string.dump(a)
1037a=b and load(b)
1037a=b and load(b)
@@ -1039,31 +1039,31 @@ return a and a()
1039end)
1039end)
1040_G.AA=nil
1040_G.AA=nil
1041local t = os.tmpname()
1041local t = os.tmpname()
1042−testamem("\102\105\108\101\32\99\114\101\97\116\105\111\110",function ()
1042+testamem("\u{66}\u{69}\u{6c}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
1043−local f = assert(io.open(t,"\119"))
1043+local f = assert(io.open(t,"\u{77}"))
1044−assert(not io.open("\110\111\109\101\110\97\111\101\120\105\115\116\101\110\116\101"))
1044+assert(not io.open("\u{6e}\u{6f}\u{6d}\u{65}\u{6e}\u{61}\u{6f}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}\u{6e}\u{74}\u{65}"))
1045io.close(f)
1045io.close(f)
1046;
1046;
1047−return not loadfile("\110\111\109\101\110\97\111\101\120\105\115\116\101\110\116\101")
1047+return not loadfile("\u{6e}\u{6f}\u{6d}\u{65}\u{6e}\u{61}\u{6f}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}\u{6e}\u{74}\u{65}")
1048end)
1048end)
1049assert(os.remove(t))
1049assert(os.remove(t))
1050−testamem("\116\97\98\108\101\32\99\114\101\97\116\105\111\110",function ()
1050+testamem("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
1051local a,lim = {},10
1051local a,lim = {},10
1052for i = 1, lim
1052for i = 1, lim
1053do
1053do
1054a[i]=i
1054a[i]=i
1055;
1055;
1056−a[i .. "\97"]={}
1056+a[i .. "\u{61}"]={}
1057end
1057end
1058−return (type(a[lim .. "\97"]) == "\116\97\98\108\101" 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)
1059end)
1059end)
1060−testamem("\99\111\110\115\116\114\117\99\116\111\114\115",function ()
1060+testamem("\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 ()
1061−local a = {10,20,30,40,50,["\97"] = 1,["\98"] = 2,["\99"] = 3,["\100"] = 4,["\101"] = 5}
1061+local a = {10,20,30,40,50,["\u{61}"] = 1,["\u{62}"] = 2,["\u{63}"] = 3,["\u{64}"] = 4,["\u{65}"] = 5}
1062−return (type(a) == "\116\97\98\108\101" and a.e == 5)
1062+return (type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and a.e == 5)
1063end)
1063end)
1064local a = 1
1064local a = 1
1065local close = nil
1065local close = nil
1066−testamem("\99\108\111\115\117\114\101\32\99\114\101\97\116\105\111\110",function ()
1066+testamem("\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6f}\u{6e}",function ()
1067function close(b)
1067function close(b)
1068return function (x)
1068return function (x)
1069return b + x
1069return b + x
@@ -1071,9 +1071,9 @@ end
1071end
1071end
1072return (close(2)(4) == 6)
1072return (close(2)(4) == 6)
1073end)
1073end)
1074−testamem("\117\115\105\110\103\32\99\111\114\111\117\116\105\110\101\115",function ()
1074+testamem("\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 ()
1075local a = coroutine.wrap(function ()
1075local a = coroutine.wrap(function ()
1076−coroutine.yield(string.rep("\97",10))
1076+coroutine.yield(string.rep("\u{61}",10))
1077return {}
1077return {}
1078end)
1078end)
1079assert(string.len(a()) == 10)
1079assert(string.len(a()) == 10)
@@ -1085,13 +1085,13 @@ local a = {}
1085;
1085;
1086for i = 1, lim
1086for i = 1, lim
1087do
1087do
1088−a[i]="\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
1088+a[i]="\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}"
1089end
1089end
1090−testamem("\97\117\120\105\108\105\97\114\121\32\98\117\102\102\101\114",function ()
1090+testamem("\u{61}\u{75}\u{78}\u{69}\u{6c}\u{69}\u{61}\u{72}\u{79}\u{20}\u{62}\u{75}\u{66}\u{66}\u{65}\u{72}",function ()
1091−return (# table.concat(a,"\44") == 20 * lim + lim - 1)
1091+return (# table.concat(a,"\u{2c}") == 20 * lim + lim - 1)
1092end)
1092end)
1093end
1093end
1094−testamem("\103\114\111\119\105\110\103\32\115\116\97\99\107",function ()
1094+testamem("\u{67}\u{72}\u{6f}\u{77}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}",function ()
1095local function foo
1095local function foo
1096(n)
1096(n)
1097if n == 0 then
1097if n == 0 then
@@ -1103,11 +1103,11 @@ end
1103return foo(100)
1103return foo(100)
1104end)
1104end)
1105do
1105do
1106−local res = T.testC("\114\97\119\99\104\101\99\107\115\116\97\99\107\32\53\48\48\48\48\48\59\32\114\101\116\117\114\110\32\49")
1106+local res = T.testC("\u{72}\u{61}\u{77}\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{35}\u{30}\u{30}\u{30}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
1107assert(res == false)
1107assert(res == false)
1108local L = T.newstate()
1108local L = T.newstate()
1109T.alloccount(0)
1109T.alloccount(0)
1110−res=T.testC(L,"\114\97\119\99\104\101\99\107\115\116\97\99\107\32\53\48\48\48\59\32\114\101\116\117\114\110\32\49")
1110+res=T.testC(L,"\u{72}\u{61}\u{77}\u{63}\u{68}\u{65}\u{63}\u{6b}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{35}\u{30}\u{30}\u{30}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}")
1111T.alloccount()
1111T.alloccount()
1112T.closestate(L)
1112T.closestate(L)
1113assert(res == false)
1113assert(res == false)
@@ -1121,41 +1121,41 @@ end
1121do
1121do
1122local L = T.newstate()
1122local L = T.newstate()
1123T.loadlib(L)
1123T.loadlib(L)
1124−local res = (T.doremote(L,"\32\32\32\32\95\69\78\86\32\61\32\114\101\113\117\105\114\101\34\95\71\34\10\32\32\32\32\108\111\99\97\108\32\84\32\61\32\114\101\113\117\105\114\101\34\84\34\10\32\32\32\32\108\111\99\97\108\32\97\32\61\32\123\125\10\32\32\32\32\102\111\114\32\105\32\61\32\49\44\32\49\48\48\48\32\100\111\32\97\91\105\93\32\61\32\39\105\39\32\46\46\32\105\32\101\110\100\32\32\32\32\45\45\32\103\114\111\119\32\115\116\114\105\110\103\32\116\97\98\108\101\10\32\32\32\32\108\111\99\97\108\32\115\116\115\105\122\101\44\32\115\116\117\115\101\32\61\32\84\46\113\117\101\114\121\115\116\114\40\41\10\32\32\32\32\97\115\115\101\114\116\40\115\116\117\115\101\32\62\32\49\48\48\48\41\10\32\32\32\32\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\32\40\110\41\10\32\32\32\32\32\32\105\102\32\110\32\62\32\48\32\116\104\101\110\32\102\111\111\40\110\32\45\32\49\41\32\101\110\100\10\32\32\32\32\101\110\100\10\32\32\32\32\102\111\111\40\49\56\48\41\32\32\32\32\45\45\32\103\114\111\119\32\115\116\97\99\107\10\32\32\32\32\108\111\99\97\108\32\95\44\32\115\116\107\115\105\122\101\32\61\32\84\46\115\116\97\99\107\108\101\118\101\108\40\41\10\32\32\32\32\97\115\115\101\114\116\40\115\116\107\115\105\122\101\32\62\32\49\56\48\41\10\32\32\32\32\97\32\61\32\110\105\108\10\32\32\32\32\84\46\97\108\108\111\99\99\111\117\110\116\40\48\41\10\32\32\32\32\99\111\108\108\101\99\116\103\97\114\98\97\103\101\40\41\10\32\32\32\32\84\46\97\108\108\111\99\99\111\117\110\116\40\41\10\32\32\32\32\45\45\32\115\116\97\99\107\32\97\110\100\32\115\116\114\105\110\103\32\116\97\98\108\101\32\99\111\117\108\100\32\110\111\116\32\98\101\32\114\101\97\108\108\111\99\97\116\101\100\44\10\32\32\32\32\45\45\32\115\111\32\116\104\101\121\32\107\101\112\116\32\116\104\101\105\114\32\115\105\122\101\115\32\40\119\105\116\104\111\117\116\32\101\114\114\111\114\115\41\10\32\32\32\32\97\115\115\101\114\116\40\115\101\108\101\99\116\40\50\44\32\84\46\115\116\97\99\107\108\101\118\101\108\40\41\41\32\61\61\32\115\116\107\115\105\122\101\41\10\32\32\32\32\97\115\115\101\114\116\40\84\46\113\117\101\114\121\115\116\114\40\41\32\61\61\32\115\116\115\105\122\101\41\10\32\32\32\32\114\101\116\117\114\110\32\39\111\107\39\10\32\32"))
1124+local res = (T.doremote(L,"\u{20}\u{20}\u{20}\u{20}\u{5f}\u{45}\u{4e}\u{56}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{22}\u{5f}\u{47}\u{22}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{54}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{22}\u{54}\u{22}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{a}\u{20}\u{20}\u{20}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{31}\u{30}\u{30}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{61}\u{5b}\u{69}\u{5d}\u{20}\u{3d}\u{20}\u{27}\u{69}\u{27}\u{20}\u{2e}\u{2e}\u{20}\u{69}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{67}\u{72}\u{6f}\u{77}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{73}\u{74}\u{73}\u{69}\u{7a}\u{65}\u{2c}\u{20}\u{73}\u{74}\u{75}\u{73}\u{65}\u{20}\u{3d}\u{20}\u{54}\u{2e}\u{71}\u{75}\u{65}\u{72}\u{79}\u{73}\u{74}\u{72}\u{28}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{75}\u{73}\u{65}\u{20}\u{3e}\u{20}\u{31}\u{30}\u{30}\u{30}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\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{6f}\u{6f}\u{20}\u{28}\u{6e}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{6e}\u{20}\u{3e}\u{20}\u{30}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{66}\u{6f}\u{6f}\u{28}\u{6e}\u{20}\u{2d}\u{20}\u{31}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{66}\u{6f}\u{6f}\u{28}\u{31}\u{38}\u{30}\u{29}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{67}\u{72}\u{6f}\u{77}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{5f}\u{2c}\u{20}\u{73}\u{74}\u{6b}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{3d}\u{20}\u{54}\u{2e}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{6c}\u{65}\u{76}\u{65}\u{6c}\u{28}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{6b}\u{73}\u{69}\u{7a}\u{65}\u{20}\u{3e}\u{20}\u{31}\u{38}\u{30}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{20}\u{20}\u{20}\u{20}\u{54}\u{2e}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{28}\u{30}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{28}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{54}\u{2e}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{28}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{63}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{72}\u{65}\u{61}\u{6c}\u{6c}\u{6f}\u{63}\u{61}\u{74}\u{65}\u{64}\u{2c}\u{a}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{73}\u{6f}\u{20}\u{74}\u{68}\u{65}\u{79}\u{20}\u{6b}\u{65}\u{70}\u{74}\u{20}\u{74}\u{68}\u{65}\u{69}\u{72}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{73}\u{20}\u{28}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{28}\u{32}\u{2c}\u{20}\u{54}\u{2e}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{6c}\u{65}\u{76}\u{65}\u{6c}\u{28}\u{29}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{73}\u{74}\u{6b}\u{73}\u{69}\u{7a}\u{65}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{54}\u{2e}\u{71}\u{75}\u{65}\u{72}\u{79}\u{73}\u{74}\u{72}\u{28}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{73}\u{74}\u{73}\u{69}\u{7a}\u{65}\u{29}\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{27}\u{6f}\u{6b}\u{27}\u{a}\u{20}\u{20}"))
1125−assert(res == "\111\107")
1125+assert(res == "\u{6f}\u{6b}")
1126T.closestate(L)
1126T.closestate(L)
1127end
1127end
1128−print("\43")
1128+print("\u{2b}")
1129local function gsub
1129local function gsub
1130(a,b,c)
1130(a,b,c)
1131−a,b=T.testC("\103\115\117\98\32\50\32\51\32\52\59\32\103\101\116\116\111\112\59\32\114\101\116\117\114\110\32\50",a,b,c)
1131+a,b=T.testC("\u{67}\u{73}\u{75}\u{62}\u{20}\u{32}\u{20}\u{33}\u{20}\u{34}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",a,b,c)
1132assert(b == 5)
1132assert(b == 5)
1133return a
1133return a
1134end
1134end
1135−assert(gsub("\97\108\111\46\97\108\111\46\117\104\117\104\46","\46","\47\47") == "\97\108\111\47\47\97\108\111\47\47\117\104\117\104\47\47")
1135+assert(gsub("\u{61}\u{6c}\u{6f}\u{2e}\u{61}\u{6c}\u{6f}\u{2e}\u{75}\u{68}\u{75}\u{68}\u{2e}","\u{2e}","\u{2f}\u{2f}") == "\u{61}\u{6c}\u{6f}\u{2f}\u{2f}\u{61}\u{6c}\u{6f}\u{2f}\u{2f}\u{75}\u{68}\u{75}\u{68}\u{2f}\u{2f}")
1136−assert(gsub("\97\108\111\46\97\108\111\46\117\104\117\104\46","\97\108\111","\47\47") == "\47\47\46\47\47\46\117\104\117\104\46")
1136+assert(gsub("\u{61}\u{6c}\u{6f}\u{2e}\u{61}\u{6c}\u{6f}\u{2e}\u{75}\u{68}\u{75}\u{68}\u{2e}","\u{61}\u{6c}\u{6f}","\u{2f}\u{2f}") == "\u{2f}\u{2f}\u{2e}\u{2f}\u{2f}\u{2e}\u{75}\u{68}\u{75}\u{68}\u{2e}")
1137−assert(gsub("","\97\108\111","\47\47") == "")
1137+assert(gsub("","\u{61}\u{6c}\u{6f}","\u{2f}\u{2f}") == "")
1138−assert(gsub("\46\46\46","\46","\47\46") == "\47\46\47\46\47\46")
1138+assert(gsub("\u{2e}\u{2e}\u{2e}","\u{2e}","\u{2f}\u{2e}") == "\u{2f}\u{2e}\u{2f}\u{2e}\u{2f}\u{2e}")
1139−assert(gsub("\46\46\46","\46\46\46","") == "")
1139+assert(gsub("\u{2e}\u{2e}\u{2e}","\u{2e}\u{2e}\u{2e}","") == "")
1140−local mt_xuxu,res,top = T.testC("\110\101\119\109\101\116\97\116\97\98\108\101\32\120\117\120\117\59\32\103\101\116\116\111\112\59\32\114\101\116\117\114\110\32\51")
1140+local mt_xuxu,res,top = T.testC("\u{6e}\u{65}\u{77}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{78}\u{75}\u{78}\u{75}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
1141−assert(type(mt_xuxu) == "\116\97\98\108\101" and res and top == 3)
1141+assert(type(mt_xuxu) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and res and top == 3)
1142−local d,res,top = T.testC("\110\101\119\109\101\116\97\116\97\98\108\101\32\120\117\120\117\59\32\103\101\116\116\111\112\59\32\114\101\116\117\114\110\32\51")
1142+local d,res,top = T.testC("\u{6e}\u{65}\u{77}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{78}\u{75}\u{78}\u{75}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
1143assert(mt_xuxu == d and not res and top == 3)
1143assert(mt_xuxu == d and not res and top == 3)
1144−d,res,top=T.testC("\110\101\119\109\101\116\97\116\97\98\108\101\32\120\117\120\117\49\59\32\103\101\116\116\111\112\59\32\114\101\116\117\114\110\32\51")
1144+d,res,top=T.testC("\u{6e}\u{65}\u{77}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{78}\u{75}\u{78}\u{75}\u{31}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}")
1145assert(mt_xuxu ~= d and res and top == 3)
1145assert(mt_xuxu ~= d and res and top == 3)
1146x=T.newuserdata(0)
1146x=T.newuserdata(0)
1147;
1147;
1148y=T.newuserdata(0)
1148y=T.newuserdata(0)
1149;
1149;
1150−T.testC("\112\117\115\104\115\116\114\105\110\103\32\120\117\120\117\59\32\103\101\116\116\97\98\108\101\32\82\59\32\115\101\116\109\101\116\97\116\97\98\108\101\32\50",x)
1150+T.testC("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{78}\u{75}\u{78}\u{75}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{52}\u{3b}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{32}",x)
1151assert(getmetatable(x) == mt_xuxu)
1151assert(getmetatable(x) == mt_xuxu)
1152−local res1,res2,top = T.testC("\116\101\115\116\117\100\97\116\97\32\45\49\32\120\117\120\117\10\32\32\32\9\32\9\9\9\32\32\116\101\115\116\117\100\97\116\97\32\50\32\120\117\120\117\10\9\9\9\9\32\32\103\101\116\116\111\112\10\9\9\9\9\32\32\114\101\116\117\114\110\32\51",x)
1152+local res1,res2,top = T.testC("\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{2d}\u{31}\u{20}\u{78}\u{75}\u{78}\u{75}\u{a}\u{20}\u{20}\u{20}\u{9}\u{20}\u{9}\u{9}\u{9}\u{20}\u{20}\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{32}\u{20}\u{78}\u{75}\u{78}\u{75}\u{a}\u{9}\u{9}\u{9}\u{9}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{a}\u{9}\u{9}\u{9}\u{9}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",x)
1153assert(res1 and res2 and top == 4)
1153assert(res1 and res2 and top == 4)
1154−res1,res2,top=T.testC("\116\101\115\116\117\100\97\116\97\32\45\49\32\120\117\120\117\49\10\9\9\9\32\32\32\32\116\101\115\116\117\100\97\116\97\32\50\32\120\117\120\117\49\10\9\9\9\32\32\32\32\103\101\116\116\111\112\10\9\9\9\32\32\32\32\114\101\116\117\114\110\32\51",x)
1154+res1,res2,top=T.testC("\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{2d}\u{31}\u{20}\u{78}\u{75}\u{78}\u{75}\u{31}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{32}\u{20}\u{78}\u{75}\u{78}\u{75}\u{31}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",x)
1155assert(not res1 and not res2 and top == 4)
1155assert(not res1 and not res2 and top == 4)
1156−res1,res2,top=T.testC("\116\101\115\116\117\100\97\116\97\32\45\49\32\120\117\120\117\50\10\9\9\9\32\32\32\32\116\101\115\116\117\100\97\116\97\32\50\32\120\117\120\117\50\10\9\9\9\32\32\32\32\103\101\116\116\111\112\10\9\9\9\32\32\32\32\114\101\116\117\114\110\32\51",x)
1156+res1,res2,top=T.testC("\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{2d}\u{31}\u{20}\u{78}\u{75}\u{78}\u{75}\u{32}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{32}\u{20}\u{78}\u{75}\u{78}\u{75}\u{32}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",x)
1157assert(not res1 and not res2 and top == 4)
1157assert(not res1 and not res2 and top == 4)
1158−res1,res2,top=T.testC("\116\101\115\116\117\100\97\116\97\32\45\49\32\120\117\120\117\10\9\9\9\32\32\32\32\116\101\115\116\117\100\97\116\97\32\50\32\120\117\120\117\10\9\9\9\32\32\32\32\103\101\116\116\111\112\10\9\9\9\32\32\32\32\114\101\116\117\114\110\32\51",y)
1158+res1,res2,top=T.testC("\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{2d}\u{31}\u{20}\u{78}\u{75}\u{78}\u{75}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{74}\u{65}\u{73}\u{74}\u{75}\u{64}\u{61}\u{74}\u{61}\u{20}\u{32}\u{20}\u{78}\u{75}\u{78}\u{75}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{a}\u{9}\u{9}\u{9}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",y)
1159assert(not res1 and not res2 and top == 4)
1159assert(not res1 and not res2 and top == 4)
1160do
1160do
1161local r = debug.getregistry()
1161local r = debug.getregistry()
@@ -1164,4 +1164,4 @@ r.xuxu=nil
1164;
1164;
1165r.xuxu1=nil
1165r.xuxu1=nil
1166end
1166end
1167−print("\79\75")
1167+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/attrib.lua+130−130
@@ -1,62 +1,62 @@
1−print("\116\101\115\116\105\110\103\32\114\101\113\117\105\114\101")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}")
2−assert(require("\115\116\114\105\110\103") == string)
2+assert(require("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}") == string)
3−assert(require("\109\97\116\104") == math)
3+assert(require("\u{6d}\u{61}\u{74}\u{68}") == math)
4−assert(require("\116\97\98\108\101") == table)
4+assert(require("\u{74}\u{61}\u{62}\u{6c}\u{65}") == table)
5−assert(require("\105\111") == io)
5+assert(require("\u{69}\u{6f}") == io)
6−assert(require("\111\115") == os)
6+assert(require("\u{6f}\u{73}") == os)
7−assert(require("\99\111\114\111\117\116\105\110\101") == coroutine)
7+assert(require("\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}") == coroutine)
8−assert(type(package.path) == "\115\116\114\105\110\103")
8+assert(type(package.path) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
9−assert(type(package.cpath) == "\115\116\114\105\110\103")
9+assert(type(package.cpath) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
10−assert(type(package.loaded) == "\116\97\98\108\101")
10+assert(type(package.loaded) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
11−assert(type(package.preload) == "\116\97\98\108\101")
11+assert(type(package.preload) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
12−assert(type(package.config) == "\115\116\114\105\110\103")
12+assert(type(package.config) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
13−print("\112\97\99\107\97\103\101\32\99\111\110\102\105\103\58\32" .. string.gsub(package.config,"\10","\124"))
13+print("\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{20}\u{63}\u{6f}\u{6e}\u{66}\u{69}\u{67}\u{3a}\u{20}" .. string.gsub(package.config,"\u{a}","\u{7c}"))
14do
14do
15local max = _soft and 100 or 2000
15local max = _soft and 100 or 2000
16local t = {}
16local t = {}
17for i = 1, max
17for i = 1, max
18do
18do
19−t[i]=string.rep("\63",i % 10 + 1)
19+t[i]=string.rep("\u{3f}",i % 10 + 1)
20end
20end
21−t[# t + 1]="\59"
21+t[# t + 1]="\u{3b}"
22−local path = table.concat(t,"\59")
22+local path = table.concat(t,"\u{3b}")
23−local s,err = package.searchpath("\120\117\120\117",path)
23+local s,err = package.searchpath("\u{78}\u{75}\u{78}\u{75}",path)
24−assert(not s and string.find(err,string.rep("\120\117\120\117",10)) and # string.gsub(err,"\91\94\10\93","") >= max)
24+assert(not s and string.find(err,string.rep("\u{78}\u{75}\u{78}\u{75}",10)) and # string.gsub(err,"\u{5b}\u{5e}\u{a}\u{5d}","") >= max)
25−local path = string.rep("\63",max)
25+local path = string.rep("\u{3f}",max)
26−local s,err = package.searchpath("\120\117\120\117",path)
26+local s,err = package.searchpath("\u{78}\u{75}\u{78}\u{75}",path)
27−assert(not s and string.find(err,string.rep("\120\117\120\117",max)))
27+assert(not s and string.find(err,string.rep("\u{78}\u{75}\u{78}\u{75}",max)))
28end
28end
29do
29do
30local oldpath = package.path
30local oldpath = package.path
31package.path={}
31package.path={}
32−local s,err = pcall(require,"\110\111\45\115\117\99\104\45\102\105\108\101")
32+local s,err = pcall(require,"\u{6e}\u{6f}\u{2d}\u{73}\u{75}\u{63}\u{68}\u{2d}\u{66}\u{69}\u{6c}\u{65}")
33−assert(not s and string.find(err,"\112\97\99\107\97\103\101\46\112\97\116\104"))
33+assert(not s and string.find(err,"\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{70}\u{61}\u{74}\u{68}"))
34package.path=oldpath
34package.path=oldpath
35end
35end
36do
36do
37−print("\116\101\115\116\105\110\103\32\39\114\101\113\117\105\114\101\39\32\109\101\115\115\97\103\101")
37+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}")
38local oldpath = package.path
38local oldpath = package.path
39local oldcpath = package.cpath
39local oldcpath = package.cpath
40−package.path="\63\46\108\117\97\59\63\47\63"
40+package.path="\u{3f}\u{2e}\u{6c}\u{75}\u{61}\u{3b}\u{3f}\u{2f}\u{3f}"
41−package.cpath="\63\46\115\111\59\63\47\105\110\105\116"
41+package.cpath="\u{3f}\u{2e}\u{73}\u{6f}\u{3b}\u{3f}\u{2f}\u{69}\u{6e}\u{69}\u{74}"
42−local st,msg = pcall(require,"\88\88\88")
42+local st,msg = pcall(require,"\u{58}\u{58}\u{58}")
43−local expected = "\109\111\100\117\108\101\32\39\88\88\88\39\32\110\111\116\32\102\111\117\110\100\58\10\9\110\111\32\102\105\101\108\100\32\112\97\99\107\97\103\101\46\112\114\101\108\111\97\100\91\39\88\88\88\39\93\10\9\110\111\32\102\105\108\101\32\39\88\88\88\46\108\117\97\39\10\9\110\111\32\102\105\108\101\32\39\88\88\88\47\88\88\88\39\10\9\110\111\32\102\105\108\101\32\39\88\88\88\46\115\111\39\10\9\110\111\32\102\105\108\101\32\39\88\88\88\47\105\110\105\116\39"
43+local expected = "\u{6d}\u{6f}\u{64}\u{75}\u{6c}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{27}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{6f}\u{75}\u{6e}\u{64}\u{3a}\u{a}\u{9}\u{6e}\u{6f}\u{20}\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{70}\u{72}\u{65}\u{6c}\u{6f}\u{61}\u{64}\u{5b}\u{27}\u{58}\u{58}\u{58}\u{27}\u{5d}\u{a}\u{9}\u{6e}\u{6f}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{2e}\u{6c}\u{75}\u{61}\u{27}\u{a}\u{9}\u{6e}\u{6f}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{2f}\u{58}\u{58}\u{58}\u{27}\u{a}\u{9}\u{6e}\u{6f}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{2e}\u{73}\u{6f}\u{27}\u{a}\u{9}\u{6e}\u{6f}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{2f}\u{69}\u{6e}\u{69}\u{74}\u{27}"
44assert(msg == expected)
44assert(msg == expected)
45package.path=oldpath
45package.path=oldpath
46package.cpath=oldcpath
46package.cpath=oldcpath
47end
47end
48−print("\43")
48+print("\u{2b}")
49if not _port then
49if not _port then
50−local dirsep = string.match(package.config,"\94\40\91\94\10\93\43\41\10")
50+local dirsep = string.match(package.config,"\u{5e}\u{28}\u{5b}\u{5e}\u{a}\u{5d}\u{2b}\u{29}\u{a}")
51−local DIR = "\108\105\98\115" .. dirsep
51+local DIR = "\u{6c}\u{69}\u{62}\u{73}" .. dirsep
52local function D
52local function D
53(x)
53(x)
54−local x = string.gsub(x,"\47",dirsep)
54+local x = string.gsub(x,"\u{2f}",dirsep)
55return DIR .. x
55return DIR .. x
56end
56end
57local function DC
57local function DC
58(x)
58(x)
59−local ext = (dirsep == "\92") and "\46\100\108\108" or "\46\115\111"
59+local ext = (dirsep == "\u{5c}") and "\u{2e}\u{64}\u{6c}\u{6c}" or "\u{2e}\u{73}\u{6f}"
60return D(x .. ext)
60return D(x .. ext)
61end
61end
62local function createfiles
62local function createfiles
@@ -77,18 +77,18 @@ do
77os.remove(D(n))
77os.remove(D(n))
78end
78end
79end
79end
80−local files = {["\110\97\109\101\115\46\108\117\97"] = "\100\111\32\114\101\116\117\114\110\32\123\46\46\46\125\32\101\110\100\10",["\101\114\114\46\108\117\97"] = "\66\32\61\32\49\53\59\32\97\32\61\32\97\32\43\32\49\59",["\115\121\110\101\114\114\46\108\117\97"] = "\66\32\61",["\65\46\108\117\97"] = "",["\66\46\108\117\97"] = "\97\115\115\101\114\116\40\46\46\46\61\61\39\66\39\41\59\114\101\113\117\105\114\101\32\39\65\39",["\65\46\108\99"] = "",["\65"] = "",["\76"] = "",["\88\88\120\88"] = "",["\67\46\108\117\97"] = "\112\97\99\107\97\103\101\46\108\111\97\100\101\100\91\46\46\46\93\32\61\32\50\53\59\32\114\101\113\117\105\114\101\39\67\39"}
80+local files = {["\u{6e}\u{61}\u{6d}\u{65}\u{73}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{64}\u{6f}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{2e}\u{2e}\u{2e}\u{7d}\u{20}\u{65}\u{6e}\u{64}\u{a}",["\u{65}\u{72}\u{72}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{42}\u{20}\u{3d}\u{20}\u{31}\u{35}\u{3b}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{3b}",["\u{73}\u{79}\u{6e}\u{65}\u{72}\u{72}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{42}\u{20}\u{3d}",["\u{41}\u{2e}\u{6c}\u{75}\u{61}"] = "",["\u{42}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{2e}\u{2e}\u{2e}\u{3d}\u{3d}\u{27}\u{42}\u{27}\u{29}\u{3b}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{20}\u{27}\u{41}\u{27}",["\u{41}\u{2e}\u{6c}\u{63}"] = "",["\u{41}"] = "",["\u{4c}"] = "",["\u{58}\u{58}\u{78}\u{58}"] = "",["\u{43}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{6c}\u{6f}\u{61}\u{64}\u{65}\u{64}\u{5b}\u{2e}\u{2e}\u{2e}\u{5d}\u{20}\u{3d}\u{20}\u{32}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{43}\u{27}"}
81AA=nil
81AA=nil
82−local extras = "\78\65\77\69\32\61\32\39\37\115\39\10\82\69\81\85\73\82\69\68\32\61\32\46\46\46\10\114\101\116\117\114\110\32\65\65"
82+local extras = "\u{4e}\u{41}\u{4d}\u{45}\u{20}\u{3d}\u{20}\u{27}\u{25}\u{73}\u{27}\u{a}\u{52}\u{45}\u{51}\u{55}\u{49}\u{52}\u{45}\u{44}\u{20}\u{3d}\u{20}\u{2e}\u{2e}\u{2e}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{41}\u{41}"
83createfiles(files,"",extras)
83createfiles(files,"",extras)
84−assert(package.searchpath("\67\46\108\117\97",D("\63"),"","") == D("\67\46\108\117\97"))
84+assert(package.searchpath("\u{43}\u{2e}\u{6c}\u{75}\u{61}",D("\u{3f}"),"","") == D("\u{43}\u{2e}\u{6c}\u{75}\u{61}"))
85−assert(package.searchpath("\67\46\108\117\97",D("\63"),"\46","\46") == D("\67\46\108\117\97"))
85+assert(package.searchpath("\u{43}\u{2e}\u{6c}\u{75}\u{61}",D("\u{3f}"),"\u{2e}","\u{2e}") == D("\u{43}\u{2e}\u{6c}\u{75}\u{61}"))
86−assert(package.searchpath("\45\45\120\45",D("\63"),"\45","\88") == D("\88\88\120\88"))
86+assert(package.searchpath("\u{2d}\u{2d}\u{78}\u{2d}",D("\u{3f}"),"\u{2d}","\u{58}") == D("\u{58}\u{58}\u{78}\u{58}"))
87−assert(package.searchpath("\45\45\45\120\88",D("\63"),"\45\45\45","\88\88") == D("\88\88\120\88"))
87+assert(package.searchpath("\u{2d}\u{2d}\u{2d}\u{78}\u{58}",D("\u{3f}"),"\u{2d}\u{2d}\u{2d}","\u{58}\u{58}") == D("\u{58}\u{58}\u{78}\u{58}"))
88−assert(package.searchpath(D("\67\46\108\117\97"),"\63",dirsep) == D("\67\46\108\117\97"))
88+assert(package.searchpath(D("\u{43}\u{2e}\u{6c}\u{75}\u{61}"),"\u{3f}",dirsep) == D("\u{43}\u{2e}\u{6c}\u{75}\u{61}"))
89−assert(package.searchpath("\46\92\67\46\108\117\97",D("\63"),"\92") == D("\46\47\67\46\108\117\97"))
89+assert(package.searchpath("\u{2e}\u{5c}\u{43}\u{2e}\u{6c}\u{75}\u{61}",D("\u{3f}"),"\u{5c}") == D("\u{2e}\u{2f}\u{43}\u{2e}\u{6c}\u{75}\u{61}"))
90local oldpath = package.path
90local oldpath = package.path
91−package.path=string.gsub("\68\47\63\46\108\117\97\59\68\47\63\46\108\99\59\68\47\63\59\68\47\63\63\120\63\59\68\47\76","\68\47",DIR)
91+package.path=string.gsub("\u{44}\u{2f}\u{3f}\u{2e}\u{6c}\u{75}\u{61}\u{3b}\u{44}\u{2f}\u{3f}\u{2e}\u{6c}\u{63}\u{3b}\u{44}\u{2f}\u{3f}\u{3b}\u{44}\u{2f}\u{3f}\u{3f}\u{78}\u{3f}\u{3b}\u{44}\u{2f}\u{4c}","\u{44}\u{2f}",DIR)
92local try = function (p,n,r,ext)
92local try = function (p,n,r,ext)
93NAME=nil
93NAME=nil
94local rr,x = require(p)
94local rr,x = require(p)
@@ -97,74 +97,74 @@ assert(REQUIRED == p)
97assert(rr == r)
97assert(rr == r)
98assert(ext == x)
98assert(ext == x)
99end
99end
100−local a = require("\110\97\109\101\115")
100+local a = require("\u{6e}\u{61}\u{6d}\u{65}\u{73}")
101−assert(a[1] == "\110\97\109\101\115" and a[2] == D("\110\97\109\101\115\46\108\117\97"))
101+assert(a[1] == "\u{6e}\u{61}\u{6d}\u{65}\u{73}" and a[2] == D("\u{6e}\u{61}\u{6d}\u{65}\u{73}\u{2e}\u{6c}\u{75}\u{61}"))
102−local st,msg = pcall(require,"\101\114\114")
102+local st,msg = pcall(require,"\u{65}\u{72}\u{72}")
103−assert(not st and string.find(msg,"\97\114\105\116\104\109\101\116\105\99") and B == 15)
103+assert(not st and string.find(msg,"\u{61}\u{72}\u{69}\u{74}\u{68}\u{6d}\u{65}\u{74}\u{69}\u{63}") and B == 15)
104−st,msg=pcall(require,"\115\121\110\101\114\114")
104+st,msg=pcall(require,"\u{73}\u{79}\u{6e}\u{65}\u{72}\u{72}")
105−assert(not st and string.find(msg,"\101\114\114\111\114\32\108\111\97\100\105\110\103\32\109\111\100\117\108\101"))
105+assert(not st and string.find(msg,"\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{6d}\u{6f}\u{64}\u{75}\u{6c}\u{65}"))
106−assert(package.searchpath("\67",package.path) == D("\67\46\108\117\97"))
106+assert(package.searchpath("\u{43}",package.path) == D("\u{43}\u{2e}\u{6c}\u{75}\u{61}"))
107−assert(require("\67") == 25)
107+assert(require("\u{43}") == 25)
108−assert(require("\67") == 25)
108+assert(require("\u{43}") == 25)
109AA=nil
109AA=nil
110−try("\66","\66\46\108\117\97",true,"\108\105\98\115\47\66\46\108\117\97")
110+try("\u{42}","\u{42}\u{2e}\u{6c}\u{75}\u{61}",true,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{42}\u{2e}\u{6c}\u{75}\u{61}")
111assert(package.loaded.B)
111assert(package.loaded.B)
112−assert(require("\66") == true)
112+assert(require("\u{42}") == true)
113assert(package.loaded.A)
113assert(package.loaded.A)
114−assert(require("\67") == 25)
114+assert(require("\u{43}") == 25)
115package.loaded.A=nil
115package.loaded.A=nil
116−try("\66",nil,true,nil)
116+try("\u{42}",nil,true,nil)
117−try("\65","\65\46\108\117\97",true,"\108\105\98\115\47\65\46\108\117\97")
117+try("\u{41}","\u{41}\u{2e}\u{6c}\u{75}\u{61}",true,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{41}\u{2e}\u{6c}\u{75}\u{61}")
118package.loaded.A=nil
118package.loaded.A=nil
119−os.remove(D("\65\46\108\117\97"))
119+os.remove(D("\u{41}\u{2e}\u{6c}\u{75}\u{61}"))
120AA={}
120AA={}
121−try("\65","\65\46\108\99",AA,"\108\105\98\115\47\65\46\108\99")
121+try("\u{41}","\u{41}\u{2e}\u{6c}\u{63}",AA,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{41}\u{2e}\u{6c}\u{63}")
122−assert(package.searchpath("\65",package.path) == D("\65\46\108\99"))
122+assert(package.searchpath("\u{41}",package.path) == D("\u{41}\u{2e}\u{6c}\u{63}"))
123−assert(require("\65") == AA)
123+assert(require("\u{41}") == AA)
124AA=false
124AA=false
125−try("\75","\76",false,"\108\105\98\115\47\76")
125+try("\u{4b}","\u{4c}",false,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{4c}")
126−try("\75","\76",false,"\108\105\98\115\47\76")
126+try("\u{4b}","\u{4c}",false,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{4c}")
127−assert(rawget(_G,"\95\82\69\81\85\73\82\69\68\78\65\77\69") == nil)
127+assert(rawget(_G,"\u{5f}\u{52}\u{45}\u{51}\u{55}\u{49}\u{52}\u{45}\u{44}\u{4e}\u{41}\u{4d}\u{45}") == nil)
128−AA="\120"
128+AA="\u{78}"
129−try("\88","\88\88\120\88",AA,"\108\105\98\115\47\88\88\120\88")
129+try("\u{58}","\u{58}\u{58}\u{78}\u{58}",AA,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{58}\u{58}\u{78}\u{58}")
130removefiles(files)
130removefiles(files)
131NAME,REQUIRED,AA,B=nil
131NAME,REQUIRED,AA,B=nil
132local _G = _G
132local _G = _G
133−package.path=string.gsub("\68\47\63\46\108\117\97\59\68\47\63\47\105\110\105\116\46\108\117\97","\68\47",DIR)
133+package.path=string.gsub("\u{44}\u{2f}\u{3f}\u{2e}\u{6c}\u{75}\u{61}\u{3b}\u{44}\u{2f}\u{3f}\u{2f}\u{69}\u{6e}\u{69}\u{74}\u{2e}\u{6c}\u{75}\u{61}","\u{44}\u{2f}",DIR)
134−files={["\80\49\47\105\110\105\116\46\108\117\97"] = "\65\65\32\61\32\49\48",["\80\49\47\120\117\120\117\46\108\117\97"] = "\65\65\32\61\32\50\48"}
134+files={["\u{50}\u{31}\u{2f}\u{69}\u{6e}\u{69}\u{74}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{41}\u{41}\u{20}\u{3d}\u{20}\u{31}\u{30}",["\u{50}\u{31}\u{2f}\u{78}\u{75}\u{78}\u{75}\u{2e}\u{6c}\u{75}\u{61}"] = "\u{41}\u{41}\u{20}\u{3d}\u{20}\u{32}\u{30}"}
135−createfiles(files,"\95\69\78\86\32\61\32\123\125\10","\10\114\101\116\117\114\110\32\95\69\78\86\10")
135+createfiles(files,"\u{5f}\u{45}\u{4e}\u{56}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{a}","\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{5f}\u{45}\u{4e}\u{56}\u{a}")
136AA=0
136AA=0
137−local m,ext = assert(require("\80\49"))
137+local m,ext = assert(require("\u{50}\u{31}"))
138−assert(ext == "\108\105\98\115\47\80\49\47\105\110\105\116\46\108\117\97")
138+assert(ext == "\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{50}\u{31}\u{2f}\u{69}\u{6e}\u{69}\u{74}\u{2e}\u{6c}\u{75}\u{61}")
139assert(AA == 0 and m.AA == 10)
139assert(AA == 0 and m.AA == 10)
140−assert(require("\80\49") == m)
140+assert(require("\u{50}\u{31}") == m)
141−assert(require("\80\49") == m)
141+assert(require("\u{50}\u{31}") == m)
142−assert(package.searchpath("\80\49\46\120\117\120\117",package.path) == D("\80\49\47\120\117\120\117\46\108\117\97"))
142+assert(package.searchpath("\u{50}\u{31}\u{2e}\u{78}\u{75}\u{78}\u{75}",package.path) == D("\u{50}\u{31}\u{2f}\u{78}\u{75}\u{78}\u{75}\u{2e}\u{6c}\u{75}\u{61}"))
143−m.xuxu,ext=assert(require("\80\49\46\120\117\120\117"))
143+m.xuxu,ext=assert(require("\u{50}\u{31}\u{2e}\u{78}\u{75}\u{78}\u{75}"))
144assert(AA == 0 and m.xuxu.AA == 20)
144assert(AA == 0 and m.xuxu.AA == 20)
145−assert(ext == "\108\105\98\115\47\80\49\47\120\117\120\117\46\108\117\97")
145+assert(ext == "\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{50}\u{31}\u{2f}\u{78}\u{75}\u{78}\u{75}\u{2e}\u{6c}\u{75}\u{61}")
146−assert(require("\80\49\46\120\117\120\117") == m.xuxu)
146+assert(require("\u{50}\u{31}\u{2e}\u{78}\u{75}\u{78}\u{75}") == m.xuxu)
147−assert(require("\80\49\46\120\117\120\117") == m.xuxu)
147+assert(require("\u{50}\u{31}\u{2e}\u{78}\u{75}\u{78}\u{75}") == m.xuxu)
148−assert(require("\80\49") == m and m.AA == 10)
148+assert(require("\u{50}\u{31}") == m and m.AA == 10)
149removefiles(files)
149removefiles(files)
150AA=nil
150AA=nil
151package.path=""
151package.path=""
152−assert(not pcall(require,"\102\105\108\101\95\100\111\101\115\95\110\111\116\95\101\120\105\115\116"))
152+assert(not pcall(require,"\u{66}\u{69}\u{6c}\u{65}\u{5f}\u{64}\u{6f}\u{65}\u{73}\u{5f}\u{6e}\u{6f}\u{74}\u{5f}\u{65}\u{78}\u{69}\u{73}\u{74}"))
153−package.path="\63\63\63"
153+package.path="\u{3f}\u{3f}\u{0}\u{3f}"
154−assert(not pcall(require,"\102\105\108\101\95\100\111\101\115\95\110\111\116\95\101\120\105\115\116\49"))
154+assert(not pcall(require,"\u{66}\u{69}\u{6c}\u{65}\u{5f}\u{64}\u{6f}\u{65}\u{73}\u{5f}\u{6e}\u{6f}\u{74}\u{5f}\u{65}\u{78}\u{69}\u{73}\u{74}\u{31}"))
155package.path=oldpath
155package.path=oldpath
156−local fname = "\102\105\108\101\95\100\111\101\115\95\110\111\116\95\101\120\105\115\116\50"
156+local fname = "\u{66}\u{69}\u{6c}\u{65}\u{5f}\u{64}\u{6f}\u{65}\u{73}\u{5f}\u{6e}\u{6f}\u{74}\u{5f}\u{65}\u{78}\u{69}\u{73}\u{74}\u{32}"
157local m,err = pcall(require,fname)
157local m,err = pcall(require,fname)
158−for t in string.gmatch(package.path .. "\59" .. package.cpath,"\91\94\59\93\43")
158+for t in string.gmatch(package.path .. "\u{3b}" .. package.cpath,"\u{5b}\u{5e}\u{3b}\u{5d}\u{2b}")
159do
159do
160−t=string.gsub(t,"\63",fname)
160+t=string.gsub(t,"\u{3f}",fname)
161assert(string.find(err,t,1,true))
161assert(string.find(err,t,1,true))
162end
162end
163do
163do
164local searchers = package.searchers
164local searchers = package.searchers
165package.searchers=3
165package.searchers=3
166−local st,msg = pcall(require,"\97")
166+local st,msg = pcall(require,"\u{61}")
167−assert(not st and string.find(msg,"\109\117\115\116\32\98\101\32\97\32\116\97\98\108\101"))
167+assert(not st and string.find(msg,"\u{6d}\u{75}\u{73}\u{74}\u{20}\u{62}\u{65}\u{20}\u{61}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}"))
168package.searchers=searchers
168package.searchers=searchers
169end
169end
170local function import
170local function import
@@ -177,35 +177,35 @@ m[f[i]]=_G[f[i]]
177end
177end
178end
178end
179end
179end
180−assert(not pcall(module,"\88\85\88\85"))
180+assert(not pcall(module,"\u{58}\u{55}\u{58}\u{55}"))
181local p = ""
181local p = ""
182−local st,err,when = package.loadlib(DC("\108\105\98\49"),"\42")
182+local st,err,when = package.loadlib(DC("\u{6c}\u{69}\u{62}\u{31}"),"\u{2a}")
183if not st then
183if not st then
184−local f,err,when = package.loadlib("\100\111\110\111\116\101\120\105\115\116",p .. "\120\117\120\117")
184+local 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}")
185−assert(not f and type(err) == "\115\116\114\105\110\103" and when == "\97\98\115\101\110\116")
185+assert(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}")
186;
186;
187−(Message or print)("\10\32\62\62\62\32\99\97\110\110\111\116\32\108\111\97\100\32\100\121\110\97\109\105\99\32\108\105\98\114\97\114\121\32\60\60\60\10")
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}")
188print(err,when)
188print(err,when)
189else
189else
190−local f = assert(package.loadlib(DC("\108\105\98\49"),p .. "\111\110\101\102\117\110\99\116\105\111\110"))
190+local 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}"))
191local a,b = f(15,25)
191local a,b = f(15,25)
192assert(a == 25 and b == 15)
192assert(a == 25 and b == 15)
193−f=assert(package.loadlib(DC("\108\105\98\49"),p .. "\97\110\111\116\104\101\114\102\117\110\99"))
193+f=assert(package.loadlib(DC("\u{6c}\u{69}\u{62}\u{31}"),p .. "\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{66}\u{75}\u{6e}\u{63}"))
194−assert(f(10,20) == "\49\48\37\50\48\10")
194+assert(f(10,20) == "\u{31}\u{30}\u{25}\u{32}\u{30}\u{a}")
195−local f,err,when = package.loadlib(DC("\108\105\98\49"),p .. "\120\117\120\117")
195+local f,err,when = package.loadlib(DC("\u{6c}\u{69}\u{62}\u{31}"),p .. "\u{78}\u{75}\u{78}\u{75}")
196−assert(not f and type(err) == "\115\116\114\105\110\103" and when == "\105\110\105\116")
196+assert(not f and type(err) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and when == "\u{69}\u{6e}\u{69}\u{74}")
197−f,err,when=package.loadlib("\100\111\110\111\116\101\120\105\115\116",p .. "\120\117\120\117")
197+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}")
198−assert(not f and type(err) == "\115\116\114\105\110\103" and when == "\111\112\101\110")
198+assert(not f and type(err) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and when == "\u{6f}\u{70}\u{65}\u{6e}")
199−f=assert(package.loadlib(DC("\108\105\98\49\49"),p .. "\108\117\97\111\112\101\110\95\108\105\98\49\49"))
199+f=assert(package.loadlib(DC("\u{6c}\u{69}\u{62}\u{31}\u{31}"),p .. "\u{6c}\u{75}\u{61}\u{6f}\u{70}\u{65}\u{6e}\u{5f}\u{6c}\u{69}\u{62}\u{31}\u{31}"))
200−assert(f() == "\101\120\112\111\114\116\101\100")
200+assert(f() == "\u{65}\u{78}\u{70}\u{6f}\u{72}\u{74}\u{65}\u{64}")
201−package.cpath=DC("\63")
201+package.cpath=DC("\u{3f}")
202−local lib2,ext = require("\108\105\98\50\45\118\50")
202+local lib2,ext = require("\u{6c}\u{69}\u{62}\u{32}\u{2d}\u{76}\u{32}")
203−assert(string.find(ext,"\108\105\98\115\47\108\105\98\50\45\118\50",1,true))
203+assert(string.find(ext,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{6c}\u{69}\u{62}\u{32}\u{2d}\u{76}\u{32}",1,true))
204−assert(_ENV.x == "\108\105\98\50\45\118\50" and _ENV.y == DC("\108\105\98\50\45\118\50"))
204+assert(_ENV.x == "\u{6c}\u{69}\u{62}\u{32}\u{2d}\u{76}\u{32}" and _ENV.y == DC("\u{6c}\u{69}\u{62}\u{32}\u{2d}\u{76}\u{32}"))
205−assert(lib2.id("\120") == true)
205+assert(lib2.id("\u{78}") == true)
206−local fs,ext = require("\108\105\98\49\46\115\117\98")
206+local fs,ext = require("\u{6c}\u{69}\u{62}\u{31}\u{2e}\u{73}\u{75}\u{62}")
207−assert(_ENV.x == "\108\105\98\49\46\115\117\98" and _ENV.y == DC("\108\105\98\49"))
207+assert(_ENV.x == "\u{6c}\u{69}\u{62}\u{31}\u{2e}\u{73}\u{75}\u{62}" and _ENV.y == DC("\u{6c}\u{69}\u{62}\u{31}"))
208−assert(string.find(ext,"\108\105\98\115\47\108\105\98\49",1,true))
208+assert(string.find(ext,"\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{6c}\u{69}\u{62}\u{31}",1,true))
209assert(fs.id(45) == 45)
209assert(fs.id(45) == 45)
210_ENV.x,_ENV.y=nil
210_ENV.x,_ENV.y=nil
211end
211end
@@ -220,16 +220,16 @@ return x + 20
220end
220end
221return _ENV
221return _ENV
222end
222end
223−local pl,ext = require("\112\108")
223+local pl,ext = require("\u{70}\u{6c}")
224−assert(require("\112\108") == pl)
224+assert(require("\u{70}\u{6c}") == pl)
225assert(pl.xuxu(10) == 30)
225assert(pl.xuxu(10) == 30)
226−assert(pl[1] == "\112\108" and pl[2] == "\58\112\114\101\108\111\97\100\58" and ext == "\58\112\114\101\108\111\97\100\58")
226+assert(pl[1] == "\u{70}\u{6c}" and pl[2] == "\u{3a}\u{70}\u{72}\u{65}\u{6c}\u{6f}\u{61}\u{64}\u{3a}" and ext == "\u{3a}\u{70}\u{72}\u{65}\u{6c}\u{6f}\u{61}\u{64}\u{3a}")
227package=p
227package=p
228−assert(type(package.path) == "\115\116\114\105\110\103")
228+assert(type(package.path) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
229end
229end
230−print("\43")
230+print("\u{2b}")
231end
231end
232−print("\116\101\115\116\105\110\103\32\97\115\115\105\103\110\109\101\110\116\115\44\32\108\111\103\105\99\97\108\32\111\112\101\114\97\116\111\114\115\44\32\97\110\100\32\99\111\110\115\116\114\117\99\116\111\114\115")
232+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{73}\u{73}\u{69}\u{67}\u{6e}\u{6d}\u{65}\u{6e}\u{74}\u{73}\u{2c}\u{20}\u{6c}\u{6f}\u{67}\u{69}\u{63}\u{61}\u{6c}\u{20}\u{6f}\u{70}\u{65}\u{72}\u{61}\u{74}\u{6f}\u{72}\u{73}\u{2c}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{6f}\u{72}\u{73}")
233local res,res2 = 27
233local res,res2 = 27
234local a,b = 1,2 + 3
234local a,b = 1,2 + 3
235assert(a == 1 and b == 5)
235assert(a == 1 and b == 5)
@@ -240,8 +240,8 @@ return 10,11,12
240end
240end
241a.x,b,a[1]=1,2,f()
241a.x,b,a[1]=1,2,f()
242assert(a.x == 1 and b == 2 and a[1] == 10)
242assert(a.x == 1 and b == 2 and a[1] == 10)
243−a[f()],b,a[f() + 3]=f(),a,"\120"
243+a[f()],b,a[f() + 3]=f(),a,"\u{78}"
244−assert(a[10] == 10 and b == a and a[13] == "\120")
244+assert(a[10] == 10 and b == a and a[13] == "\u{78}")
245do
245do
246local f = function (n)
246local f = function (n)
247local x = {}
247local x = {}
@@ -276,7 +276,7 @@ assert((10 and 2) == 2)
276assert((10 or 2) == 10)
276assert((10 or 2) == 10)
277assert((10 or assert(nil)) == 10)
277assert((10 or assert(nil)) == 10)
278assert(not (nil and assert(nil)))
278assert(not (nil and assert(nil)))
279−assert((nil or "\97\108\111") == "\97\108\111")
279+assert((nil or "\u{61}\u{6c}\u{6f}") == "\u{61}\u{6c}\u{6f}")
280assert((nil and 10) == nil)
280assert((nil and 10) == nil)
281assert((false and 10) == false)
281assert((false and 10) == false)
282assert((true or 10) == true)
282assert((true or 10) == true)
@@ -293,9 +293,9 @@ assert(not not (nil and true) == false)
293assert(not 10 == false)
293assert(not 10 == false)
294assert(not {} == false)
294assert(not {} == false)
295assert(not 0.5 == false)
295assert(not 0.5 == false)
296−assert(not "\120" == false)
296+assert(not "\u{78}" == false)
297assert({} ~= {})
297assert({} ~= {})
298−print("\43")
298+print("\u{2b}")
299a={}
299a={}
300a[true]=20
300a[true]=20
301a[false]=10
301a[false]=10
@@ -309,12 +309,12 @@ do
309a[i + 0.0]=i
309a[i + 0.0]=i
310;
310;
311end
311end
312−a[1e31]="\97\108\111"
312+a[1e31]="\u{61}\u{6c}\u{6f}"
313;
313;
314a[true]=10
314a[true]=10
315;
315;
316a[false]=20
316a[false]=20
317−assert(a[1e31] == "\97\108\111" and a[not 1] == 20 and a[10 < 20] == 10)
317+assert(a[1e31] == "\u{61}\u{6c}\u{6f}" and a[not 1] == 20 and a[10 < 20] == 10)
318for i = 3000, - 3000, - 1
318for i = 3000, - 3000, - 1
319do
319do
320assert(a[i] == i)
320assert(a[i] == i)
@@ -336,10 +336,10 @@ end))
336assert(a[nil] == undef)
336assert(a[nil] == undef)
337a=nil
337a=nil
338local a,b,c
338local a,b,c
339−a={10,9,8,7,6,5,4,3,2,[- 3] = "\97",[f] = print,["\97"] = "\97",["\98"] = "\97\98"}
339+a={10,9,8,7,6,5,4,3,2,[- 3] = "\u{61}",[f] = print,["\u{61}"] = "\u{61}",["\u{62}"] = "\u{61}\u{62}"}
340a,a.x,a.y=a,a[- 3]
340a,a.x,a.y=a,a[- 3]
341−assert(a[1] == 10 and a[- 3] == a.a and a[f] == print and a.x == "\97" and not a.y)
341+assert(a[1] == 10 and a[- 3] == a.a and a[f] == print and a.x == "\u{61}" and not a.y)
342−a[1],f(a)[2],b,c={["\97\108\111"] = assert},10,a[1],a[f],6,10,23,f(a),2
342+a[1],f(a)[2],b,c={["\u{61}\u{6c}\u{6f}"] = assert},10,a[1],a[f],6,10,23,f(a),2
343a[1].alo(a[2] == 10 and b == 10 and c == print)
343a[1].alo(a[2] == 10 and b == 10 and c == print)
344a.aVeryLongName012345678901234567890123456789012345678901234567890123456789=10
344a.aVeryLongName012345678901234567890123456789012345678901234567890123456789=10
345local function foo
345local function foo
@@ -351,17 +351,17 @@ do
351local function foo
351local function foo
352()
352()
353local _ENV <const> = 11
353local _ENV <const> = 11
354−X="\104\105"
354+X="\u{68}\u{69}"
355end
355end
356local st,msg = pcall(foo)
356local st,msg = pcall(foo)
357−assert(not st and string.find(msg,"\110\117\109\98\101\114"))
357+assert(not st and string.find(msg,"\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}"))
358end
358end
359local maxint = math.maxinteger
359local maxint = math.maxinteger
360while maxint ~= (maxint + 0.0) or (maxint - 1) ~= (maxint - 1.0) do
360while maxint ~= (maxint + 0.0) or (maxint - 1) ~= (maxint - 1.0) do
361maxint=maxint // 2
361maxint=maxint // 2
362end
362end
363local maxintF = maxint + 0.0
363local maxintF = maxint + 0.0
364−assert(maxintF == maxint and math.type(maxintF) == "\102\108\111\97\116" and maxintF >= 2.0 ^ 14)
364+assert(maxintF == maxint and math.type(maxintF) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}" and maxintF >= 2.0 ^ 14)
365a[maxintF]=10
365a[maxintF]=10
366;
366;
367a[maxintF - 1.0]=11
367a[maxintF - 1.0]=11
@@ -377,7 +377,7 @@ assert(a[maxintF] == 20 and a[maxintF - 1.0] == 11 and a[- maxintF] == 22 and a[
377a=nil
377a=nil
378do
378do
379local a,i,j,b
379local a,i,j,b
380−a={"\97","\98"}
380+a={"\u{61}","\u{62}"}
381;
381;
382i=1
382i=1
383;
383;
@@ -396,7 +396,7 @@ assert(a == 20 and b.x == 10)
396end
396end
397do
397do
398local a,i,j,b
398local a,i,j,b
399−a={"\97","\98"}
399+a={"\u{61}","\u{62}"}
400;
400;
401i=1
401i=1
402;
402;
@@ -427,5 +427,5 @@ end
427end
427end
428local a,b = foo()()
428local a,b = foo()()
429assert(a == 3 and b == 14)
429assert(a == 3 and b == 14)
430−print("\79\75")
430+print("\u{4f}\u{4b}")
431return res
431return res
zod/luau/res/lua/cycled/big.lua+27−27
@@ -1,20 +1,20 @@
1if _soft then
1if _soft then
2−return "\97"
2+return "\u{61}"
3end
3end
4−print("\116\101\115\116\105\110\103\32\108\97\114\103\101\32\116\97\98\108\101\115")
4+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}\u{65}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}")
5−local debug = require("\100\101\98\117\103")
5+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
6local lim = 2 ^ 18 + 1000
6local lim = 2 ^ 18 + 1000
7−local prog = {"\108\111\99\97\108\32\121\32\61\32\123\48"}
7+local prog = {"\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{79}\u{20}\u{3d}\u{20}\u{7b}\u{30}"}
8for i = 1, lim
8for i = 1, lim
9do
9do
10prog[# prog + 1]=i
10prog[# prog + 1]=i
11end
11end
12−prog[# prog + 1]="\125\10"
12+prog[# prog + 1]="\u{7d}\u{a}"
13−prog[# prog + 1]="\88\32\61\32\121\10"
13+prog[# prog + 1]="\u{58}\u{20}\u{3d}\u{20}\u{79}\u{a}"
14−prog[# prog + 1]=("\97\115\115\101\114\116\40\88\91\37\100\93\32\61\61\32\37\100\41"):format(lim - 1,lim - 2)
14+prog[# prog + 1]=("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{58}\u{5b}\u{25}\u{64}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{25}\u{64}\u{29}"):format(lim - 1,lim - 2)
15−prog[# prog + 1]="\114\101\116\117\114\110\32\48"
15+prog[# prog + 1]="\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{30}"
16−prog=table.concat(prog,"\59")
16+prog=table.concat(prog,"\u{3b}")
17−local env = {["\115\116\114\105\110\103"] = string,["\97\115\115\101\114\116"] = assert}
17+local env = {["\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"] = string,["\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}"] = assert}
18local f = assert(load(prog,nil,nil,env))
18local f = assert(load(prog,nil,nil,env))
19f()
19f()
20assert(env.X[lim] == lim - 1 and env.X[lim + 1] == lim)
20assert(env.X[lim] == lim - 1 and env.X[lim + 1] == lim)
@@ -22,20 +22,20 @@ for k in pairs(env)
22do
22do
23env[k]=undef
23env[k]=undef
24end
24end
25−setmetatable(env,{["\95\95\105\110\100\101\120"] = function (t,n)
25+setmetatable(env,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,n)
26−coroutine.yield("\103")
26+coroutine.yield("\u{67}")
27;
27;
28return _G[n]
28return _G[n]
29−end,["\95\95\110\101\119\105\110\100\101\120"] = function (t,n,v)
29+end,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,n,v)
30−coroutine.yield("\115")
30+coroutine.yield("\u{73}")
31;
31;
32_G[n]=v
32_G[n]=v
33end})
33end})
34X=nil
34X=nil
35local co = coroutine.wrap(f)
35local co = coroutine.wrap(f)
36−assert(co() == "\115")
36+assert(co() == "\u{73}")
37−assert(co() == "\103")
37+assert(co() == "\u{67}")
38−assert(co() == "\103")
38+assert(co() == "\u{67}")
39assert(co() == 0)
39assert(co() == 0)
40assert(X[lim] == lim - 1 and X[lim + 1] == lim)
40assert(X[lim] == lim - 1 and X[lim + 1] == lim)
41getmetatable(env).__index=function ()
41getmetatable(env).__index=function ()
@@ -45,23 +45,23 @@ getmetatable(env).__newindex=function ()
45
45
46end
46end
47local e,m = pcall(f)
47local e,m = pcall(f)
48−assert(not e and m:find("\103\108\111\98\97\108\32\39\88\39"))
48+assert(not e and m:find("\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{58}\u{27}"))
49getmetatable(env).__newindex=function ()
49getmetatable(env).__newindex=function ()
50−error("\104\105")
50+error("\u{68}\u{69}")
51end
51end
52local e,m = xpcall(f,debug.traceback)
52local e,m = xpcall(f,debug.traceback)
53−assert(not e and m:find("\39\110\101\119\105\110\100\101\120\39"))
53+assert(not e and m:find("\u{27}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{27}"))
54f,X=nil
54f,X=nil
55−coroutine.yield("\98")
55+coroutine.yield("\u{62}")
56if 2 ^ 32 == 0 then
56if 2 ^ 32 == 0 then
57−print("\116\101\115\116\105\110\103\32\115\116\114\105\110\103\32\108\101\110\103\116\104\32\111\118\101\114\102\108\111\119")
57+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\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}")
58local repstrings = 192
58local repstrings = 192
59local ssize = math.ceil(2.0 ^ 32 / repstrings) + 1
59local ssize = math.ceil(2.0 ^ 32 / repstrings) + 1
60assert(repstrings * ssize > 2.0 ^ 32)
60assert(repstrings * ssize > 2.0 ^ 32)
61−local longs = string.rep("",ssize)
61+local longs = string.rep("\u{0}",ssize)
62−local rep = assert(load("\108\111\99\97\108\32\97\32\61\32\46\46\46\59\32\114\101\116\117\114\110\32" .. string.rep("\97",repstrings,"\46\46")))
62+local rep = assert(load("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{2e}\u{2e}\u{2e}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. string.rep("\u{61}",repstrings,"\u{2e}\u{2e}")))
63local a,b = pcall(rep,longs)
63local a,b = pcall(rep,longs)
64−assert(not a and string.find(b,"\111\118\101\114\102\108\111\119"))
64+assert(not a and string.find(b,"\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
65end
65end
66−print("\79\75")
66+print("\u{4f}\u{4b}")
67−return "\97"
67+return "\u{61}"
zod/luau/res/lua/cycled/bitwise.lua+35−35
@@ -1,6 +1,6 @@
1−print("\116\101\115\116\105\110\103\32\98\105\116\119\105\115\101\32\111\112\101\114\97\116\105\111\110\115")
1+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}\u{69}\u{73}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{73}")
2−require("\98\119\99\111\101\114\99\105\111\110")
2+require("\u{62}\u{77}\u{63}\u{6f}\u{65}\u{72}\u{63}\u{69}\u{6f}\u{6e}")
3−local numbits = string.packsize("\106") * 8
3+local numbits = string.packsize("\u{6a}") * 8
4assert(~ 0 == - 1)
4assert(~ 0 == - 1)
5assert((1 << (numbits - 1)) == math.mininteger)
5assert((1 << (numbits - 1)) == math.mininteger)
6local a,b,c,d
6local a,b,c,d
@@ -22,9 +22,9 @@ a=240.0
22;
22;
23b=204.0
23b=204.0
24;
24;
25−c="\48\120\65\65\46\48"
25+c="\u{30}\u{78}\u{41}\u{41}\u{2e}\u{30}"
26;
26;
27−d="\48\120\70\68\46\48"
27+d="\u{30}\u{78}\u{46}\u{44}\u{2e}\u{30}"
28assert(a | b ~ c & d == 244)
28assert(a | b ~ c & d == 244)
29a=4026531840
29a=4026531840
30;
30;
@@ -42,13 +42,13 @@ d=d << 32
42assert(a | b ~ c & d == 4093640704 << 32)
42assert(a | b ~ c & d == 4093640704 << 32)
43assert(~ ~ a == a and ~ a == - 1 ~ a and - d == ~ d + 1)
43assert(~ ~ a == a and ~ a == - 1 ~ a and - d == ~ d + 1)
44do
44do
45−local code = string.format("\114\101\116\117\114\110\32\45\49\32\62\62\32\37\100",math.maxinteger)
45+local code = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2d}\u{31}\u{20}\u{3e}\u{3e}\u{20}\u{25}\u{64}",math.maxinteger)
46assert(load(code)() == 0)
46assert(load(code)() == 0)
47−local code = string.format("\114\101\116\117\114\110\32\45\49\32\62\62\32\37\100",math.mininteger)
47+local code = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2d}\u{31}\u{20}\u{3e}\u{3e}\u{20}\u{25}\u{64}",math.mininteger)
48assert(load(code)() == 0)
48assert(load(code)() == 0)
49−local code = string.format("\114\101\116\117\114\110\32\45\49\32\60\60\32\37\100",math.maxinteger)
49+local 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.maxinteger)
50assert(load(code)() == 0)
50assert(load(code)() == 0)
51−local code = string.format("\114\101\116\117\114\110\32\45\49\32\60\60\32\37\100",math.mininteger)
51+local 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)
52assert(load(code)() == 0)
52assert(load(code)() == 0)
53end
53end
54assert(- 1 >> 1 == (1 << (numbits - 1)) - 1 and 1 << 31 == 2147483648)
54assert(- 1 >> 1 == (1 << (numbits - 1)) - 1 and 1 << 31 == 2147483648)
@@ -61,33 +61,33 @@ assert(1 << math.maxinteger == 0)
61assert((2 ^ 30 - 1) << 2 ^ 30 == 0)
61assert((2 ^ 30 - 1) << 2 ^ 30 == 0)
62assert((2 ^ 30 - 1) >> 2 ^ 30 == 0)
62assert((2 ^ 30 - 1) >> 2 ^ 30 == 0)
63assert(1 >> - 3 == 1 << 3 and 1000 >> 5 == 1000 << - 5)
63assert(1 >> - 3 == 1 << 3 and 1000 >> 5 == 1000 << - 5)
64−assert("\48\120\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102" | 0 == - 1)
64+assert("\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}" | 0 == - 1)
65−assert("\48\120\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\101" & "\45\49" == - 2)
65+assert("\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}" == - 2)
66−assert("\32\9\45\48\120\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\101\10\9" & "\45\49" == 2)
66+assert("\u{20}\u{9}\u{2d}\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{a}\u{9}" & "\u{2d}\u{31}" == 2)
67−assert("\32\32\32\10\32\32\45\52\53\32\32\9\32" >> "\32\32\45\50\32\32" == - 45 * 4)
67+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}\u{20}" >> "\u{20}\u{20}\u{2d}\u{32}\u{20}\u{20}" == - 45 * 4)
68−assert("\49\50\51\52\46\48" << "\53\46\48" == 1234 * 32)
68+assert("\u{31}\u{32}\u{33}\u{34}\u{2e}\u{30}" << "\u{35}\u{2e}\u{30}" == 1234 * 32)
69−assert("\48\120\102\102\102\102\46\48" ~ "\48\120\65\65\65\65" == 21845)
69+assert("\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}" == 21845)
70−assert(~ "\48\120\48\46\48\48\48\112\52" == - 1)
70+assert(~ "\u{30}\u{78}\u{30}\u{2e}\u{30}\u{30}\u{30}\u{70}\u{34}" == - 1)
71−assert(("\55" .. 3) << 1 == 146)
71+assert(("\u{37}" .. 3) << 1 == 146)
72−assert(4294967295 >> (1 .. "\57") == 8191)
72+assert(4294967295 >> (1 .. "\u{39}") == 8191)
73−assert(10 | (1 .. "\57") == 27)
73+assert(10 | (1 .. "\u{39}") == 27)
74do
74do
75local st,msg = pcall(function ()
75local st,msg = pcall(function ()
76−return 4 & "\97"
76+return 4 & "\u{61}"
77end)
77end)
78−assert(string.find(msg,"\39\98\97\110\100\39"))
78+assert(string.find(msg,"\u{27}\u{62}\u{61}\u{6e}\u{64}\u{27}"))
79local st,msg = pcall(function ()
79local st,msg = pcall(function ()
80−return ~ "\97"
80+return ~ "\u{61}"
81end)
81end)
82−assert(string.find(msg,"\39\98\110\111\116\39"))
82+assert(string.find(msg,"\u{27}\u{62}\u{6e}\u{6f}\u{74}\u{27}"))
83end
83end
84assert(not pcall(function ()
84assert(not pcall(function ()
85−return "\48\120\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\46\48" | 0
85+return "\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}\u{2e}\u{30}" | 0
86end))
86end))
87assert(not pcall(function ()
87assert(not pcall(function ()
88−return "\48\120\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102" | 0
88+return "\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}\u{0}" | 0
89end))
89end))
90−print("\43")
90+print("\u{2b}")
91package.preload.bit32=function ()
91package.preload.bit32=function ()
92local bit = {}
92local bit = {}
93function bit.bnot(a)
93function bit.bnot(a)
@@ -161,9 +161,9 @@ end
161local function checkfield
161local function checkfield
162(f,w)
162(f,w)
163w=w or 1
163w=w or 1
164−assert(f >= 0,"\102\105\101\108\100\32\99\97\110\110\111\116\32\98\101\32\110\101\103\97\116\105\118\101")
164+assert(f >= 0,"\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{6e}\u{65}\u{67}\u{61}\u{74}\u{69}\u{76}\u{65}")
165−assert(w > 0,"\119\105\100\116\104\32\109\117\115\116\32\98\101\32\112\111\115\105\116\105\118\101")
165+assert(w > 0,"\u{77}\u{69}\u{64}\u{74}\u{68}\u{20}\u{6d}\u{75}\u{73}\u{74}\u{20}\u{62}\u{65}\u{20}\u{70}\u{6f}\u{73}\u{69}\u{74}\u{69}\u{76}\u{65}")
166−assert(f + w <= 32,"\116\114\121\105\110\103\32\116\111\32\97\99\99\101\115\115\32\110\111\110\45\101\120\105\115\116\101\110\116\32\98\105\116\115")
166+assert(f + w <= 32,"\u{74}\u{72}\u{79}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{6f}\u{20}\u{61}\u{63}\u{63}\u{65}\u{73}\u{73}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}\u{6e}\u{74}\u{20}\u{62}\u{69}\u{74}\u{73}")
167return f,~ (- 1 << w)
167return f,~ (- 1 << w)
168end
168end
169function bit.extract(a,f,w)
169function bit.extract(a,f,w)
@@ -178,8 +178,8 @@ return a & 4294967295
178end
178end
179return bit
179return bit
180end
180end
181−print("\116\101\115\116\105\110\103\32\98\105\116\119\105\115\101\32\108\105\98\114\97\114\121")
181+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}\u{69}\u{73}\u{65}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}")
182−local bit32 = require("\98\105\116\51\50")
182+local bit32 = require("\u{62}\u{69}\u{74}\u{33}\u{32}")
183assert(bit32.band() == bit32.bnot(0))
183assert(bit32.band() == bit32.bnot(0))
184assert(bit32.btest() == true)
184assert(bit32.btest() == true)
185assert(bit32.bor() == 0)
185assert(bit32.bor() == 0)
@@ -236,7 +236,7 @@ assert(305419896 >> 4 == 19088743)
236assert(305419896 >> 8 == 1193046)
236assert(305419896 >> 8 == 1193046)
237assert(305419896 >> 32 == 0)
237assert(305419896 >> 32 == 0)
238assert(305419896 >> - 32 == 1311768464867721216)
238assert(305419896 >> - 32 == 1311768464867721216)
239−print("\43")
239+print("\u{2b}")
240local c = {0,1,2,3,10,2147483648,2863311530,1431655765,4294967295,2147483647}
240local c = {0,1,2,3,10,2147483648,2863311530,1431655765,4294967295,2147483647}
241for _,b in pairs(c)
241for _,b in pairs(c)
242do
242do
@@ -277,11 +277,11 @@ assert(math.fmod(x - y,2.0 ^ 32) == 0)
277end
277end
278end
278end
279assert(not pcall(bit32.band,{}))
279assert(not pcall(bit32.band,{}))
280−assert(not pcall(bit32.bnot,"\97"))
280+assert(not pcall(bit32.bnot,"\u{61}"))
281assert(not pcall(bit32.lshift,45))
281assert(not pcall(bit32.lshift,45))
282assert(not pcall(bit32.lshift,45,print))
282assert(not pcall(bit32.lshift,45,print))
283assert(not pcall(bit32.rshift,45,print))
283assert(not pcall(bit32.rshift,45,print))
284−print("\43")
284+print("\u{2b}")
285assert(bit32.extract(305419896,0,4) == 8)
285assert(bit32.extract(305419896,0,4) == 8)
286assert(bit32.extract(305419896,4,4) == 7)
286assert(bit32.extract(305419896,4,4) == 7)
287assert(bit32.extract(2684358929,28,4) == 10)
287assert(bit32.extract(2684358929,28,4) == 10)
@@ -306,4 +306,4 @@ assert(bit32.bor(- 2.0 ^ 32 - 6.0) == 4294967290)
306assert(bit32.bor(2.0 ^ 48 - 5.0) == 4294967291)
306assert(bit32.bor(2.0 ^ 48 - 5.0) == 4294967291)
307assert(bit32.bor(- 2.0 ^ 48 - 6.0) == 4294967290)
307assert(bit32.bor(- 2.0 ^ 48 - 6.0) == 4294967290)
308end
308end
309−print("\79\75")
309+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/bwcoercion.lua+8−8
@@ -13,14 +13,14 @@ return tointeger(x)
13end
13end
14local function trymt
14local function trymt
15(x,y,mtname)
15(x,y,mtname)
16−if type(y) ~= "\115\116\114\105\110\103" then
16+if type(y) ~= "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" then
17local mt = getmetatable(y)
17local mt = getmetatable(y)
18local mm = mt and rawget(mt,mtname)
18local mm = mt and rawget(mt,mtname)
19if mm then
19if mm then
20return mm(x,y)
20return mm(x,y)
21end
21end
22end
22end
23−error("\97\116\116\101\109\112\116\32\116\111\32\39" .. strsub(mtname,3) .. "\39\32\97\32" .. type(x) .. "\32\119\105\116\104\32\97\32" .. type(y),4)
23+error("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{27}" .. strsub(mtname,3) .. "\u{27}\u{20}\u{61}\u{20}" .. type(x) .. "\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{61}\u{20}" .. type(y),4)
24end
24end
25local function checkargs
25local function checkargs
26(x,y,mtname)
26(x,y,mtname)
@@ -34,26 +34,26 @@ end
34end
34end
35local smt = getmetatable("")
35local smt = getmetatable("")
36smt.__band=function (x,y)
36smt.__band=function (x,y)
37−local x,y = checkargs(x,y,"\95\95\98\97\110\100")
37+local x,y = checkargs(x,y,"\u{5f}\u{5f}\u{62}\u{61}\u{6e}\u{64}")
38return y and x & y or x
38return y and x & y or x
39end
39end
40smt.__bor=function (x,y)
40smt.__bor=function (x,y)
41−local x,y = checkargs(x,y,"\95\95\98\111\114")
41+local x,y = checkargs(x,y,"\u{5f}\u{5f}\u{62}\u{6f}\u{72}")
42return y and x | y or x
42return y and x | y or x
43end
43end
44smt.__bxor=function (x,y)
44smt.__bxor=function (x,y)
45−local x,y = checkargs(x,y,"\95\95\98\120\111\114")
45+local x,y = checkargs(x,y,"\u{5f}\u{5f}\u{62}\u{78}\u{6f}\u{72}")
46return y and x ~ y or x
46return y and x ~ y or x
47end
47end
48smt.__shl=function (x,y)
48smt.__shl=function (x,y)
49−local x,y = checkargs(x,y,"\95\95\115\104\108")
49+local x,y = checkargs(x,y,"\u{5f}\u{5f}\u{73}\u{68}\u{6c}")
50return y and x << y or x
50return y and x << y or x
51end
51end
52smt.__shr=function (x,y)
52smt.__shr=function (x,y)
53−local x,y = checkargs(x,y,"\95\95\115\104\114")
53+local x,y = checkargs(x,y,"\u{5f}\u{5f}\u{73}\u{68}\u{72}")
54return y and x >> y or x
54return y and x >> y or x
55end
55end
56smt.__bnot=function (x)
56smt.__bnot=function (x)
57−local x,y = checkargs(x,x,"\95\95\98\110\111\116")
57+local x,y = checkargs(x,x,"\u{5f}\u{5f}\u{62}\u{6e}\u{6f}\u{74}")
58return y and ~ x or x
58return y and ~ x or x
59end
59end
zod/luau/res/lua/cycled/calls.lua+83−83
@@ -1,14 +1,14 @@
1−print("\116\101\115\116\105\110\103\32\102\117\110\99\116\105\111\110\115\32\97\110\100\32\99\97\108\108\115")
1+print("\u{74}\u{65}\u{73}\u{74}\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{73}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3−assert(type(1 < 2) == "\98\111\111\108\101\97\110")
3+assert(type(1 < 2) == "\u{62}\u{6f}\u{6f}\u{6c}\u{65}\u{61}\u{6e}")
4−assert(type(true) == "\98\111\111\108\101\97\110" and type(false) == "\98\111\111\108\101\97\110")
4+assert(type(true) == "\u{62}\u{6f}\u{6f}\u{6c}\u{65}\u{61}\u{6e}" and type(false) == "\u{62}\u{6f}\u{6f}\u{6c}\u{65}\u{61}\u{6e}")
5−assert(type(nil) == "\110\105\108" and type(- 3) == "\110\117\109\98\101\114" and type("\120") == "\115\116\114\105\110\103" and type({}) == "\116\97\98\108\101" and type(type) == "\102\117\110\99\116\105\111\110")
5+assert(type(nil) == "\u{6e}\u{69}\u{6c}" and type(- 3) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" and type("\u{78}") == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type({}) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and type(type) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
6assert(type(assert) == type(print))
6assert(type(assert) == type(print))
7local function f
7local function f
8(x)
8(x)
9return a:x(x)
9return a:x(x)
10end
10end
11−assert(type(f) == "\102\117\110\99\116\105\111\110")
11+assert(type(f) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
12assert(not pcall(type))
12assert(not pcall(type))
13fact=false
13fact=false
14do
14do
@@ -25,7 +25,7 @@ assert(fact(5) == 120)
25end
25end
26assert(fact == false)
26assert(fact == false)
27fact=nil
27fact=nil
28−local a = {["\105"] = 10}
28+local a = {["\u{69}"] = 10}
29local self = 20
29local self = 20
30function a:x(x)
30function a:x(x)
31return x + self.i
31return x + self.i
@@ -34,13 +34,13 @@ function a.y(x)
34return x + self
34return x + self
35end
35end
36assert(a:x(1) + 10 == a.y(1))
36assert(a:x(1) + 10 == a.y(1))
37−a.t={["\105"] = - 100}
37+a.t={["\u{69}"] = - 100}
38−a["\116"].x=function (self,a,b)
38+a["\u{74}"].x=function (self,a,b)
39return self.i + a + b
39return self.i + a + b
40end
40end
41assert(a.t:x(2,3) == - 95)
41assert(a.t:x(2,3) == - 95)
42do
42do
43−local a = {["\120"] = 0}
43+local a = {["\u{78}"] = 0}
44function a:add(x)
44function a:add(x)
45self.x,a.y=self.x + x,20
45self.x,a.y=self.x + x,20
46;
46;
@@ -48,7 +48,7 @@ return self
48end
48end
49assert(a:add(10):add(20):add(30).x == 60 and a.y == 20)
49assert(a:add(10):add(20):add(30).x == 60 and a.y == 20)
50end
50end
51−local a = {["\98"] = {["\99"] = {}}}
51+local a = {["\u{62}"] = {["\u{63}"] = {}}}
52function a.b.c.f1(x)
52function a.b.c.f1(x)
53return x + 1
53return x + 1
54end
54end
@@ -56,34 +56,34 @@ function a.b.c:f2(x,y)
56self[x]=y
56self[x]=y
57end
57end
58assert(a.b.c.f1(4) == 5)
58assert(a.b.c.f1(4) == 5)
59−a.b.c:f2("\107",12)
59+a.b.c:f2("\u{6b}",12)
60;
60;
61assert(a.b.c.k == 12)
61assert(a.b.c.k == 12)
62−print("\43")
62+print("\u{2b}")
63t=nil
63t=nil
64function f(a,b,c)
64function f(a,b,c)
65−local d = "\97"
65+local d = "\u{61}"
66;
66;
67t={a,b,c,d}
67t={a,b,c,d}
68end
68end
69f(1,2)
69f(1,2)
70−assert(t[1] == 1 and t[2] == 2 and t[3] == nil and t[4] == "\97")
70+assert(t[1] == 1 and t[2] == 2 and t[3] == nil and t[4] == "\u{61}")
71f(1,2,3,4)
71f(1,2,3,4)
72−assert(t[1] == 1 and t[2] == 2 and t[3] == 3 and t[4] == "\97")
72+assert(t[1] == 1 and t[2] == 2 and t[3] == 3 and t[4] == "\u{61}")
73t=nil
73t=nil
74function fat(x)
74function fat(x)
75if x <= 1 then
75if x <= 1 then
76return 1
76return 1
77else
77else
78−return x * load("\114\101\116\117\114\110\32\102\97\116\40" .. x - 1 .. "\41","")()
78+return x * load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{61}\u{74}\u{28}" .. x - 1 .. "\u{29}","")()
79end
79end
80end
80end
81−assert(load("\108\111\97\100\32\39\97\115\115\101\114\116\40\102\97\116\40\54\41\61\61\55\50\48\41\39\32\40\41\32"))()
81+assert(load("\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{27}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{66}\u{61}\u{74}\u{28}\u{36}\u{29}\u{3d}\u{3d}\u{37}\u{32}\u{30}\u{29}\u{27}\u{20}\u{28}\u{29}\u{20}"))()
82−a=load("\114\101\116\117\114\110\32\102\97\116\40\53\41\44\32\51")
82+a=load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{61}\u{74}\u{28}\u{35}\u{29}\u{2c}\u{20}\u{33}")
83local a,b = a()
83local a,b = a()
84assert(a == 120 and b == 3)
84assert(a == 120 and b == 3)
85fat=nil
85fat=nil
86−print("\43")
86+print("\u{2b}")
87local function err_on_n
87local function err_on_n
88(n)
88(n)
89if n == 0 then
89if n == 0 then
@@ -116,7 +116,7 @@ end
116end
116end
117deep(10)
117deep(10)
118deep(180)
118deep(180)
119−print("\116\101\115\116\105\110\103\32\116\97\105\108\32\99\97\108\108\115")
119+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}")
120function deep(n)
120function deep(n)
121if n > 0 then
121if n > 0 then
122return deep(n - 1)
122return deep(n - 1)
@@ -147,7 +147,7 @@ return foo(10,x,x + 1)
147end
147end
148local a,b,c = foo1(- 2)
148local a,b,c = foo1(- 2)
149assert(a == 10 and b == - 2 and c == - 1)
149assert(a == 10 and b == - 2 and c == - 1)
150−local t = setmetatable({},{["\95\95\99\97\108\108"] = foo})
150+local t = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{61}\u{6c}\u{6c}"] = foo})
151local function foo2
151local function foo2
152(x)
152(x)
153return t(10,x)
153return t(10,x)
@@ -186,7 +186,7 @@ local function loop
186assert(pcall(loop))
186assert(pcall(loop))
187end
187end
188local err,msg = xpcall(loop,loop)
188local err,msg = xpcall(loop,loop)
189−assert(not err and string.find(msg,"\101\114\114\111\114"))
189+assert(not err and string.find(msg,"\u{65}\u{72}\u{72}\u{6f}\u{72}"))
190end
190end
191do
191do
192local n = 10000
192local n = 10000
@@ -202,27 +202,27 @@ end
202end
202end
203for i = 1, 100
203for i = 1, 100
204do
204do
205−foo=setmetatable({},{["\95\95\99\97\108\108"] = foo})
205+foo=setmetatable({},{["\u{5f}\u{5f}\u{63}\u{61}\u{6c}\u{6c}"] = foo})
206end
206end
207assert(coroutine.wrap(function ()
207assert(coroutine.wrap(function ()
208return foo()
208return foo()
209end)() == 1023)
209end)() == 1023)
210end
210end
211−print("\43")
211+print("\u{2b}")
212do
212do
213local N = 20
213local N = 20
214local u = table.pack
214local u = table.pack
215for i = 1, N
215for i = 1, N
216do
216do
217−u=setmetatable({i},{["\95\95\99\97\108\108"] = u})
217+u=setmetatable({i},{["\u{5f}\u{5f}\u{63}\u{61}\u{6c}\u{6c}"] = u})
218end
218end
219−local Res = u("\97","\98","\99")
219+local Res = u("\u{61}","\u{62}","\u{63}")
220assert(Res.n == N + 3)
220assert(Res.n == N + 3)
221for i = 1, N
221for i = 1, N
222do
222do
223assert(Res[i][1] == i)
223assert(Res[i][1] == i)
224end
224end
225−assert(Res[N + 1] == "\97" and Res[N + 2] == "\98" and Res[N + 3] == "\99")
225+assert(Res[N + 1] == "\u{61}" and Res[N + 2] == "\u{62}" and Res[N + 3] == "\u{63}")
226end
226end
227a=nil
227a=nil
228(function (x)
228(function (x)
@@ -263,7 +263,7 @@ return f(z,z + 1,z + 2,z + 3)
263end
263end
264local f = g(10)
264local f = g(10)
265assert(f(9,16) == 10 + 11 + 12 + 13 + 10 + 9 + 16 + 10)
265assert(f(9,16) == 10 + 11 + 12 + 13 + 10 + 9 + 16 + 10)
266−print("\43")
266+print("\u{2b}")
267local function unlpack
267local function unlpack
268(t,i)
268(t,i)
269i=i or 1
269i=i or 1
@@ -292,7 +292,7 @@ return a,b
292end
292end
293local a,b,c,d = unlpack({1,2,3})
293local a,b,c,d = unlpack({1,2,3})
294assert(a == 1 and b == 2 and c == 3 and d == nil)
294assert(a == 1 and b == 2 and c == 3 and d == nil)
295−a={1,2,3,4,false,10,"\97\108\111",false,assert}
295+a={1,2,3,4,false,10,"\u{61}\u{6c}\u{6f}",false,assert}
296equaltab(pack(unlpack(a)),a)
296equaltab(pack(unlpack(a)),a)
297equaltab(pack(unlpack(a),- 1),{1,- 1})
297equaltab(pack(unlpack(a),- 1),{1,- 1})
298a,b,c,d=ret2(f()),ret2(f())
298a,b,c,d=ret2(f()),ret2(f())
@@ -301,15 +301,15 @@ a,b,c,d=unlpack(pack(ret2(f()),ret2(f())))
301assert(a == 1 and b == 1 and c == 2 and d == nil)
301assert(a == 1 and b == 1 and c == 2 and d == nil)
302a,b,c,d=unlpack(pack(ret2(f()),(ret2(f()))))
302a,b,c,d=unlpack(pack(ret2(f()),(ret2(f()))))
303assert(a == 1 and b == 1 and c == nil and d == nil)
303assert(a == 1 and b == 1 and c == nil and d == nil)
304−a=ret2({unlpack({1,2,3}),unlpack({3,2,1}),unlpack({"\97","\98"})})
304+a=ret2({unlpack({1,2,3}),unlpack({3,2,1}),unlpack({"\u{61}","\u{62}"})})
305−assert(a[1] == 1 and a[2] == 3 and a[3] == "\97" and a[4] == "\98")
305+assert(a[1] == 1 and a[2] == 3 and a[3] == "\u{61}" and a[4] == "\u{62}")
306−rawget({},"\120",1)
306+rawget({},"\u{78}",1)
307−rawset({},"\120",1,2)
307+rawset({},"\u{78}",1,2)
308assert(math.sin(1,2) == math.sin(1))
308assert(math.sin(1,2) == math.sin(1))
309table.sort({10,9,8,4,19,23,0,0},function (a,b)
309table.sort({10,9,8,4,19,23,0,0},function (a,b)
310return a < b
310return a < b
311−end,"\101\120\116\114\97\32\97\114\103")
311+end,"\u{65}\u{78}\u{74}\u{72}\u{61}\u{20}\u{61}\u{72}\u{67}")
312−local x = "\45\45\32\97\32\99\111\109\109\101\110\116\10\32\32\120\32\61\32\49\48\32\43\32\10\50\51\59\32\10\32\32\32\32\32\108\111\99\97\108\32\97\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\120\32\61\32\39\104\105\39\32\101\110\100\59\32\10\32\32\32\32\32\114\101\116\117\114\110\32\39\39"
312+local x = "\u{2d}\u{2d}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{0}\u{0}\u{0}\u{a}\u{20}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{20}\u{2b}\u{20}\u{a}\u{32}\u{33}\u{3b}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{27}\u{68}\u{69}\u{27}\u{20}\u{65}\u{6e}\u{64}\u{3b}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}\u{0}\u{27}"
313local function read1
313local function read1
314(x)
314(x)
315local i = 0
315local i = 0
@@ -323,11 +323,11 @@ local function cannotload
323(msg,a,b)
323(msg,a,b)
324assert(not a and string.find(b,msg))
324assert(not a and string.find(b,msg))
325end
325end
326−a=assert(load(read1(x),"\109\111\100\110\97\109\101","\116",_G))
326+a=assert(load(read1(x),"\u{6d}\u{6f}\u{64}\u{6e}\u{61}\u{6d}\u{65}","\u{74}",_G))
327−assert(a() == "" and _G.x == 33)
327+assert(a() == "\u{0}" and _G.x == 33)
328−assert(debug.getinfo(a).source == "\109\111\100\110\97\109\101")
328+assert(debug.getinfo(a).source == "\u{6d}\u{6f}\u{64}\u{6e}\u{61}\u{6d}\u{65}")
329−cannotload("\97\116\116\101\109\112\116\32\116\111\32\108\111\97\100\32\97\32\116\101\120\116\32\99\104\117\110\107",load(read1(x),"\109\111\100\110\97\109\101","\98",{}))
329+cannotload("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{61}\u{20}\u{74}\u{65}\u{78}\u{74}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}",load(read1(x),"\u{6d}\u{6f}\u{64}\u{6e}\u{61}\u{6d}\u{65}","\u{62}",{}))
330−cannotload("\97\116\116\101\109\112\116\32\116\111\32\108\111\97\100\32\97\32\116\101\120\116\32\99\104\117\110\107",load(x,"\109\111\100\110\97\109\101","\98"))
330+cannotload("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{61}\u{20}\u{74}\u{65}\u{78}\u{74}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}",load(x,"\u{6d}\u{6f}\u{64}\u{6e}\u{61}\u{6d}\u{65}","\u{62}"))
331a=assert(load(function ()
331a=assert(load(function ()
332return nil
332return nil
333end))
333end))
@@ -335,35 +335,35 @@ a()
335assert(not load(function ()
335assert(not load(function ()
336return true
336return true
337end))
337end))
338−local t = {nil,"\114\101\116\117\114\110\32","\51"}
338+local t = {nil,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}","\u{33}"}
339f,msg=load(function ()
339f,msg=load(function ()
340return table.remove(t,1)
340return table.remove(t,1)
341end)
341end)
342assert(f() == nil)
342assert(f() == nil)
343f=load(string.dump(function ()
343f=load(string.dump(function ()
344return 1
344return 1
345−end),nil,"\98",{})
345+end),nil,"\u{62}",{})
346−assert(type(f) == "\102\117\110\99\116\105\111\110" and f() == 1)
346+assert(type(f) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and f() == 1)
347do
347do
348local f = string.dump(function ()
348local f = string.dump(function ()
349−return "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
349+return "\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}"
350end)
350end)
351f=load(read1(f))
351f=load(read1(f))
352−assert(f() == "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57")
352+assert(f() == "\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}")
353end
353end
354−x=string.dump(load("\120\32\61\32\49\59\32\114\101\116\117\114\110\32\120"))
354+x=string.dump(load("\u{78}\u{20}\u{3d}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}"))
355−a=assert(load(read1(x),nil,"\98"))
355+a=assert(load(read1(x),nil,"\u{62}"))
356assert(a() == 1 and _G.x == 1)
356assert(a() == 1 and _G.x == 1)
357−cannotload("\97\116\116\101\109\112\116\32\116\111\32\108\111\97\100\32\97\32\98\105\110\97\114\121\32\99\104\117\110\107",load(read1(x),nil,"\116"))
357+cannotload("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{61}\u{20}\u{62}\u{69}\u{6e}\u{61}\u{72}\u{79}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}",load(read1(x),nil,"\u{74}"))
358−cannotload("\97\116\116\101\109\112\116\32\116\111\32\108\111\97\100\32\97\32\98\105\110\97\114\121\32\99\104\117\110\107",load(x,nil,"\116"))
358+cannotload("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{61}\u{20}\u{62}\u{69}\u{6e}\u{61}\u{72}\u{79}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}",load(x,nil,"\u{74}"))
359_G.x=nil
359_G.x=nil
360assert(not pcall(string.dump,print))
360assert(not pcall(string.dump,print))
361−cannotload("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108",load(read1("\42\97\32\61\32\49\50\51")))
361+cannotload("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}",load(read1("\u{2a}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{32}\u{33}")))
362−cannotload("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108",load("\42\97\32\61\32\49\50\51"))
362+cannotload("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}",load("\u{2a}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{32}\u{33}"))
363−cannotload("\104\104\105",load(function ()
363+cannotload("\u{68}\u{68}\u{69}",load(function ()
364−error("\104\104\105")
364+error("\u{68}\u{68}\u{69}")
365end))
365end))
366−assert(load("\114\101\116\117\114\110\32\95\69\78\86",nil,nil,123)() == 123)
366+assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{5f}\u{45}\u{4e}\u{56}",nil,nil,123)() == 123)
367local x
367local x
368;
368;
369XX=123
369XX=123
@@ -373,58 +373,58 @@ local y = x
373return XX
373return XX
374end
374end
375local d = string.dump(h)
375local d = string.dump(h)
376−x=load(d,"","\98")
376+x=load(d,"","\u{62}")
377−assert(debug.getupvalue(x,2) == "\95\69\78\86")
377+assert(debug.getupvalue(x,2) == "\u{5f}\u{45}\u{4e}\u{56}")
378debug.setupvalue(x,2,_G)
378debug.setupvalue(x,2,_G)
379assert(x() == 123)
379assert(x() == 123)
380−assert(assert(load("\114\101\116\117\114\110\32\88\88\32\43\32\46\46\46",nil,nil,{["\88\88"] = 13}))(4) == 17)
380+assert(assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{58}\u{58}\u{20}\u{2b}\u{20}\u{2e}\u{2e}\u{2e}",nil,nil,{["\u{58}\u{58}"] = 13}))(4) == 17)
381XX=nil
381XX=nil
382−x="\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\120\41\10\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\121\41\10\32\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\122\41\10\32\32\32\32\32\32\32\114\101\116\117\114\110\32\120\43\121\43\122\10\32\32\32\32\32\101\110\100\10\32\32\32\101\110\100\10\32\32\101\110\100\10"
382+x="\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{78}\u{29}\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{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{79}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{7a}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{2b}\u{79}\u{2b}\u{7a}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}"
383−a=assert(load(read1(x),"\114\101\97\100","\116"))
383+a=assert(load(read1(x),"\u{72}\u{65}\u{61}\u{64}","\u{74}"))
384assert(a()(2)(3)(10) == 15)
384assert(a()(2)(3)(10) == 15)
385x=string.dump(a)
385x=string.dump(a)
386−a=assert(load(read1(x),"\114\101\97\100","\98"))
386+a=assert(load(read1(x),"\u{72}\u{65}\u{61}\u{64}","\u{62}"))
387assert(a()(2)(3)(10) == 15)
387assert(a()(2)(3)(10) == 15)
388local a,b = 20,30
388local a,b = 20,30
389x=load(string.dump(function (x)
389x=load(string.dump(function (x)
390−if x == "\115\101\116" then
390+if x == "\u{73}\u{65}\u{74}" then
391a=10 + b
391a=10 + b
392;
392;
393b=b + 1
393b=b + 1
394else
394else
395return a
395return a
396end
396end
397−end),"","\98",nil)
397+end),"","\u{62}",nil)
398assert(x() == nil)
398assert(x() == nil)
399−assert(debug.setupvalue(x,1,"\104\105") == "\97")
399+assert(debug.setupvalue(x,1,"\u{68}\u{69}") == "\u{61}")
400−assert(x() == "\104\105")
400+assert(x() == "\u{68}\u{69}")
401−assert(debug.setupvalue(x,2,13) == "\98")
401+assert(debug.setupvalue(x,2,13) == "\u{62}")
402assert(not debug.setupvalue(x,3,10))
402assert(not debug.setupvalue(x,3,10))
403−x("\115\101\116")
403+x("\u{73}\u{65}\u{74}")
404assert(x() == 23)
404assert(x() == 23)
405−x("\115\101\116")
405+x("\u{73}\u{65}\u{74}")
406assert(x() == 24)
406assert(x() == 24)
407do
407do
408local nup = 200
408local nup = 200
409−local prog = {"\108\111\99\97\108\32\97\49"}
409+local prog = {"\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{31}"}
410for i = 2, nup
410for i = 2, nup
411do
411do
412−prog[# prog + 1]="\44\32\97" .. i
412+prog[# prog + 1]="\u{2c}\u{20}\u{61}" .. i
413end
413end
414−prog[# prog + 1]="\32\61\32\49"
414+prog[# prog + 1]="\u{20}\u{3d}\u{20}\u{31}"
415for i = 2, nup
415for i = 2, nup
416do
416do
417−prog[# prog + 1]="\44\32" .. i
417+prog[# prog + 1]="\u{2c}\u{20}" .. i
418end
418end
419local sum = 1
419local sum = 1
420−prog[# prog + 1]="\59\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\41\32\114\101\116\117\114\110\32\97\49"
420+prog[# prog + 1]="\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{31}"
421for i = 2, nup
421for i = 2, nup
422do
422do
423−prog[# prog + 1]="\32\43\32\97" .. i
423+prog[# prog + 1]="\u{20}\u{2b}\u{20}\u{61}" .. i
424;
424;
425sum=sum + i
425sum=sum + i
426end
426end
427−prog[# prog + 1]="\32\101\110\100"
427+prog[# prog + 1]="\u{20}\u{65}\u{6e}\u{64}"
428prog=table.concat(prog)
428prog=table.concat(prog)
429local f = assert(load(prog))()
429local f = assert(load(prog))()
430assert(f() == sum)
430assert(f() == sum)
@@ -440,7 +440,7 @@ end
440assert(f() == 10 * nup)
440assert(f() == 10 * nup)
441end
441end
442do
442do
443−local t = {["\120"] = 1}
443+local t = {["\u{78}"] = 1}
444function t:_012345678901234567890123456789012345678901234567890123456789()
444function t:_012345678901234567890123456789012345678901234567890123456789()
445return self.x
445return self.x
446end
446end
@@ -457,9 +457,9 @@ end)(4) == nil)
457assert((function (a)
457assert((function (a)
458return a
458return a
459end)() == nil)
459end)() == nil)
460−print("\116\101\115\116\105\110\103\32\98\105\110\97\114\121\32\99\104\117\110\107\115")
460+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{62}\u{69}\u{6e}\u{61}\u{72}\u{79}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}\u{73}")
461do
461do
462−local header = string.pack("\99\52\66\66\99\54\66\66\66","\27\76\117\97",84,0,"\25\147\13\10\26\10",4,string.packsize("\106"),string.packsize("\110"))
462+local header = string.pack("\u{63}\u{34}\u{42}\u{42}\u{63}\u{36}\u{42}\u{42}\u{42}","\u{1b}\u{4c}\u{75}\u{61}",84,0,"\u{19}\u{93}\u{d}\u{a}\u{1a}\u{a}",4,string.packsize("\u{6a}"),string.packsize("\u{6e}"))
463local c = string.dump(function ()
463local c = string.dump(function ()
464local a = 1
464local a = 1
465;
465;
@@ -468,13 +468,13 @@ local b = 3
468local f = function ()
468local f = function ()
469return a + b + _ENV.c
469return a + b + _ENV.c
470end
470end
471−local s1 = "\97\32\99\111\110\115\116\97\110\116"
471+local s1 = "\u{61}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{61}\u{6e}\u{74}"
472−local s2 = "\97\110\111\116\104\101\114\32\99\111\110\115\116\97\110\116"
472+local s2 = "\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{61}\u{6e}\u{74}"
473return a + b * 3
473return a + b * 3
474end)
474end)
475assert(assert(load(c))() == 10)
475assert(assert(load(c))() == 10)
476assert(string.sub(c,1,# header) == header)
476assert(string.sub(c,1,# header) == header)
477−local ci,cn = string.unpack("\106\110",c,# header + 1)
477+local ci,cn = string.unpack("\u{6a}\u{6e}",c,# header + 1)
478assert(ci == 22136 and cn == 370.5)
478assert(ci == 22136 and cn == 370.5)
479for i = 1, # header
479for i = 1, # header
480do
480do
@@ -485,8 +485,8 @@ end
485for i = 1, # c - 1
485for i = 1, # c - 1
486do
486do
487local st,msg = load(string.sub(c,1,i))
487local st,msg = load(string.sub(c,1,i))
488−assert(not st and string.find(msg,"\116\114\117\110\99\97\116\101\100"))
488+assert(not st and string.find(msg,"\u{74}\u{72}\u{75}\u{6e}\u{63}\u{61}\u{74}\u{65}\u{64}"))
489end
489end
490end
490end
491−print("\79\75")
491+print("\u{4f}\u{4b}")
492return deep
492return deep
zod/luau/res/lua/cycled/closure.lua+32−32
@@ -1,5 +1,5 @@
1−print("\116\101\115\116\105\110\103\32\99\108\111\115\117\114\101\115")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{75}\u{72}\u{65}\u{73}")
2−local A,B = 0,{["\103"] = 10}
2+local A,B = 0,{["\u{67}"] = 10}
3local function f
3local function f
4(x)
4(x)
5local a = {}
5local a = {}
@@ -34,7 +34,7 @@ return a
34end
34end
35local a = f(10)
35local a = f(10)
36local x = {[1] = {}}
36local x = {[1] = {}}
37−setmetatable(x,{["\95\95\109\111\100\101"] = "\107\118"})
37+setmetatable(x,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
38while x[1] do
38while x[1] do
39local a = A .. A .. A .. A
39local a = A .. A .. A .. A
40A=A + 1
40A=A + 1
@@ -47,7 +47,7 @@ assert(a[2]() == 20 + A)
47assert(a[2]() == 30 + A)
47assert(a[2]() == 30 + A)
48assert(a[3]() == 20 + A)
48assert(a[3]() == 20 + A)
49assert(a[8]() == 10 + A)
49assert(a[8]() == 10 + A)
50−assert(getmetatable(x).__mode == "\107\118")
50+assert(getmetatable(x).__mode == "\u{6b}\u{76}")
51assert(B.g == 19)
51assert(B.g == 19)
52a={}
52a={}
53for i = 1, 5
53for i = 1, 5
@@ -70,9 +70,9 @@ end
70a={}
70a={}
71for i = 1, 10
71for i = 1, 10
72do
72do
73−a[i]={["\115\101\116"] = function (x)
73+a[i]={["\u{73}\u{65}\u{74}"] = function (x)
74i=x
74i=x
75−end,["\103\101\116"] = function ()
75+end,["\u{67}\u{65}\u{74}"] = function ()
76return i
76return i
77end}
77end}
78if i == 3 then
78if i == 3 then
@@ -82,19 +82,19 @@ end
82assert(a[4] == undef)
82assert(a[4] == undef)
83a[1].set(10)
83a[1].set(10)
84assert(a[2].get() == 2)
84assert(a[2].get() == 2)
85−a[2].set("\97")
85+a[2].set("\u{61}")
86assert(a[3].get() == 3)
86assert(a[3].get() == 3)
87−assert(a[2].get() == "\97")
87+assert(a[2].get() == "\u{61}")
88a={}
88a={}
89−local t = {"\97","\98"}
89+local t = {"\u{61}","\u{62}"}
90for i = 1, # t
90for i = 1, # t
91do
91do
92local k = t[i]
92local k = t[i]
93−a[i]={["\115\101\116"] = function (x,y)
93+a[i]={["\u{73}\u{65}\u{74}"] = function (x,y)
94i=x
94i=x
95;
95;
96k=y
96k=y
97−end,["\103\101\116"] = function ()
97+end,["\u{67}\u{65}\u{74}"] = function ()
98return i,k
98return i,k
99end}
99end}
100if i == 2 then
100if i == 2 then
@@ -103,12 +103,12 @@ end
103end
103end
104a[1].set(10,20)
104a[1].set(10,20)
105local r,s = a[2].get()
105local r,s = a[2].get()
106−assert(r == 2 and s == "\98")
106+assert(r == 2 and s == "\u{62}")
107r,s=a[1].get()
107r,s=a[1].get()
108assert(r == 10 and s == 20)
108assert(r == 10 and s == 20)
109−a[2].set("\97","\98")
109+a[2].set("\u{61}","\u{62}")
110r,s=a[2].get()
110r,s=a[2].get()
111−assert(r == "\97" and s == "\98")
111+assert(r == "\u{61}" and s == "\u{62}")
112local f
112local f
113for i = 1, 3
113for i = 1, 3
114do
114do
@@ -127,7 +127,7 @@ end
127break
127break
128end
128end
129assert(({f()})[1] == 1)
129assert(({f()})[1] == 1)
130−assert(({f()})[2] == "\97")
130+assert(({f()})[2] == "\u{61}")
131local b
131local b
132function f(x)
132function f(x)
133local first = 1
133local first = 1
@@ -135,9 +135,9 @@ while 1 do
135if x == 3 and not first then
135if x == 3 and not first then
136return
136return
137end
137end
138−local a = "\120\117\120\117"
138+local a = "\u{78}\u{75}\u{78}\u{75}"
139b=function (op,y)
139b=function (op,y)
140−if op == "\115\101\116" then
140+if op == "\u{73}\u{65}\u{74}" then
141a=x + y
141a=x + y
142else
142else
143return a
143return a
@@ -160,18 +160,18 @@ end
160for i = 1, 3
160for i = 1, 3
161do
161do
162f(i)
162f(i)
163−assert(b("\103\101\116") == "\120\117\120\117")
163+assert(b("\u{67}\u{65}\u{74}") == "\u{78}\u{75}\u{78}\u{75}")
164−b("\115\101\116",10)
164+b("\u{73}\u{65}\u{74}",10)
165;
165;
166−assert(b("\103\101\116") == 10 + i)
166+assert(b("\u{67}\u{65}\u{74}") == 10 + i)
167b=nil
167b=nil
168end
168end
169pcall(f,4)
169pcall(f,4)
170;
170;
171−assert(b("\103\101\116") == "\120\117\120\117")
171+assert(b("\u{67}\u{65}\u{74}") == "\u{78}\u{75}\u{78}\u{75}")
172−b("\115\101\116",10)
172+b("\u{73}\u{65}\u{74}",10)
173;
173;
174−assert(b("\103\101\116") == 14)
174+assert(b("\u{67}\u{65}\u{74}") == 14)
175local y,w
175local y,w
176function f(x)
176function f(x)
177return function (y)
177return function (y)
@@ -228,7 +228,7 @@ return t
228end
228end
229elseif i % 3 == 1 then
229elseif i % 3 == 1 then
230goto L1
230goto L1
231−error("\110\111\116\32\104\101\114\101")
231+error("\u{6e}\u{6f}\u{74}\u{20}\u{68}\u{65}\u{72}\u{65}")
232::L1::
232::L1::
233local y = 1
233local y = 1
234a[i]=function (x)
234a[i]=function (x)
@@ -245,7 +245,7 @@ goto l4
245a[i]=t
245a[i]=t
246;
246;
247goto l4b
247goto l4b
248−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
248+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
249::l4::
249::l4::
250local y = 2
250local y = 2
251t=function (x)
251t=function (x)
@@ -256,7 +256,7 @@ y=x
256return t
256return t
257end
257end
258goto l4a
258goto l4a
259−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
259+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
260::l4b::
260::l4b::
261end
261end
262end
262end
@@ -264,16 +264,16 @@ for i = 1, 10
264do
264do
265assert(a[i](i * 10) == i % 3 and a[i]() == i * 10)
265assert(a[i](i * 10) == i % 3 and a[i]() == i * 10)
266end
266end
267−print("\43")
267+print("\u{2b}")
268local function t
268local function t
269()
269()
270local function c
270local function c
271(a,b)
271(a,b)
272−assert(a == "\116\101\115\116" and b == "\79\75")
272+assert(a == "\u{74}\u{65}\u{73}\u{74}" and b == "\u{4f}\u{4b}")
273end
273end
274local function v
274local function v
275(f, ...)
275(f, ...)
276−c("\116\101\115\116",f() ~= 1 and "\70\65\73\76\69\68" or "\79\75")
276+c("\u{74}\u{65}\u{73}\u{74}",f() ~= 1 and "\u{46}\u{41}\u{49}\u{4c}\u{45}\u{44}" or "\u{4f}\u{4b}")
277end
277end
278local x = 1
278local x = 1
279return v(function ()
279return v(function ()
@@ -281,7 +281,7 @@ return x
281end)
281end)
282end
282end
283t()
283t()
284−local debug = require("\100\101\98\117\103")
284+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
285local foo1,foo2,foo3
285local foo1,foo2,foo3
286do
286do
287local a,b,c = 3,5,7
287local a,b,c = 3,5,7
@@ -309,7 +309,7 @@ assert(debug.upvalueid(foo1,2) == debug.upvalueid(foo2,1))
309assert(debug.upvalueid(foo3,1))
309assert(debug.upvalueid(foo3,1))
310assert(debug.upvalueid(foo1,1) ~= debug.upvalueid(foo3,1))
310assert(debug.upvalueid(foo1,1) ~= debug.upvalueid(foo3,1))
311assert(debug.upvalueid(foo1,2) == debug.upvalueid(foo3,2))
311assert(debug.upvalueid(foo1,2) == debug.upvalueid(foo3,2))
312−assert(debug.upvalueid(string.gmatch("\120","\120"),1) ~= nil)
312+assert(debug.upvalueid(string.gmatch("\u{78}","\u{78}"),1) ~= nil)
313assert(foo1() == 3 + 5 and foo2() == 5 + 3)
313assert(foo1() == 3 + 5 and foo2() == 5 + 3)
314debug.upvaluejoin(foo1,2,foo2,2)
314debug.upvaluejoin(foo1,2,foo2,2)
315assert(foo1() == 3 + 3 and foo2() == 5 + 3)
315assert(foo1() == 3 + 3 and foo2() == 5 + 3)
@@ -324,4 +324,4 @@ assert(not pcall(debug.upvaluejoin,foo1,0,foo2,1))
324assert(not pcall(debug.upvaluejoin,print,1,foo2,1))
324assert(not pcall(debug.upvaluejoin,print,1,foo2,1))
325assert(not pcall(debug.upvaluejoin,{},1,foo2,1))
325assert(not pcall(debug.upvaluejoin,{},1,foo2,1))
326assert(not pcall(debug.upvaluejoin,foo1,1,print,1))
326assert(not pcall(debug.upvaluejoin,foo1,1,print,1))
327−print("\79\75")
327+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/code.lua+81−81
@@ -1,8 +1,8 @@
1if T == nil then
1if T == nil then
2−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\111\112\99\111\100\101\32\116\101\115\116\115\32\60\60\60\10")
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}")
3return
3return
4end
4end
5−print("\116\101\115\116\105\110\103\32\99\111\100\101\32\103\101\110\101\114\97\116\105\111\110\32\97\110\100\32\111\112\116\105\109\105\122\97\116\105\111\110\115")
5+print("\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}")
6local k0aux <const> = 0
6local k0aux <const> = 0
7local k0 <const> = k0aux
7local k0 <const> = k0aux
8local k1 <const> = 1
8local k1 <const> = 1
@@ -12,7 +12,7 @@ local kFF0 <const> = 4080
12local k3_78 <const> = 3.78
12local k3_78 <const> = 3.78
13local x,k3_78_4 <const> = 10,k3_78 / 4
13local x,k3_78_4 <const> = 10,k3_78 / 4
14assert(x == 10)
14assert(x == 10)
15−local kx <const> = "\120"
15+local kx <const> = "\u{78}"
16local kTrue <const> = true
16local kTrue <const> = true
17local kFalse <const> = false
17local kFalse <const> = false
18local kNil <const> = nil
18local kNil <const> = nil
@@ -108,7 +108,7 @@ local arg = {...}
108local c = T.listcode(f)
108local c = T.listcode(f)
109for i = 1, # arg
109for i = 1, # arg
110do
110do
111−local opcode = string.match(c[i],"\37\117\37\119\43")
111+local opcode = string.match(c[i],"\u{25}\u{75}\u{25}\u{77}\u{2b}")
112assert(arg[i] == opcode)
112assert(arg[i] == opcode)
113end
113end
114assert(c[# arg + 2] == undef)
114assert(c[# arg + 2] == undef)
@@ -126,8 +126,8 @@ b=T.listcode(b)
126assert(# a == # b)
126assert(# a == # b)
127for i = 1, # a
127for i = 1, # a
128do
128do
129−a[i]=string.gsub(a[i],"\37\98\40\41","")
129+a[i]=string.gsub(a[i],"\u{25}\u{62}\u{28}\u{29}","")
130−b[i]=string.gsub(b[i],"\37\98\40\41","")
130+b[i]=string.gsub(b[i],"\u{25}\u{62}\u{28}\u{29}","")
131assert(a[i] == b[i])
131assert(a[i] == b[i])
132end
132end
133end
133end
@@ -135,12 +135,12 @@ check(function ()
135(function ()
135(function ()
136
136
137end)({f()})
137end)({f()})
138−end,"\67\76\79\83\85\82\69","\78\69\87\84\65\66\76\69","\69\88\84\82\65\65\82\71","\71\69\84\84\65\66\85\80","\67\65\76\76","\83\69\84\76\73\83\84","\67\65\76\76","\82\69\84\85\82\78\48")
138+end,"\u{43}\u{4c}\u{4f}\u{53}\u{55}\u{52}\u{45}","\u{4e}\u{45}\u{57}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{45}\u{58}\u{54}\u{52}\u{41}\u{41}\u{52}\u{47}","\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{55}\u{50}","\u{43}\u{41}\u{4c}\u{4c}","\u{53}\u{45}\u{54}\u{4c}\u{49}\u{53}\u{54}","\u{43}\u{41}\u{4c}\u{4c}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
139check(function (x)
139check(function (x)
140(function ()
140(function ()
141return x
141return x
142end)({f()})
142end)({f()})
143−end,"\67\76\79\83\85\82\69","\78\69\87\84\65\66\76\69","\69\88\84\82\65\65\82\71","\71\69\84\84\65\66\85\80","\67\65\76\76","\83\69\84\76\73\83\84","\67\65\76\76","\82\69\84\85\82\78")
143+end,"\u{43}\u{4c}\u{4f}\u{53}\u{55}\u{52}\u{45}","\u{4e}\u{45}\u{57}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{45}\u{58}\u{54}\u{52}\u{41}\u{41}\u{52}\u{47}","\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{55}\u{50}","\u{43}\u{41}\u{4c}\u{4c}","\u{53}\u{45}\u{54}\u{4c}\u{49}\u{53}\u{54}","\u{43}\u{41}\u{4c}\u{4c}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}")
144check(function ()
144check(function ()
145local kNil <const> = nil
145local kNil <const> = nil
146local a,b,c
146local a,b,c
@@ -160,7 +160,7 @@ a=kNil
160;
160;
161c=nil
161c=nil
162;
162;
163−end,"\76\79\65\68\78\73\76","\82\69\84\85\82\78\48")
163+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
164check(function ()
164check(function ()
165local a,b,c,d = 1,1,1,1
165local a,b,c,d = 1,1,1,1
166d=nil
166d=nil
@@ -170,7 +170,7 @@ c=nil
170b=nil
170b=nil
171;
171;
172a=nil
172a=nil
173−end,"\76\79\65\68\73","\76\79\65\68\73","\76\79\65\68\73","\76\79\65\68\73","\76\79\65\68\78\73\76","\82\69\84\85\82\78\48")
173+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
174do
174do
175local a,b,c,d = 1,1,1,1
175local a,b,c,d = 1,1,1,1
176d=nil
176d=nil
@@ -184,145 +184,145 @@ assert(a == nil and b == nil and c == nil and d == nil)
184end
184end
185check(function (a,b,c)
185check(function (a,b,c)
186return a
186return a
187−end,"\82\69\84\85\82\78\49")
187+end,"\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
188check(function ()
188check(function ()
189while kTrue do
189while kTrue do
190local a = - 1
190local a = - 1
191end
191end
192−end,"\76\79\65\68\73","\74\77\80","\82\69\84\85\82\78\48")
192+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4a}\u{4d}\u{50}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
193check(function ()
193check(function ()
194while 1 do
194while 1 do
195local a = - 1
195local a = - 1
196end
196end
197−end,"\76\79\65\68\73","\74\77\80","\82\69\84\85\82\78\48")
197+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4a}\u{4d}\u{50}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
198check(function ()
198check(function ()
199repeat
199repeat
200local x = 1
200local x = 1
201until true
201until true
202−end,"\76\79\65\68\73","\82\69\84\85\82\78\48")
202+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
203check(function (a,b,c,d)
203check(function (a,b,c,d)
204return a .. b .. c .. d
204return a .. b .. c .. d
205−end,"\77\79\86\69","\77\79\86\69","\77\79\86\69","\77\79\86\69","\67\79\78\67\65\84","\82\69\84\85\82\78\49")
205+end,"\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{43}\u{4f}\u{4e}\u{43}\u{41}\u{54}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
206check(function ()
206check(function ()
207return not not nil
207return not not nil
208−end,"\76\79\65\68\70\65\76\83\69","\82\69\84\85\82\78\49")
208+end,"\u{4c}\u{4f}\u{41}\u{44}\u{46}\u{41}\u{4c}\u{53}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
209check(function ()
209check(function ()
210return not not kFalse
210return not not kFalse
211−end,"\76\79\65\68\70\65\76\83\69","\82\69\84\85\82\78\49")
211+end,"\u{4c}\u{4f}\u{41}\u{44}\u{46}\u{41}\u{4c}\u{53}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
212check(function ()
212check(function ()
213return not not true
213return not not true
214−end,"\76\79\65\68\84\82\85\69","\82\69\84\85\82\78\49")
214+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}\u{52}\u{4e}\u{31}")
215check(function ()
215check(function ()
216return not not k3
216return not not k3
217−end,"\76\79\65\68\84\82\85\69","\82\69\84\85\82\78\49")
217+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}\u{52}\u{4e}\u{31}")
218check(function ()
218check(function ()
219local a,b,c,d
219local a,b,c,d
220a=b * a
220a=b * a
221c.x,a[b]=- ((a + d / b - a[b]) ^ a.x),b
221c.x,a[b]=- ((a + d / b - a[b]) ^ a.x),b
222−end,"\76\79\65\68\78\73\76","\77\85\76","\77\77\66\73\78","\68\73\86","\77\77\66\73\78","\65\68\68","\77\77\66\73\78","\71\69\84\84\65\66\76\69","\83\85\66","\77\77\66\73\78","\71\69\84\70\73\69\76\68","\80\79\87","\77\77\66\73\78","\85\78\77","\83\69\84\84\65\66\76\69","\83\69\84\70\73\69\76\68","\82\69\84\85\82\78\48")
222+end,"\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}")
223check(function ()
223check(function ()
224local a,b
224local a,b
225local c = kNil
225local c = kNil
226a[kx]=3.2
226a[kx]=3.2
227a.x=b
227a.x=b
228−a[b]="\120"
228+a[b]="\u{78}"
229−end,"\76\79\65\68\78\73\76","\83\69\84\70\73\69\76\68","\83\69\84\70\73\69\76\68","\83\69\84\84\65\66\76\69","\82\69\84\85\82\78\48")
229+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{53}\u{45}\u{54}\u{46}\u{49}\u{45}\u{4c}\u{44}","\u{53}\u{45}\u{54}\u{46}\u{49}\u{45}\u{4c}\u{44}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
230check(function (a)
230check(function (a)
231local k255 <const> = 255
231local k255 <const> = 255
232a[1]=a[100]
232a[1]=a[100]
233a[k255]=a[256]
233a[k255]=a[256]
234a[256]=5
234a[256]=5
235−end,"\71\69\84\73","\83\69\84\73","\76\79\65\68\73","\71\69\84\84\65\66\76\69","\83\69\84\73","\76\79\65\68\73","\83\69\84\84\65\66\76\69","\82\69\84\85\82\78\48")
235+end,"\u{47}\u{45}\u{54}\u{49}","\u{53}\u{45}\u{54}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{53}\u{45}\u{54}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
236check(function ()
236check(function ()
237local a,b
237local a,b
238a=a - a
238a=a - a
239b=a / a
239b=a / a
240b=5 - 4
240b=5 - 4
241−end,"\76\79\65\68\78\73\76","\83\85\66","\77\77\66\73\78","\68\73\86","\77\77\66\73\78","\76\79\65\68\73","\82\69\84\85\82\78\48")
241+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{53}\u{55}\u{42}","\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{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
242check(function ()
242check(function ()
243local a,b
243local a,b
244a[kTrue]=false
244a[kTrue]=false
245−end,"\76\79\65\68\78\73\76","\76\79\65\68\84\82\85\69","\83\69\84\84\65\66\76\69","\82\69\84\85\82\78\48")
245+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{4c}\u{4f}\u{41}\u{44}\u{54}\u{52}\u{55}\u{45}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
246checkR(function (a)
246checkR(function (a)
247if a == 1 then
247if a == 1 then
248return 2
248return 2
249end
249end
250−end,1,2,"\69\81\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
250+end,1,2,"\u{45}\u{51}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
251checkR(function (a)
251checkR(function (a)
252if - 4.0 == a then
252if - 4.0 == a then
253return 2
253return 2
254end
254end
255−end,- 4,2,"\69\81\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
255+end,- 4,2,"\u{45}\u{51}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
256checkR(function (a)
256checkR(function (a)
257−if a == "\104\105" then
257+if a == "\u{68}\u{69}" then
258return 2
258return 2
259end
259end
260−end,10,nil,"\69\81\75","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
260+end,10,nil,"\u{45}\u{51}\u{4b}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
261checkR(function (a)
261checkR(function (a)
262if a == 10000 then
262if a == 10000 then
263return 2
263return 2
264end
264end
265−end,1,nil,"\69\81\75","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
265+end,1,nil,"\u{45}\u{51}\u{4b}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
266checkR(function (a)
266checkR(function (a)
267if - 10000 == a then
267if - 10000 == a then
268return 2
268return 2
269end
269end
270−end,- 10000,2,"\69\81\75","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
270+end,- 10000,2,"\u{45}\u{51}\u{4b}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
271checkR(function (a)
271checkR(function (a)
272if - 10 <= a then
272if - 10 <= a then
273return 2
273return 2
274end
274end
275−end,- 10,2,"\71\69\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
275+end,- 10,2,"\u{47}\u{45}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
276checkR(function (a)
276checkR(function (a)
277if 128.0 > a then
277if 128.0 > a then
278return 2
278return 2
279end
279end
280−end,129,nil,"\76\84\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
280+end,129,nil,"\u{4c}\u{54}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
281checkR(function (a)
281checkR(function (a)
282if - 127.0 < a then
282if - 127.0 < a then
283return 2
283return 2
284end
284end
285−end,- 127,nil,"\71\84\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
285+end,- 127,nil,"\u{47}\u{54}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
286checkR(function (a)
286checkR(function (a)
287if 10 < a then
287if 10 < a then
288return 2
288return 2
289end
289end
290−end,11,2,"\71\84\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
290+end,11,2,"\u{47}\u{54}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
291checkR(function (a)
291checkR(function (a)
292if 129 < a then
292if 129 < a then
293return 2
293return 2
294end
294end
295−end,130,2,"\76\79\65\68\73","\76\84","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
295+end,130,2,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{54}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
296checkR(function (a)
296checkR(function (a)
297if a >= 23.0 then
297if a >= 23.0 then
298return 2
298return 2
299end
299end
300−end,25,2,"\71\69\73","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
300+end,25,2,"\u{47}\u{45}\u{49}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
301checkR(function (a)
301checkR(function (a)
302if a >= 23.1 then
302if a >= 23.1 then
303return 2
303return 2
304end
304end
305−end,0,nil,"\76\79\65\68\75","\76\69","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
305+end,0,nil,"\u{4c}\u{4f}\u{41}\u{44}\u{4b}","\u{4c}\u{45}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
306checkR(function (a)
306checkR(function (a)
307if a > 2300.0 then
307if a > 2300.0 then
308return 2
308return 2
309end
309end
310−end,0,nil,"\76\79\65\68\70","\76\84","\74\77\80","\76\79\65\68\73","\82\69\84\85\82\78\49")
310+end,0,nil,"\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{4c}\u{54}","\u{4a}\u{4d}\u{50}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
311local function checkK
311local function checkK
312(func,val)
312(func,val)
313−check(func,"\76\79\65\68\75","\82\69\84\85\82\78\49")
313+check(func,"\u{4c}\u{4f}\u{41}\u{44}\u{4b}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
314checkKlist(func,{val})
314checkKlist(func,{val})
315assert(func() == val)
315assert(func() == val)
316end
316end
317local function checkI
317local function checkI
318(func,val)
318(func,val)
319−check(func,"\76\79\65\68\73","\82\69\84\85\82\78\49")
319+check(func,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
320checkKlist(func,{})
320checkKlist(func,{})
321assert(func() == val)
321assert(func() == val)
322end
322end
323local function checkF
323local function checkF
324(func,val)
324(func,val)
325−check(func,"\76\79\65\68\70","\82\69\84\85\82\78\49")
325+check(func,"\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
326checkKlist(func,{})
326checkKlist(func,{})
327assert(func() == val)
327assert(func() == val)
328end
328end
@@ -405,124 +405,124 @@ return - (border + 1)
405end,- (sbx + 1.0))
405end,- (sbx + 1.0))
406checkR(function (x)
406checkR(function (x)
407return x + k1
407return x + k1
408−end,10,11,"\65\68\68\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
408+end,10,11,"\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}")
409checkR(function (x)
409checkR(function (x)
410return x - 127
410return x - 127
411−end,10,- 117,"\65\68\68\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
411+end,10,- 117,"\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}")
412checkR(function (x)
412checkR(function (x)
413return 128 + x
413return 128 + x
414−end,0.0,128.0,"\65\68\68\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
414+end,0.0,128.0,"\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}")
415checkR(function (x)
415checkR(function (x)
416return x * - 127
416return x * - 127
417−end,- 1.0,127.0,"\77\85\76\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
417+end,- 1.0,127.0,"\u{4d}\u{55}\u{4c}\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}")
418checkR(function (x)
418checkR(function (x)
419return 20 * x
419return 20 * x
420−end,2,40,"\77\85\76\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
420+end,2,40,"\u{4d}\u{55}\u{4c}\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}")
421checkR(function (x)
421checkR(function (x)
422return x ^ - 2
422return x ^ - 2
423−end,2,0.25,"\80\79\87\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
423+end,2,0.25,"\u{50}\u{4f}\u{57}\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}")
424checkR(function (x)
424checkR(function (x)
425return x / 40
425return x / 40
426−end,40,1.0,"\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
426+end,40,1.0,"\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}")
427checkR(function (x)
427checkR(function (x)
428return x // 1
428return x // 1
429−end,10.0,10.0,"\73\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
429+end,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}")
430checkR(function (x)
430checkR(function (x)
431return x % (100 - 10)
431return x % (100 - 10)
432−end,91,1,"\77\79\68\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
432+end,91,1,"\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}")
433checkR(function (x)
433checkR(function (x)
434return k1 << x
434return k1 << x
435−end,3,8,"\83\72\76\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
435+end,3,8,"\u{53}\u{48}\u{4c}\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}")
436checkR(function (x)
436checkR(function (x)
437return x << 127
437return x << 127
438−end,10,0,"\83\72\82\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
438+end,10,0,"\u{53}\u{48}\u{52}\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}")
439checkR(function (x)
439checkR(function (x)
440return x << - 127
440return x << - 127
441−end,10,0,"\83\72\82\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
441+end,10,0,"\u{53}\u{48}\u{52}\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}")
442checkR(function (x)
442checkR(function (x)
443return x >> 128
443return x >> 128
444−end,8,0,"\83\72\82\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
444+end,8,0,"\u{53}\u{48}\u{52}\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}")
445checkR(function (x)
445checkR(function (x)
446return x >> - 127
446return x >> - 127
447−end,8,0,"\83\72\82\73","\77\77\66\73\78\73","\82\69\84\85\82\78\49")
447+end,8,0,"\u{53}\u{48}\u{52}\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}")
448checkR(function (x)
448checkR(function (x)
449return x & 1
449return x & 1
450−end,9,1,"\66\65\78\68\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
450+end,9,1,"\u{42}\u{41}\u{4e}\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}")
451checkR(function (x)
451checkR(function (x)
452return 10 | x
452return 10 | x
453−end,1,11,"\66\79\82\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
453+end,1,11,"\u{42}\u{4f}\u{52}\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}")
454checkR(function (x)
454checkR(function (x)
455return - 10 ~ x
455return - 10 ~ x
456−end,- 1,9,"\66\88\79\82\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
456+end,- 1,9,"\u{42}\u{58}\u{4f}\u{52}\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}")
457checkR(function (x)
457checkR(function (x)
458return x + 0.0
458return x + 0.0
459−end,1,1.0,"\65\68\68\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
459+end,1,1.0,"\u{41}\u{44}\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}")
460checkR(function (x)
460checkR(function (x)
461return x * - 10000
461return x * - 10000
462−end,2,- 20000,"\77\85\76\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
462+end,2,- 20000,"\u{4d}\u{55}\u{4c}\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}")
463checkR(function (x)
463checkR(function (x)
464return x ^ 0.5
464return x ^ 0.5
465−end,4,2.0,"\80\79\87\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
465+end,4,2.0,"\u{50}\u{4f}\u{57}\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}")
466checkR(function (x)
466checkR(function (x)
467return x / 2.0
467return x / 2.0
468−end,4,2.0,"\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
468+end,4,2.0,"\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}")
469checkR(function (x)
469checkR(function (x)
470return x // 10000
470return x // 10000
471−end,10000,1,"\73\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
471+end,10000,1,"\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}")
472checkR(function (x)
472checkR(function (x)
473return x % (100.0 - 10)
473return x % (100.0 - 10)
474−end,91,1.0,"\77\79\68\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
474+end,91,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}")
475check(function ()
475check(function ()
476return - 0.0
476return - 0.0
477−end,"\76\79\65\68\70","\85\78\77","\82\69\84\85\82\78\49")
477+end,"\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{55}\u{4e}\u{4d}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
478check(function ()
478check(function ()
479return k3 / 0
479return k3 / 0
480−end,"\76\79\65\68\73","\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
480+end,"\u{4c}\u{4f}\u{41}\u{44}\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}")
481check(function ()
481check(function ()
482return 0 % 0
482return 0 % 0
483−end,"\76\79\65\68\73","\77\79\68\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
483+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\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}")
484check(function ()
484check(function ()
485return - 4 // 0
485return - 4 // 0
486−end,"\76\79\65\68\73","\73\68\73\86\75","\77\77\66\73\78\75","\82\69\84\85\82\78\49")
486+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\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}")
487check(function (x)
487check(function (x)
488return x >> 2.0
488return x >> 2.0
489−end,"\76\79\65\68\70","\83\72\82","\77\77\66\73\78","\82\69\84\85\82\78\49")
489+end,"\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{53}\u{48}\u{52}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
490check(function (x)
490check(function (x)
491return x << 128
491return x << 128
492−end,"\76\79\65\68\73","\83\72\76","\77\77\66\73\78","\82\69\84\85\82\78\49")
492+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{53}\u{48}\u{4c}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
493check(function (x)
493check(function (x)
494return x & 2.0
494return x & 2.0
495−end,"\76\79\65\68\70","\66\65\78\68","\77\77\66\73\78","\82\69\84\85\82\78\49")
495+end,"\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{42}\u{41}\u{4e}\u{44}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
496check(function ()
496check(function ()
497for i = - 10, 10.5
497for i = - 10, 10.5
498do
498do
499
499
500end
500end
501−end,"\76\79\65\68\73","\76\79\65\68\75","\76\79\65\68\73","\70\79\82\80\82\69\80","\70\79\82\76\79\79\80","\82\69\84\85\82\78\48")
501+end,"\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{4c}\u{4f}\u{41}\u{44}\u{4b}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{46}\u{4f}\u{52}\u{50}\u{52}\u{45}\u{50}","\u{46}\u{4f}\u{52}\u{4c}\u{4f}\u{4f}\u{50}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
502check(function ()
502check(function ()
503for i = 268435455, 10.0, 1
503for i = 268435455, 10.0, 1
504do
504do
505
505
506end
506end
507−end,"\76\79\65\68\75","\76\79\65\68\70","\76\79\65\68\73","\70\79\82\80\82\69\80","\70\79\82\76\79\79\80","\82\69\84\85\82\78\48")
507+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4b}","\u{4c}\u{4f}\u{41}\u{44}\u{46}","\u{4c}\u{4f}\u{41}\u{44}\u{49}","\u{46}\u{4f}\u{52}\u{50}\u{52}\u{45}\u{50}","\u{46}\u{4f}\u{52}\u{4c}\u{4f}\u{4f}\u{50}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
508check(function ()
508check(function ()
509return - nil
509return - nil
510−end,"\76\79\65\68\78\73\76","\85\78\77","\82\69\84\85\82\78\49")
510+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{55}\u{4e}\u{4d}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{31}")
511check(function ()
511check(function ()
512local a,b,c
512local a,b,c
513b[c],a=c,b
513b[c],a=c,b
514b[a],a=c,b
514b[a],a=c,b
515a,b=c,a
515a,b=c,a
516a=a
516a=a
517−end,"\76\79\65\68\78\73\76","\77\79\86\69","\77\79\86\69","\83\69\84\84\65\66\76\69","\77\79\86\69","\77\79\86\69","\77\79\86\69","\83\69\84\84\65\66\76\69","\77\79\86\69","\77\79\86\69","\77\79\86\69","\82\69\84\85\82\78\48")
517+end,"\u{4c}\u{4f}\u{41}\u{44}\u{4e}\u{49}\u{4c}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{4d}\u{4f}\u{56}\u{45}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
518do
518do
519local t
519local t
520check(function ()
520check(function ()
521t[kx]=t.y
521t[kx]=t.y
522−end,"\71\69\84\84\65\66\85\80","\83\69\84\84\65\66\85\80")
522+end,"\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{55}\u{50}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{55}\u{50}")
523check(function (a)
523check(function (a)
524t[a()]=t[a()]
524t[a()]=t[a()]
525−end,"\77\79\86\69","\67\65\76\76","\71\69\84\85\80\86\65\76","\77\79\86\69","\67\65\76\76","\71\69\84\85\80\86\65\76","\71\69\84\84\65\66\76\69","\83\69\84\84\65\66\76\69")
525+end,"\u{4d}\u{4f}\u{56}\u{45}","\u{43}\u{41}\u{4c}\u{4c}","\u{47}\u{45}\u{54}\u{55}\u{50}\u{56}\u{41}\u{4c}","\u{4d}\u{4f}\u{56}\u{45}","\u{43}\u{41}\u{4c}\u{4c}","\u{47}\u{45}\u{54}\u{55}\u{50}\u{56}\u{41}\u{4c}","\u{47}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}","\u{53}\u{45}\u{54}\u{54}\u{41}\u{42}\u{4c}\u{45}")
526end
526end
527checkequal(function ()
527checkequal(function ()
528local a
528local a
@@ -554,7 +554,7 @@ else
554a=a + 1
554a=a + 1
555end
555end
556end
556end
557−end,"\84\69\83\84","\74\77\80","\84\69\83\84","\74\77\80","\65\68\68\73","\77\77\66\73\78\73","\74\77\80","\82\69\84\85\82\78\48")
557+end,"\u{54}\u{45}\u{53}\u{54}","\u{4a}\u{4d}\u{50}","\u{54}\u{45}\u{53}\u{54}","\u{4a}\u{4d}\u{50}","\u{41}\u{44}\u{44}\u{49}","\u{4d}\u{4d}\u{42}\u{49}\u{4e}\u{49}","\u{4a}\u{4d}\u{50}","\u{52}\u{45}\u{54}\u{55}\u{52}\u{4e}\u{30}")
558checkequal(function ()
558checkequal(function ()
559return 6 or true or nil
559return 6 or true or nil
560end,function ()
560end,function ()
@@ -566,7 +566,7 @@ end,function ()
566return k6 and kTrue or kNil
566return k6 and kTrue or kNil
567end)
567end)
568do
568do
569−local k0 <const> = "\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48"
569+local k0 <const> = "\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{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{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{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}"
570local function f1
570local function f1
571()
571()
572local k <const> = k0
572local k <const> = k0
@@ -583,4 +583,4 @@ checkK(f3,k0)
583assert(T.listk(f1)[1] == nil)
583assert(T.listk(f1)[1] == nil)
584assert(T.listk(f2)[1] == nil)
584assert(T.listk(f2)[1] == nil)
585end
585end
586−print("\79\75")
586+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/constructs.lua+69−69
@@ -1,9 +1,9 @@
1;
1;
2;
2;
3−print("\116\101\115\116\105\110\103\32\115\121\110\116\97\120")
3+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{79}\u{6e}\u{74}\u{61}\u{78}")
4;
4;
5;
5;
6−local debug = require("\100\101\98\117\103")
6+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
7local function checkload
7local function checkload
8(s,msg)
8(s,msg)
9assert(string.find(select(2,load(s)),msg))
9assert(string.find(select(2,load(s)),msg))
@@ -41,9 +41,9 @@ assert(- 3 - 1 - 5 == 0 + 0 - 9)
41assert(- 2 ^ 2 == - 4 and (- 2) ^ 2 == 4 and 2 * 2 - 3 - 1 == 0)
41assert(- 2 ^ 2 == - 4 and (- 2) ^ 2 == 4 and 2 * 2 - 3 - 1 == 0)
42;
42;
43assert(- 3 % 5 == 2 and - 3 + 5 == 2)
43assert(- 3 % 5 == 2 and - 3 + 5 == 2)
44−assert(2 * 1 + 3 / 3 == 3 and 1 + 2 .. 3 * 1 == "\51\51")
44+assert(2 * 1 + 3 / 3 == 3 and 1 + 2 .. 3 * 1 == "\u{33}\u{33}")
45;
45;
46−assert(not (2 + 1 > 3 * 1) and "\97" .. "\98" > "\97")
46+assert(not (2 + 1 > 3 * 1) and "\u{61}" .. "\u{62}" > "\u{61}")
47;
47;
48assert(240 | 204 ~ 170 & 253 == 244)
48assert(240 | 204 ~ 170 & 253 == 244)
49assert(253 & 170 ~ 204 | 240 == 244)
49assert(253 & 170 ~ 204 | 240 == 244)
@@ -74,13 +74,13 @@ x,y=2,1
74;
74;
75assert((x > y) and x or y == 2)
75assert((x > y) and x or y == 2)
76;
76;
77−assert(1234567890 == tonumber("\49\50\51\52\53\54\55\56\57\48") and 1234567890 + 1 == 1234567891)
77+assert(1234567890 == tonumber("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}") and 1234567890 + 1 == 1234567891)
78do
78do
79local operand = {3,100,5.0,- 10,- 5.0,10000,- 10000}
79local operand = {3,100,5.0,- 10,- 5.0,10000,- 10000}
80−local operator = {"\43","\45","\42","\47","\47\47","\37","\94","\38","\124","\94","\60\60","\62\62","\61\61","\126\61","\60","\62","\60\61","\62\61"}
80+local operator = {"\u{2b}","\u{2d}","\u{2a}","\u{2f}","\u{2f}\u{2f}","\u{25}","\u{5e}","\u{26}","\u{7c}","\u{5e}","\u{3c}\u{3c}","\u{3e}\u{3e}","\u{3d}\u{3d}","\u{7e}\u{3d}","\u{3c}","\u{3e}","\u{3c}\u{3d}","\u{3e}\u{3d}"}
81for _,op in ipairs(operator)
81for _,op in ipairs(operator)
82do
82do
83−local f = assert(load(string.format("\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\120\44\121\41\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\114\101\116\117\114\110\32\120\32\37\115\32\121\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\101\110\100",op)))()
83+local f = assert(load(string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{78}\u{2c}\u{79}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{20}\u{25}\u{73}\u{20}\u{79}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}",op)))()
84;
84;
85for _,o1 in ipairs(operand)
85for _,o1 in ipairs(operand)
86do
86do
@@ -88,14 +88,14 @@ for _,o2 in ipairs(operand)
88do
88do
89local gab = f(o1,o2)
89local gab = f(o1,o2)
90_ENV.XX=o1
90_ENV.XX=o1
91−local code = string.format("\114\101\116\117\114\110\32\88\88\32\37\115\32\37\115",op,o2)
91+local code = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{58}\u{58}\u{20}\u{25}\u{73}\u{20}\u{25}\u{73}",op,o2)
92local res = assert(load(code))()
92local res = assert(load(code))()
93assert(res == gab)
93assert(res == gab)
94_ENV.XX=o2
94_ENV.XX=o2
95−code=string.format("\114\101\116\117\114\110\32\40\37\115\41\32\37\115\32\88\88",o1,op)
95+code=string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{25}\u{73}\u{29}\u{20}\u{25}\u{73}\u{20}\u{58}\u{58}",o1,op)
96res=assert(load(code))()
96res=assert(load(code))()
97assert(res == gab)
97assert(res == gab)
98−code=string.format("\114\101\116\117\114\110\32\40\37\115\41\32\37\115\32\37\115",o1,op,o2)
98+code=string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{25}\u{73}\u{29}\u{20}\u{25}\u{73}\u{20}\u{25}\u{73}",o1,op,o2)
99res=assert(load(code))()
99res=assert(load(code))()
100assert(res == gab)
100assert(res == gab)
101end
101end
@@ -124,20 +124,20 @@ local a
124;
124;
125local function f
125local function f
126(x)
126(x)
127−x={["\97"] = 1}
127+x={["\u{61}"] = 1}
128;
128;
129−x={["\120"] = 1}
129+x={["\u{78}"] = 1}
130;
130;
131−x={["\71"] = 1}
131+x={["\u{47}"] = 1}
132end
132end
133end
133end
134do
134do
135−local code = {"\108\111\99\97\108\32\120\32\61\32\123"}
135+local code = {"\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{7b}"}
136for i = 1, 257
136for i = 1, 257
137do
137do
138−code[# code + 1]=i .. "\46\49\44"
138+code[# code + 1]=i .. "\u{2e}\u{31}\u{2c}"
139end
139end
140−code[# code + 1]="\125\59"
140+code[# code + 1]="\u{7d}\u{3b}"
141code=table.concat(code)
141code=table.concat(code)
142local function check
142local function check
143(ret,val)
143(ret,val)
@@ -145,15 +145,15 @@ local code = code .. ret
145code=load(code)
145code=load(code)
146assert(code() == val)
146assert(code() == val)
147end
147end
148−check("\114\101\116\117\114\110\32\40\49\32\126\32\40\50\32\111\114\32\51\41\41",1 ~ 2)
148+check("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{31}\u{20}\u{7e}\u{20}\u{28}\u{32}\u{20}\u{6f}\u{72}\u{20}\u{33}\u{29}\u{29}",1 ~ 2)
149−check("\114\101\116\117\114\110\32\40\49\32\124\32\40\50\32\111\114\32\51\41\41",1 | 2)
149+check("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{31}\u{20}\u{7c}\u{20}\u{28}\u{32}\u{20}\u{6f}\u{72}\u{20}\u{33}\u{29}\u{29}",1 | 2)
150−check("\114\101\116\117\114\110\32\40\49\32\43\32\40\50\32\111\114\32\51\41\41",1 + 2)
150+check("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{31}\u{20}\u{2b}\u{20}\u{28}\u{32}\u{20}\u{6f}\u{72}\u{20}\u{33}\u{29}\u{29}",1 + 2)
151−check("\114\101\116\117\114\110\32\40\49\32\60\60\32\40\50\32\111\114\32\51\41\41",1 << 2)
151+check("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{28}\u{31}\u{20}\u{3c}\u{3c}\u{20}\u{28}\u{32}\u{20}\u{6f}\u{72}\u{20}\u{33}\u{29}\u{29}",1 << 2)
152end
152end
153local function f
153local function f
154(i)
154(i)
155−if type(i) ~= "\110\117\109\98\101\114" then
155+if type(i) ~= "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" then
156−return i,"\106\111\106\111"
156+return i,"\u{6a}\u{6f}\u{6a}\u{6f}"
157end
157end
158;
158;
159if i > 0 then
159if i > 0 then
@@ -166,26 +166,26 @@ x={f(3),f(5),f(10)}
166assert(x[1] == 3 and x[2] == 5 and x[3] == 10 and x[4] == 9 and x[12] == 1)
166assert(x[1] == 3 and x[2] == 5 and x[3] == 10 and x[4] == 9 and x[12] == 1)
167;
167;
168assert(x[nil] == nil)
168assert(x[nil] == nil)
169−x={f("\97\108\111"),f("\120\105\120\105"),nil}
169+x={f("\u{61}\u{6c}\u{6f}"),f("\u{78}\u{69}\u{78}\u{69}"),nil}
170;
170;
171−assert(x[1] == "\97\108\111" and x[2] == "\120\105\120\105" and x[3] == nil)
171+assert(x[1] == "\u{61}\u{6c}\u{6f}" and x[2] == "\u{78}\u{69}\u{78}\u{69}" and x[3] == nil)
172;
172;
173−x={f("\97\108\111") .. "\120\105\120\105"}
173+x={f("\u{61}\u{6c}\u{6f}") .. "\u{78}\u{69}\u{78}\u{69}"}
174;
174;
175−assert(x[1] == "\97\108\111\120\105\120\105")
175+assert(x[1] == "\u{61}\u{6c}\u{6f}\u{78}\u{69}\u{78}\u{69}")
176x={f({})}
176x={f({})}
177−assert(x[2] == "\106\111\106\111" and type(x[1]) == "\116\97\98\108\101")
177+assert(x[2] == "\u{6a}\u{6f}\u{6a}\u{6f}" and type(x[1]) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
178local f = function (i)
178local f = function (i)
179if i < 10 then
179if i < 10 then
180−return "\97"
180+return "\u{61}"
181elseif i < 20 then
181elseif i < 20 then
182−return "\98"
182+return "\u{62}"
183elseif i < 30 then
183elseif i < 30 then
184−return "\99"
184+return "\u{63}"
185end
185end
186;
186;
187end
187end
188−assert(f(3) == "\97" and f(12) == "\98" and f(26) == "\99" and f(100) == nil)
188+assert(f(3) == "\u{61}" and f(12) == "\u{62}" and f(26) == "\u{63}" and f(100) == nil)
189for i = 1, 1000
189for i = 1, 1000
190do
190do
191break
191break
@@ -252,22 +252,22 @@ end
252assert(f(1) == 10 and f(2) == 20 and f(3) == 30 and f(4) == 12)
252assert(f(1) == 10 and f(2) == 20 and f(3) == 30 and f(4) == 12)
253local f = function (i)
253local f = function (i)
254if i < 10 then
254if i < 10 then
255−return "\97"
255+return "\u{61}"
256elseif i < 20 then
256elseif i < 20 then
257−return "\98"
257+return "\u{62}"
258elseif i < 30 then
258elseif i < 30 then
259−return "\99"
259+return "\u{63}"
260else
260else
261return 8
261return 8
262end
262end
263end
263end
264−assert(f(3) == "\97" and f(12) == "\98" and f(26) == "\99" and f(100) == 8)
264+assert(f(3) == "\u{61}" and f(12) == "\u{62}" and f(26) == "\u{63}" and f(100) == 8)
265local a,b = nil,23
265local a,b = nil,23
266x={f(100) * 2 + 3 or a,a or b + 2}
266x={f(100) * 2 + 3 or a,a or b + 2}
267assert(x[1] == 19 and x[2] == 25)
267assert(x[1] == 19 and x[2] == 25)
268−x={["\102"] = 2 + 3 or a,["\97"] = b + 2}
268+x={["\u{66}"] = 2 + 3 or a,["\u{61}"] = b + 2}
269assert(x.f == 5 and x.a == 25)
269assert(x.f == 5 and x.a == 25)
270−a={["\121"] = 1}
270+a={["\u{79}"] = 1}
271x={a.y}
271x={a.y}
272assert(x[1] == 1)
272assert(x[1] == 1)
273local function f
273local function f
@@ -324,17 +324,17 @@ return nil or f()
324end
324end
325a,b=g()
325a,b=g()
326assert(a == 1 and b == nil)
326assert(a == 1 and b == nil)
327−print("\43")
327+print("\u{2b}")
328;
328;
329do
329do
330−local prog <const> = "\108\111\99\97\108\32\120\32\60\88\88\88\62\32\61\32\49\48"
330+local prog <const> = "\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3c}\u{58}\u{58}\u{58}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}"
331−checkload(prog,"\117\110\107\110\111\119\110\32\97\116\116\114\105\98\117\116\101\32\39\88\88\88\39")
331+checkload(prog,"\u{75}\u{6e}\u{6b}\u{6e}\u{6f}\u{77}\u{6e}\u{20}\u{61}\u{74}\u{74}\u{72}\u{69}\u{62}\u{75}\u{74}\u{65}\u{20}\u{27}\u{58}\u{58}\u{58}\u{27}")
332−checkload("\108\111\99\97\108\32\120\120\120\32\60\99\111\110\115\116\62\32\61\32\50\48\59\32\120\120\120\32\61\32\49\48","\58\49\58\32\97\116\116\101\109\112\116\32\116\111\32\97\115\115\105\103\110\32\116\111\32\99\111\110\115\116\32\118\97\114\105\97\98\108\101\32\39\120\120\120\39")
332+checkload("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{78}\u{78}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{78}\u{78}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{30}","\u{3a}\u{31}\u{3a}\u{20}\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{61}\u{73}\u{73}\u{69}\u{67}\u{6e}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{27}\u{78}\u{78}\u{78}\u{27}")
333−checkload("\32\32\32\32\108\111\99\97\108\32\120\120\59\10\32\32\32\32\108\111\99\97\108\32\120\120\120\32\60\99\111\110\115\116\62\32\61\32\50\48\59\10\32\32\32\32\108\111\99\97\108\32\121\121\121\59\10\32\32\32\32\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\32\40\41\10\32\32\32\32\32\32\108\111\99\97\108\32\97\98\99\32\61\32\120\120\32\43\32\121\121\121\32\43\32\120\120\120\59\10\32\32\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\41\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\41\32\120\120\120\32\61\32\121\121\121\32\101\110\100\32\101\110\100\10\32\32\32\32\101\110\100\10\32\32","\58\54\58\32\97\116\116\101\109\112\116\32\116\111\32\97\115\115\105\103\110\32\116\111\32\99\111\110\115\116\32\118\97\114\105\97\98\108\101\32\39\120\120\120\39")
333+checkload("\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{78}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{78}\u{78}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{32}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{79}\u{79}\u{79}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\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{6f}\u{6f}\u{20}\u{28}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{62}\u{63}\u{20}\u{3d}\u{20}\u{78}\u{78}\u{20}\u{2b}\u{20}\u{79}\u{79}\u{79}\u{20}\u{2b}\u{20}\u{78}\u{78}\u{78}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{78}\u{78}\u{78}\u{20}\u{3d}\u{20}\u{79}\u{79}\u{79}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}","\u{3a}\u{36}\u{3a}\u{20}\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{61}\u{73}\u{73}\u{69}\u{67}\u{6e}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{27}\u{78}\u{78}\u{78}\u{27}")
334−checkload("\32\32\32\32\108\111\99\97\108\32\120\32\60\99\108\111\115\101\62\32\61\32\110\105\108\10\32\32\32\32\120\32\61\32\105\111\46\111\112\101\110\40\41\10\32\32","\58\50\58\32\97\116\116\101\109\112\116\32\116\111\32\97\115\115\105\103\110\32\116\111\32\99\111\110\115\116\32\118\97\114\105\97\98\108\101\32\39\120\39")
334+checkload("\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3c}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{3e}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{20}\u{20}\u{20}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{69}\u{6f}\u{2e}\u{6f}\u{70}\u{65}\u{6e}\u{28}\u{29}\u{a}\u{20}\u{20}","\u{3a}\u{32}\u{3a}\u{20}\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{61}\u{73}\u{73}\u{69}\u{67}\u{6e}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{27}\u{78}\u{27}")
335end
335end
336−f="\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\32\97\32\44\32\98\32\44\32\99\32\44\32\100\32\44\32\101\32\41\10\32\32\108\111\99\97\108\32\120\32\61\32\97\32\62\61\32\98\32\111\114\32\99\32\111\114\32\40\32\100\32\97\110\100\32\101\32\41\32\111\114\32\110\105\108\10\32\32\114\101\116\117\114\110\32\120\10\101\110\100\32\44\32\123\32\97\32\61\32\49\32\44\32\98\32\61\32\50\32\62\61\32\49\32\44\32\125\32\111\114\32\123\32\49\32\125\59\10"
336+f="\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{20}\u{61}\u{20}\u{2c}\u{20}\u{62}\u{20}\u{2c}\u{20}\u{63}\u{20}\u{2c}\u{20}\u{64}\u{20}\u{2c}\u{20}\u{65}\u{20}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{3e}\u{3d}\u{20}\u{62}\u{20}\u{6f}\u{72}\u{20}\u{63}\u{20}\u{6f}\u{72}\u{20}\u{28}\u{20}\u{64}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{65}\u{20}\u{29}\u{20}\u{6f}\u{72}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{a}\u{65}\u{6e}\u{64}\u{20}\u{2c}\u{20}\u{7b}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{20}\u{2c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{32}\u{20}\u{3e}\u{3d}\u{20}\u{31}\u{20}\u{2c}\u{20}\u{7d}\u{20}\u{6f}\u{72}\u{20}\u{7b}\u{20}\u{31}\u{20}\u{7d}\u{3b}\u{a}"
337−f=string.gsub(f,"\37\115\43","\10")
337+f=string.gsub(f,"\u{25}\u{73}\u{2b}","\u{a}")
338;
338;
339f,a=load(f)()
339f,a=load(f)()
340;
340;
@@ -357,19 +357,19 @@ return 0
357end
357end
358;
358;
359assert(f(2,1) == true and g(2,1) == 1 and h(2,1) == 1)
359assert(f(2,1) == true and g(2,1) == 1 and h(2,1) == 1)
360−assert(f(1,2,"\97") == "\97" and g(1,2,"\97") == 1 and h(1,2,"\97") == 1)
360+assert(f(1,2,"\u{61}") == "\u{61}" and g(1,2,"\u{61}") == 1 and h(1,2,"\u{61}") == 1)
361−assert(f(1,2,"\97") ~= nil,"")
361+assert(f(1,2,"\u{61}") ~= nil,"")
362−assert(f(1,2,"\97") == "\97" and g(1,2,"\97") == 1 and h(1,2,"\97") == 1)
362+assert(f(1,2,"\u{61}") == "\u{61}" and g(1,2,"\u{61}") == 1 and h(1,2,"\u{61}") == 1)
363−assert(f(1,2,nil,1,"\120") == "\120" and g(1,2,nil,1,"\120") == 1 and h(1,2,nil,1,"\120") == 1)
363+assert(f(1,2,nil,1,"\u{78}") == "\u{78}" and g(1,2,nil,1,"\u{78}") == 1 and h(1,2,nil,1,"\u{78}") == 1)
364−assert(f(1,2,nil,nil,"\120") == nil and g(1,2,nil,nil,"\120") == 0 and h(1,2,nil,nil,"\120") == 0)
364+assert(f(1,2,nil,nil,"\u{78}") == nil and g(1,2,nil,nil,"\u{78}") == 0 and h(1,2,nil,nil,"\u{78}") == 0)
365assert(f(1,2,nil,1,nil) == nil and g(1,2,nil,1,nil) == 0 and h(1,2,nil,1,nil) == 0)
365assert(f(1,2,nil,1,nil) == nil and g(1,2,nil,1,nil) == 0 and h(1,2,nil,1,nil) == 0)
366−assert(1 and 2 < 3 == true and 2 < 3 and "\97" < "\98" == true)
366+assert(1 and 2 < 3 == true and 2 < 3 and "\u{61}" < "\u{62}" == true)
367x=2 < 3 and not 3
367x=2 < 3 and not 3
368;
368;
369assert(x == false)
369assert(x == false)
370−x=2 < 1 or (2 > 1 and "\97")
370+x=2 < 1 or (2 > 1 and "\u{61}")
371;
371;
372−assert(x == "\97")
372+assert(x == "\u{61}")
373do
373do
374local a
374local a
375;
375;
@@ -385,7 +385,7 @@ assert(a == 2)
385end
385end
386local function F
386local function F
387(a)
387(a)
388−assert(debug.getinfo(1,"\110").name == "\70")
388+assert(debug.getinfo(1,"\u{6e}").name == "\u{46}")
389return a,2,3
389return a,2,3
390end
390end
391a,b=F(1) ~= nil
391a,b=F(1) ~= nil
@@ -396,23 +396,23 @@ a,b=F(nil) == nil
396;
396;
397assert(a == true and b == nil)
397assert(a == true and b == nil)
398_ENV.GLOB1=math.random(0,1)
398_ENV.GLOB1=math.random(0,1)
399−local basiccases = {{"\110\105\108",nil},{"\102\97\108\115\101",false},{"\116\114\117\101",true},{"\49\48",10},{"\40\48\61\61\95\69\78\86\46\71\76\79\66\49\41",0 == _ENV.GLOB1}}
399+local basiccases = {{"\u{6e}\u{69}\u{6c}",nil},{"\u{66}\u{61}\u{6c}\u{73}\u{65}",false},{"\u{74}\u{72}\u{75}\u{65}",true},{"\u{31}\u{30}",10},{"\u{28}\u{30}\u{3d}\u{3d}\u{5f}\u{45}\u{4e}\u{56}\u{2e}\u{47}\u{4c}\u{4f}\u{42}\u{31}\u{29}",0 == _ENV.GLOB1}}
400local prog
400local prog
401if _ENV.GLOB1 == 0 then
401if _ENV.GLOB1 == 0 then
402−basiccases[2][1]="\70"
402+basiccases[2][1]="\u{46}"
403−prog="\32\32\32\32\108\111\99\97\108\32\70\32\60\99\111\110\115\116\62\32\61\32\102\97\108\115\101\10\32\32\32\32\105\102\32\37\115\32\116\104\101\110\32\73\88\32\61\32\116\114\117\101\32\101\110\100\10\32\32\32\32\114\101\116\117\114\110\32\37\115\10"
403+prog="\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{46}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{66}\u{61}\u{6c}\u{73}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{25}\u{73}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{49}\u{58}\u{20}\u{3d}\u{20}\u{74}\u{72}\u{75}\u{65}\u{20}\u{65}\u{6e}\u{64}\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{25}\u{73}\u{a}"
404else
404else
405−basiccases[4][1]="\107\49\48"
405+basiccases[4][1]="\u{6b}\u{31}\u{30}"
406−prog="\32\32\32\32\108\111\99\97\108\32\107\49\48\32\60\99\111\110\115\116\62\32\61\32\49\48\10\32\32\32\32\105\102\32\37\115\32\116\104\101\110\32\73\88\32\61\32\116\114\117\101\32\101\110\100\10\32\32\32\32\114\101\116\117\114\110\32\37\115\10\32\32"
406+prog="\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{6b}\u{31}\u{30}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{25}\u{73}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{49}\u{58}\u{20}\u{3d}\u{20}\u{74}\u{72}\u{75}\u{65}\u{20}\u{65}\u{6e}\u{64}\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{25}\u{73}\u{a}\u{20}\u{20}"
407end
407end
408−print("\116\101\115\116\105\110\103\32\115\104\111\114\116\45\99\105\114\99\117\105\116\32\111\112\116\105\109\105\122\97\116\105\111\110\115\32\40" .. _ENV.GLOB1 .. "\41")
408+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{68}\u{6f}\u{72}\u{74}\u{2d}\u{63}\u{69}\u{72}\u{63}\u{75}\u{69}\u{74}\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}\u{20}\u{28}" .. _ENV.GLOB1 .. "\u{29}")
409−local binops <const> = {{"\32\97\110\100\32",function (a,b)
409+local binops <const> = {{"\u{20}\u{61}\u{6e}\u{64}\u{20}",function (a,b)
410if not a then
410if not a then
411return a
411return a
412else
412else
413return b
413return b
414end
414end
415−end},{"\32\111\114\32",function (a,b)
415+end},{"\u{20}\u{6f}\u{72}\u{20}",function (a,b)
416if a then
416if a then
417return a
417return a
418else
418else
@@ -431,9 +431,9 @@ for _,v2 in ipairs(cases[n - i])
431do
431do
432for _,op in ipairs(binops)
432for _,op in ipairs(binops)
433do
433do
434−local t = {"\40" .. v1[1] .. op[1] .. v2[1] .. "\41",op[2](v1[2],v2[2])}
434+local t = {"\u{28}" .. v1[1] .. op[1] .. v2[1] .. "\u{29}",op[2](v1[2],v2[2])}
435res[# res + 1]=t
435res[# res + 1]=t
436−res[# res + 1]={"\110\111\116" .. t[1],not t[2]}
436+res[# res + 1]={"\u{6e}\u{6f}\u{74}" .. t[1],not t[2]}
437end
437end
438end
438end
439end
439end
@@ -446,7 +446,7 @@ for i = 2, level
446do
446do
447cases[i]=createcases(i)
447cases[i]=createcases(i)
448end
448end
449−print("\43")
449+print("\u{2b}")
450local i = 0
450local i = 0
451for n = 1, level
451for n = 1, level
452do
452do
@@ -458,12 +458,12 @@ IX=false
458assert(p() == v[2] and IX == not not v[2])
458assert(p() == v[2] and IX == not not v[2])
459i=i + 1
459i=i + 1
460if i % 60000 == 0 then
460if i % 60000 == 0 then
461−print("\43")
461+print("\u{2b}")
462end
462end
463end
463end
464end
464end
465IX=nil
465IX=nil
466_G.GLOB1=nil
466_G.GLOB1=nil
467−checkload("\102\111\114\32\120\32\100\111","\101\120\112\101\99\116\101\100")
467+checkload("\u{66}\u{6f}\u{72}\u{20}\u{78}\u{20}\u{64}\u{6f}","\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}")
468−checkload("\120\58\99\97\108\108","\101\120\112\101\99\116\101\100")
468+checkload("\u{78}\u{3a}\u{63}\u{61}\u{6c}\u{6c}","\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}")
469−print("\79\75")
469+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/coroutine.lua+205−205
@@ -1,8 +1,8 @@
1−print("\116\101\115\116\105\110\103\32\99\111\114\111\117\116\105\110\101\115")
1+print("\u{74}\u{65}\u{73}\u{74}\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}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3local f
3local f
4local main,ismain = coroutine.running()
4local main,ismain = coroutine.running()
5−assert(type(main) == "\116\104\114\101\97\100" and ismain)
5+assert(type(main) == "\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}" and ismain)
6assert(not coroutine.resume(main))
6assert(not coroutine.resume(main))
7assert(not coroutine.isyieldable(main) and not coroutine.isyieldable())
7assert(not coroutine.isyieldable(main) and not coroutine.isyieldable())
8assert(not pcall(coroutine.yield))
8assert(not pcall(coroutine.yield))
@@ -24,7 +24,7 @@ local function foo
24local x,y = coroutine.running()
24local x,y = coroutine.running()
25assert(x == f and y == false)
25assert(x == f and y == false)
26assert(coroutine.resume(f) == false)
26assert(coroutine.resume(f) == false)
27−assert(coroutine.status(f) == "\114\117\110\110\105\110\103")
27+assert(coroutine.status(f) == "\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}")
28local arg = {...}
28local arg = {...}
29assert(coroutine.isyieldable(x))
29assert(coroutine.isyieldable(x))
30for i = 1, # arg
30for i = 1, # arg
@@ -35,25 +35,25 @@ return table.unpack(a)
35end
35end
36f=coroutine.create(foo)
36f=coroutine.create(foo)
37assert(coroutine.isyieldable(f))
37assert(coroutine.isyieldable(f))
38−assert(type(f) == "\116\104\114\101\97\100" and coroutine.status(f) == "\115\117\115\112\101\110\100\101\100")
38+assert(type(f) == "\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}" and coroutine.status(f) == "\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}")
39−assert(string.find(tostring(f),"\116\104\114\101\97\100"))
39+assert(string.find(tostring(f),"\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}"))
40local s,a,b,c,d
40local s,a,b,c,d
41−s,a,b,c,d=coroutine.resume(f,{1,2,3},{},{1},{"\97","\98","\99"})
41+s,a,b,c,d=coroutine.resume(f,{1,2,3},{},{1},{"\u{61}","\u{62}","\u{63}"})
42assert(coroutine.isyieldable(f))
42assert(coroutine.isyieldable(f))
43−assert(s and a == nil and coroutine.status(f) == "\115\117\115\112\101\110\100\101\100")
43+assert(s and a == nil and coroutine.status(f) == "\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}")
44s,a,b,c,d=coroutine.resume(f)
44s,a,b,c,d=coroutine.resume(f)
45eqtab(_G.x,{})
45eqtab(_G.x,{})
46assert(s and a == 1 and b == nil)
46assert(s and a == 1 and b == nil)
47assert(coroutine.isyieldable(f))
47assert(coroutine.isyieldable(f))
48s,a,b,c,d=coroutine.resume(f,1,2,3)
48s,a,b,c,d=coroutine.resume(f,1,2,3)
49eqtab(_G.x,{1,2,3})
49eqtab(_G.x,{1,2,3})
50−assert(s and a == "\97" and b == "\98" and c == "\99" and d == nil)
50+assert(s and a == "\u{61}" and b == "\u{62}" and c == "\u{63}" and d == nil)
51−s,a,b,c,d=coroutine.resume(f,"\120\117\120\117")
51+s,a,b,c,d=coroutine.resume(f,"\u{78}\u{75}\u{78}\u{75}")
52−eqtab(_G.x,{"\120\117\120\117"})
52+eqtab(_G.x,{"\u{78}\u{75}\u{78}\u{75}"})
53assert(s and a == 1 and b == 2 and c == 3 and d == nil)
53assert(s and a == 1 and b == 2 and c == 3 and d == nil)
54−assert(coroutine.status(f) == "\100\101\97\100")
54+assert(coroutine.status(f) == "\u{64}\u{65}\u{61}\u{64}")
55−s,a=coroutine.resume(f,"\120\117\120\117")
55+s,a=coroutine.resume(f,"\u{78}\u{75}\u{78}\u{75}")
56−assert(not s and string.find(a,"\100\101\97\100") and coroutine.status(f) == "\100\101\97\100")
56+assert(not s and string.find(a,"\u{64}\u{65}\u{61}\u{64}") and coroutine.status(f) == "\u{64}\u{65}\u{61}\u{64}")
57_G.f=nil
57_G.f=nil
58local function foo
58local function foo
59(i)
59(i)
@@ -64,7 +64,7 @@ for i = 1, 10
64do
64do
65assert(foo(i) == _G.x)
65assert(foo(i) == _G.x)
66end
66end
67−return "\97"
67+return "\u{61}"
68end)
68end)
69for i = 1, 10
69for i = 1, 10
70do
70do
@@ -72,9 +72,9 @@ _G.x=i
72;
72;
73assert(f(i) == i)
73assert(f(i) == i)
74end
74end
75−_G.x="\120\117\120\117"
75+_G.x="\u{78}\u{75}\u{78}\u{75}"
76;
76;
77−assert(f("\120\117\120\117") == "\97")
77+assert(f("\u{78}\u{75}\u{78}\u{75}") == "\u{61}")
78_G.x=nil
78_G.x=nil
79local function pf
79local function pf
80(n,i)
80(n,i)
@@ -123,26 +123,26 @@ x=filter(n,x)
123end
123end
124assert(# a == 22 and a[# a] == 79)
124assert(# a == 22 and a[# a] == 79)
125x,a=nil
125x,a=nil
126−print("\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115\32\105\110\32\99\111\114\111\117\116\105\110\101\115")
126+print("\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}\u{20}\u{69}\u{6e}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}")
127local function func2close
127local function func2close
128(f)
128(f)
129−return setmetatable({},{["\95\95\99\108\111\115\101"] = f})
129+return setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = f})
130end
130end
131do
131do
132local co = coroutine.create(print)
132local co = coroutine.create(print)
133−assert(coroutine.resume(co,"\116\101\115\116\105\110\103\32\39\99\111\114\111\117\116\105\110\101\46\99\108\111\115\101\39"))
133+assert(coroutine.resume(co,"\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{27}"))
134−assert(coroutine.status(co) == "\100\101\97\100")
134+assert(coroutine.status(co) == "\u{64}\u{65}\u{61}\u{64}")
135local st,msg = coroutine.close(co)
135local st,msg = coroutine.close(co)
136assert(st and msg == nil)
136assert(st and msg == nil)
137st,msg=coroutine.close(co)
137st,msg=coroutine.close(co)
138assert(st and msg == nil)
138assert(st and msg == nil)
139local st,msg = pcall(coroutine.close,coroutine.running())
139local st,msg = pcall(coroutine.close,coroutine.running())
140−assert(not st and string.find(msg,"\114\117\110\110\105\110\103"))
140+assert(not st and string.find(msg,"\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
141local main = coroutine.running()
141local main = coroutine.running()
142;
142;
143(coroutine.wrap(function ()
143(coroutine.wrap(function ()
144local st,msg = pcall(coroutine.close,main)
144local st,msg = pcall(coroutine.close,main)
145−assert(not st and string.find(msg,"\110\111\114\109\97\108"))
145+assert(not st and string.find(msg,"\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}"))
146end))()
146end))()
147do
147do
148local co
148local co
@@ -155,7 +155,7 @@ end)
155local st,msg = coroutine.resume(co)
155local st,msg = coroutine.resume(co)
156assert(st and msg == 20)
156assert(st and msg == 20)
157st,msg=coroutine.close(co)
157st,msg=coroutine.close(co)
158−assert(not st and string.find(msg,"\114\117\110\110\105\110\103\32\99\111\114\111\117\116\105\110\101"))
158+assert(not st and string.find(msg,"\u{72}\u{75}\u{6e}\u{6e}\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}"))
159end
159end
160local X
160local X
161local co = coroutine.create(error)
161local co = coroutine.create(error)
@@ -177,7 +177,7 @@ end)
177coroutine.resume(co)
177coroutine.resume(co)
178assert(X)
178assert(X)
179assert(coroutine.close(co))
179assert(coroutine.close(co))
180−assert(not X and coroutine.status(co) == "\100\101\97\100")
180+assert(not X and coroutine.status(co) == "\u{64}\u{65}\u{61}\u{64}")
181local x = 0
181local x = 0
182co=coroutine.create(function ()
182co=coroutine.create(function ()
183local y <close> = func2close(function (self,err)
183local y <close> = func2close(function (self,err)
@@ -195,7 +195,7 @@ end)
195coroutine.resume(co)
195coroutine.resume(co)
196assert(x == 0)
196assert(x == 0)
197local st,msg = coroutine.close(co)
197local st,msg = coroutine.close(co)
198−assert(st == false and coroutine.status(co) == "\100\101\97\100" and msg == 200)
198+assert(st == false and coroutine.status(co) == "\u{64}\u{65}\u{61}\u{64}" and msg == 200)
199assert(x == 200)
199assert(x == 200)
200st,msg=coroutine.close(co)
200st,msg=coroutine.close(co)
201assert(st and msg == nil)
201assert(st and msg == nil)
@@ -216,7 +216,7 @@ return pcall(foo)
216end)
216end)
217local st1,st2,err = coroutine.resume(co)
217local st1,st2,err = coroutine.resume(co)
218assert(st1 and not st2 and err == 43)
218assert(st1 and not st2 and err == 43)
219−assert(X == 43 and Y.what == "\67")
219+assert(X == 43 and Y.what == "\u{43}")
220local track = {}
220local track = {}
221local function h
221local function h
222(o)
222(o)
@@ -247,7 +247,7 @@ local co = coroutine.create(pcall)
247local st,res = coroutine.resume(co,foo)
247local st,res = coroutine.resume(co,foo)
248assert(st and res == 1)
248assert(st and res == 1)
249local st,res1,res2 = coroutine.resume(co)
249local st,res1,res2 = coroutine.resume(co)
250−assert(coroutine.status(co) == "\100\101\97\100")
250+assert(coroutine.status(co) == "\u{64}\u{65}\u{61}\u{64}")
251assert(st and not res1 and res2 == 20)
251assert(st and not res1 and res2 == 20)
252assert(track[1] == false and track[2] == 2 and track[3] == 10 and track[4] == 10)
252assert(track[1] == false and track[2] == 2 and track[3] == 10 and track[4] == 10)
253end
253end
@@ -307,10 +307,10 @@ return c .. c
307end
307end
308local co = coroutine.wrap(function (c)
308local co = coroutine.wrap(function (c)
309assert(coroutine.isyieldable())
309assert(coroutine.isyieldable())
310−local s = string.gsub("\97","\46",f)
310+local s = string.gsub("\u{61}","\u{2e}",f)
311return s
311return s
312end)
312end)
313−assert(co() == "\97\97")
313+assert(co() == "\u{61}\u{61}")
314end
314end
315do
315do
316local X
316local X
@@ -323,11 +323,11 @@ local function dotrace
323(event)
323(event)
324trace[# trace + 1]=event
324trace[# trace + 1]=event
325end
325end
326−debug.sethook(co,dotrace,"\99\108\114")
326+debug.sethook(co,dotrace,"\u{63}\u{6c}\u{72}")
327repeat
327repeat
328
328
329until not coroutine.resume(co)
329until not coroutine.resume(co)
330−local correcttrace = {"\99\97\108\108","\108\105\110\101","\99\97\108\108","\114\101\116\117\114\110","\108\105\110\101","\114\101\116\117\114\110"}
330+local correcttrace = {"\u{63}\u{61}\u{6c}\u{6c}","\u{6c}\u{69}\u{6e}\u{65}","\u{63}\u{61}\u{6c}\u{6c}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}","\u{6c}\u{69}\u{6e}\u{65}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"}
331assert(# trace == # correcttrace)
331assert(# trace == # correcttrace)
332for k,v in pairs(trace)
332for k,v in pairs(trace)
333do
333do
@@ -351,9 +351,9 @@ x=coroutine.create(goo)
351a,b=coroutine.resume(x)
351a,b=coroutine.resume(x)
352assert(a and b == 3)
352assert(a and b == 3)
353a,b=coroutine.resume(x)
353a,b=coroutine.resume(x)
354−assert(not a and b == foo and coroutine.status(x) == "\100\101\97\100")
354+assert(not a and b == foo and coroutine.status(x) == "\u{64}\u{65}\u{61}\u{64}")
355a,b=coroutine.resume(x)
355a,b=coroutine.resume(x)
356−assert(not a and string.find(b,"\100\101\97\100") and coroutine.status(x) == "\100\101\97\100")
356+assert(not a and string.find(b,"\u{64}\u{65}\u{61}\u{64}") and coroutine.status(x) == "\u{64}\u{65}\u{61}\u{64}")
357goo=nil
357goo=nil
358local function all
358local function all
359(a,n,k)
359(a,n,k)
@@ -377,7 +377,7 @@ end
377assert(a == 5 ^ 4)
377assert(a == 5 ^ 4)
378local C = {}
378local C = {}
379;
379;
380−setmetatable(C,{["\95\95\109\111\100\101"] = "\107\118"})
380+setmetatable(C,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
381local x = coroutine.wrap(function ()
381local x = coroutine.wrap(function ()
382local a = 10
382local a = 10
383local function f
383local function f
@@ -432,7 +432,7 @@ end)
432return pcall(A,1)
432return pcall(A,1)
433end)
433end)
434st,res=A()
434st,res=A()
435−assert(not st and string.find(res,"\110\111\110\37\45\115\117\115\112\101\110\100\101\100") and X == true)
435+assert(not st and string.find(res,"\u{6e}\u{6f}\u{6e}\u{25}\u{2d}\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}") and X == true)
436end
436end
437do
437do
438local co
438local co
@@ -445,20 +445,20 @@ end)
445local st,errobj = pcall(co)
445local st,errobj = pcall(co)
446assert(not st and errobj == 111)
446assert(not st and errobj == 111)
447st,errobj=pcall(co)
447st,errobj=pcall(co)
448−assert(not st and string.find(errobj,"\100\101\97\100\32\99\111\114\111\117\116\105\110\101"))
448+assert(not st and string.find(errobj,"\u{64}\u{65}\u{61}\u{64}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}"))
449end
449end
450local co1,co2
450local co1,co2
451co1=coroutine.create(function ()
451co1=coroutine.create(function ()
452return co2()
452return co2()
453end)
453end)
454co2=coroutine.wrap(function ()
454co2=coroutine.wrap(function ()
455−assert(coroutine.status(co1) == "\110\111\114\109\97\108")
455+assert(coroutine.status(co1) == "\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}")
456assert(not coroutine.resume(co1))
456assert(not coroutine.resume(co1))
457coroutine.yield(3)
457coroutine.yield(3)
458end)
458end)
459a,b=coroutine.resume(co1)
459a,b=coroutine.resume(co1)
460assert(a and b == 3)
460assert(a and b == 3)
461−assert(coroutine.status(co1) == "\100\101\97\100")
461+assert(coroutine.status(co1) == "\u{64}\u{65}\u{61}\u{64}")
462a=function (a)
462a=function (a)
463coroutine.wrap(a)(a)
463coroutine.wrap(a)(a)
464end
464end
@@ -471,7 +471,7 @@ a=a + 1
471;
471;
472return a
472return a
473end
473end
474−error("\120")
474+error("\u{78}")
475end)
475end)
476assert(not coroutine.resume(x))
476assert(not coroutine.resume(x))
477assert(not coroutine.resume(x,1,1,1,1,1,1,1))
477assert(not coroutine.resume(x,1,1,1,1,1,1,1))
@@ -479,9 +479,9 @@ assert(_G.F() == 11)
479assert(_G.F() == 12)
479assert(_G.F() == 12)
480_G.F=nil
480_G.F=nil
481if not T then
481if not T then
482−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\99\111\114\111\117\116\105\110\101\32\65\80\73\32\116\101\115\116\115\32\60\60\60\10")
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}")
483else
483else
484−print("\116\101\115\116\105\110\103\32\121\105\101\108\100\115\32\105\110\115\105\100\101\32\104\111\111\107\115")
484+print("\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}")
485local turn
485local turn
486local function fact
486local function fact
487(t,x)
487(t,x)
@@ -494,21 +494,21 @@ end
494end
494end
495local A,B = 0,0
495local A,B = 0,0
496local x = coroutine.create(function ()
496local x = coroutine.create(function ()
497−T.sethook("\121\105\101\108\100\32\48","",2)
497+T.sethook("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","",2)
498−A=fact("\65",6)
498+A=fact("\u{41}",6)
499end)
499end)
500local y = coroutine.create(function ()
500local y = coroutine.create(function ()
501−T.sethook("\121\105\101\108\100\32\48","",3)
501+T.sethook("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","",3)
502−B=fact("\66",7)
502+B=fact("\u{42}",7)
503end)
503end)
504while A == 0 or B == 0 do
504while A == 0 or B == 0 do
505if A == 0 then
505if A == 0 then
506−turn="\65"
506+turn="\u{41}"
507;
507;
508assert(T.resume(x))
508assert(T.resume(x))
509end
509end
510if B == 0 then
510if B == 0 then
511−turn="\66"
511+turn="\u{42}"
512;
512;
513assert(T.resume(y))
513assert(T.resume(y))
514end
514end
@@ -527,7 +527,7 @@ for i = 1, n
527do
527do
528a[i]=i
528a[i]=i
529end
529end
530−T.sethook("\112\117\115\104\105\110\116\32\49\48\59\32\121\105\101\108\100\32\48","",1)
530+T.sethook("\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","",1)
531local a1 = {table.unpack(a)}
531local a1 = {table.unpack(a)}
532assert(# a1 == n)
532assert(# a1 == n)
533for i = 1, n
533for i = 1, n
@@ -558,7 +558,7 @@ while not done do
558co()
558co()
559end
559end
560end
560end
561−local line = debug.getinfo(1,"\108").currentline + 2
561+local line = debug.getinfo(1,"\u{6c}").currentline + 2
562local function foo
562local function foo
563()
563()
564local x = 10
564local x = 10
@@ -566,7 +566,7 @@ x=x + 10
566_G.XX=x
566_G.XX=x
567end
567end
568local co = coroutine.wrap(function ()
568local co = coroutine.wrap(function ()
569−T.sethook("\115\101\116\103\108\111\98\97\108\32\88\59\32\121\105\101\108\100\32\48","\108",0)
569+T.sethook("\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{58}\u{3b}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","\u{6c}",0)
570;
570;
571foo()
571foo()
572;
572;
@@ -597,7 +597,7 @@ assert(_G.X == line + 3 and _G.XX == 20)
597assert(co() == 10)
597assert(co() == 10)
598_G.X=nil
598_G.X=nil
599co=coroutine.wrap(function ()
599co=coroutine.wrap(function ()
600−T.sethook("\121\105\101\108\100\32\48","",1)
600+T.sethook("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","",1)
601;
601;
602foo()
602foo()
603;
603;
@@ -613,7 +613,7 @@ local a = co()
613until a == 10
613until a == 10
614assert(_G.XX == 20 and c >= 5)
614assert(_G.XX == 20 and c >= 5)
615co=coroutine.wrap(function ()
615co=coroutine.wrap(function ()
616−T.sethook("\121\105\101\108\100\32\48","",2)
616+T.sethook("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","",2)
617;
617;
618foo()
618foo()
619;
619;
@@ -633,27 +633,27 @@ _G.X=nil
633_G.XX=nil
633_G.XX=nil
634do
634do
635c=coroutine.create(function (a, ...)
635c=coroutine.create(function (a, ...)
636−T.sethook("\121\105\101\108\100\32\48","\108")
636+T.sethook("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{30}","\u{6c}")
637local b = a
637local b = a
638return ...
638return ...
639end)
639end)
640assert(coroutine.resume(c,1,2,3))
640assert(coroutine.resume(c,1,2,3))
641local n,v = debug.getlocal(c,0,1)
641local n,v = debug.getlocal(c,0,1)
642−assert(n == "\97" and v == 1 and debug.getlocal(c,0,2) ~= "\98")
642+assert(n == "\u{61}" and v == 1 and debug.getlocal(c,0,2) ~= "\u{62}")
643assert(debug.setlocal(c,0,1,10))
643assert(debug.setlocal(c,0,1,10))
644local t = debug.getinfo(c,0)
644local t = debug.getinfo(c,0)
645assert(t.currentline == t.linedefined + 2)
645assert(t.currentline == t.linedefined + 2)
646assert(not debug.getinfo(c,1))
646assert(not debug.getinfo(c,1))
647assert(coroutine.resume(c))
647assert(coroutine.resume(c))
648local n,v = debug.getlocal(c,0,2)
648local n,v = debug.getlocal(c,0,2)
649−assert(n == "\98" and v == 10)
649+assert(n == "\u{62}" and v == 10)
650v={coroutine.resume(c)}
650v={coroutine.resume(c)}
651assert(v[1] == true and v[2] == 2 and v[3] == 3 and v[4] == undef)
651assert(v[1] == true and v[2] == 2 and v[3] == 3 and v[4] == undef)
652assert(not coroutine.resume(c))
652assert(not coroutine.resume(c))
653end
653end
654do
654do
655local c = coroutine.create(function ()
655local c = coroutine.create(function ()
656−T.testC("\121\105\101\108\100\32\49",10,20)
656+T.testC("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{31}",10,20)
657end)
657end)
658local a,b = coroutine.resume(c)
658local a,b = coroutine.resume(c)
659assert(a and b == 20)
659assert(a and b == 20)
@@ -661,32 +661,32 @@ assert(debug.getinfo(c,0).linedefined == - 1)
661a,b=debug.getlocal(c,0,2)
661a,b=debug.getlocal(c,0,2)
662assert(b == 10)
662assert(b == 10)
663end
663end
664−print("\116\101\115\116\105\110\103\32\99\111\114\111\117\116\105\110\101\32\65\80\73")
664+print("\u{74}\u{65}\u{73}\u{74}\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}")
665−assert(T.testC("\32\32\32\32\110\101\119\116\104\114\101\97\100\32\32\32\32\32\32\35\32\99\114\101\97\116\101\32\116\104\114\101\97\100\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\32\32\35\32\112\117\115\104\32\98\111\100\121\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\39\97\32\97\32\97\39\32\32\35\32\112\117\115\104\32\97\114\103\117\109\101\110\116\10\32\32\32\32\120\109\111\118\101\32\48\32\51\32\50\32\32\32\35\32\109\111\118\101\32\118\97\108\117\101\115\32\116\111\32\110\101\119\32\116\104\114\101\97\100\10\32\32\32\32\114\101\115\117\109\101\32\45\49\44\32\49\32\32\32\32\35\32\99\97\108\108\32\105\116\32\102\105\114\115\116\32\116\105\109\101\10\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\120\109\111\118\101\32\51\32\48\32\48\32\32\32\35\32\109\111\118\101\32\114\101\115\117\108\116\115\32\98\97\99\107\32\116\111\32\115\116\97\99\107\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\88\32\32\32\32\35\32\114\101\115\117\108\116\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\89\32\32\32\32\35\32\115\116\97\116\117\115\10\32\32\32\32\112\117\115\104\118\97\108\117\101\32\50\32\32\32\32\32\35\32\112\117\115\104\32\98\111\100\121\32\40\116\111\32\99\97\108\108\32\105\116\32\97\103\97\105\110\41\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\39\98\32\98\32\98\39\10\32\32\32\32\120\109\111\118\101\32\48\32\51\32\50\10\32\32\32\32\114\101\115\117\109\101\32\45\49\44\32\49\32\32\32\32\35\32\99\97\108\108\32\105\116\32\97\103\97\105\110\10\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\120\109\111\118\101\32\51\32\48\32\48\10\32\32\32\32\114\101\116\117\114\110\32\49\32\32\32\32\32\32\32\32\35\32\114\101\116\117\114\110\32\114\101\115\117\108\116\10\32\32",function (...)
665+assert(T.testC("\u{20}\u{20}\u{20}\u{20}\u{6e}\u{65}\u{77}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{75}\u{73}\u{68}\u{20}\u{62}\u{6f}\u{64}\u{79}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{61}\u{20}\u{61}\u{20}\u{61}\u{27}\u{20}\u{20}\u{23}\u{20}\u{70}\u{75}\u{73}\u{68}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{a}\u{20}\u{20}\u{20}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{30}\u{20}\u{33}\u{20}\u{32}\u{20}\u{20}\u{20}\u{23}\u{20}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}\u{20}\u{74}\u{6f}\u{20}\u{6e}\u{65}\u{77}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{2d}\u{31}\u{2c}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{69}\u{74}\u{20}\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{33}\u{20}\u{30}\u{20}\u{30}\u{20}\u{20}\u{20}\u{23}\u{20}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{73}\u{20}\u{62}\u{61}\u{63}\u{6b}\u{20}\u{74}\u{6f}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{58}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{59}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{75}\u{73}\u{68}\u{20}\u{62}\u{6f}\u{64}\u{79}\u{20}\u{28}\u{74}\u{6f}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{69}\u{74}\u{20}\u{61}\u{67}\u{61}\u{69}\u{6e}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{62}\u{20}\u{62}\u{20}\u{62}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{30}\u{20}\u{33}\u{20}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{2d}\u{31}\u{2c}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{69}\u{74}\u{20}\u{61}\u{67}\u{61}\u{69}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{33}\u{20}\u{30}\u{20}\u{30}\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{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{a}\u{20}\u{20}",function (...)
666return ...
666return ...
667−end) == "\98\32\98\32\98")
667+end) == "\u{62}\u{20}\u{62}\u{20}\u{62}")
668−assert(X == "\97\32\97\32\97" and Y == "\79\75")
668+assert(X == "\u{61}\u{20}\u{61}\u{20}\u{61}" and Y == "\u{4f}\u{4b}")
669X,Y=nil
669X,Y=nil
670C=coroutine.create(function ()
670C=coroutine.create(function ()
671−return T.testC("\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\110\117\109\32\49\48\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\110\117\109\32\50\48\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\114\101\115\117\109\101\32\45\51\32\50\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\103\101\116\116\111\112\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\114\101\116\117\114\110\32\51",C)
671+return T.testC("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{2d}\u{33}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",C)
672end)
672end)
673local a,b,c,d = coroutine.resume(C)
673local a,b,c,d = coroutine.resume(C)
674−assert(a == true and string.find(b,"\110\111\110\37\45\115\117\115\112\101\110\100\101\100") and c == "\69\82\82\82\85\78" and d == 4)
674+assert(a == true and string.find(b,"\u{6e}\u{6f}\u{6e}\u{25}\u{2d}\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}") and c == "\u{45}\u{52}\u{52}\u{52}\u{55}\u{4e}" and d == 4)
675−a,b,c,d=T.testC("\32\32\32\32\114\97\119\103\101\116\105\32\82\32\49\32\32\32\32\35\32\103\101\116\32\109\97\105\110\32\116\104\114\101\97\100\10\32\32\32\32\112\117\115\104\110\117\109\32\49\48\59\10\32\32\32\32\112\117\115\104\110\117\109\32\50\48\59\10\32\32\32\32\114\101\115\117\109\101\32\45\51\32\50\59\10\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\103\101\116\116\111\112\59\10\32\32\32\32\114\101\116\117\114\110\32\52")
675+a,b,c,d=T.testC("\u{20}\u{20}\u{20}\u{20}\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{67}\u{65}\u{74}\u{20}\u{6d}\u{61}\u{69}\u{6e}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{2d}\u{33}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\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{34}")
676−assert(a == coroutine.running() and string.find(b,"\110\111\110\37\45\115\117\115\112\101\110\100\101\100") and c == "\69\82\82\82\85\78" and d == 4)
676+assert(a == coroutine.running() and string.find(b,"\u{6e}\u{6f}\u{6e}\u{25}\u{2d}\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}") and c == "\u{45}\u{52}\u{52}\u{52}\u{55}\u{4e}" and d == 4)
677local state = T.newstate()
677local state = T.newstate()
678−assert(T.testC(state,"\110\101\119\116\104\114\101\97\100\59\32\105\115\121\105\101\108\100\97\98\108\101\32\45\49\59\32\114\101\109\111\118\101\32\49\59\32\114\101\116\117\114\110\32\49"))
678+assert(T.testC(state,"\u{6e}\u{65}\u{77}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{3b}\u{20}\u{69}\u{73}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
679−assert(not T.testC(state,"\114\97\119\103\101\116\105\32\82\32\49\59\32\105\115\121\105\101\108\100\97\98\108\101\32\45\49\59\32\114\101\109\111\118\101\32\49\59\32\114\101\116\117\114\110\32\49"))
679+assert(not T.testC(state,"\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{31}\u{3b}\u{20}\u{69}\u{73}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"))
680−T.testC(state,"\115\101\116\116\111\112\32\48")
680+T.testC(state,"\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{30}")
681T.loadlib(state)
681T.loadlib(state)
682−assert(T.doremote(state,"\32\32\32\32\99\111\114\111\117\116\105\110\101\32\61\32\114\101\113\117\105\114\101\39\99\111\114\111\117\116\105\110\101\39\59\10\32\32\32\32\88\32\61\32\102\117\110\99\116\105\111\110\32\40\120\41\32\99\111\114\111\117\116\105\110\101\46\121\105\101\108\100\40\120\44\32\39\66\66\39\41\59\32\114\101\116\117\114\110\32\39\67\67\39\32\101\110\100\59\10\32\32\32\32\114\101\116\117\114\110\32\39\111\107\39"))
682+assert(T.doremote(state,"\u{20}\u{20}\u{20}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{27}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{58}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{78}\u{29}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{28}\u{78}\u{2c}\u{20}\u{27}\u{42}\u{42}\u{27}\u{29}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}\u{43}\u{43}\u{27}\u{20}\u{65}\u{6e}\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{27}\u{6f}\u{6b}\u{27}"))
683−local t = table.pack(T.testC(state,"\32\32\32\32\114\97\119\103\101\116\105\32\82\32\49\32\32\32\32\32\35\32\103\101\116\32\109\97\105\110\32\116\104\114\101\97\100\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\39\88\88\39\10\32\32\32\32\103\101\116\103\108\111\98\97\108\32\88\32\32\32\32\35\32\103\101\116\32\102\117\110\99\116\105\111\110\32\102\111\114\32\98\111\100\121\10\32\32\32\32\112\117\115\104\115\116\114\105\110\103\32\65\65\32\32\32\32\32\32\35\32\97\114\103\10\32\32\32\32\114\101\115\117\109\101\32\49\32\49\32\32\32\32\32\32\35\32\39\114\101\115\117\109\101\39\32\115\104\97\100\111\119\115\32\112\114\101\118\105\111\117\115\32\115\116\97\99\107\33\10\32\32\32\32\103\101\116\116\111\112\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\84\32\32\32\32\35\32\116\111\112\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\66\32\32\32\32\35\32\115\101\99\111\110\100\32\121\105\101\108\100\101\100\32\118\97\108\117\101\10\32\32\32\32\115\101\116\103\108\111\98\97\108\32\65\32\32\32\32\35\32\102\105\115\116\32\121\105\101\108\100\101\100\32\118\97\108\117\101\10\32\32\32\32\114\97\119\103\101\116\105\32\82\32\49\32\32\32\32\32\35\32\103\101\116\32\109\97\105\110\32\116\104\114\101\97\100\10\32\32\32\32\112\117\115\104\110\117\109\32\53\32\32\32\32\32\32\32\35\32\97\114\103\32\40\110\111\105\115\101\41\10\32\32\32\32\114\101\115\117\109\101\32\49\32\49\32\32\32\32\32\32\35\32\97\102\116\101\114\32\99\111\114\111\117\116\105\110\101\32\101\110\100\115\44\32\112\114\101\118\105\111\117\115\32\115\116\97\99\107\32\105\115\32\98\97\99\107\10\32\32\32\32\112\117\115\104\115\116\97\116\117\115\10\32\32\32\32\114\101\116\117\114\110\32\42\10\32\32"))
683+local t = table.pack(T.testC(state,"\u{20}\u{20}\u{20}\u{20}\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{67}\u{65}\u{74}\u{20}\u{6d}\u{61}\u{69}\u{6e}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{58}\u{58}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{58}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{67}\u{65}\u{74}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{62}\u{6f}\u{64}\u{79}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{41}\u{41}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{61}\u{72}\u{67}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{31}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{27}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{27}\u{20}\u{73}\u{68}\u{61}\u{64}\u{6f}\u{77}\u{73}\u{20}\u{70}\u{72}\u{65}\u{76}\u{69}\u{6f}\u{75}\u{73}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{21}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{54}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{6f}\u{70}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{42}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{65}\u{64}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{73}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{41}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{66}\u{69}\u{73}\u{74}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{65}\u{64}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{61}\u{77}\u{67}\u{65}\u{74}\u{69}\u{20}\u{52}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{67}\u{65}\u{74}\u{20}\u{6d}\u{61}\u{69}\u{6e}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{35}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{61}\u{72}\u{67}\u{20}\u{28}\u{6e}\u{6f}\u{69}\u{73}\u{65}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{31}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{61}\u{66}\u{74}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{20}\u{65}\u{6e}\u{64}\u{73}\u{2c}\u{20}\u{70}\u{72}\u{65}\u{76}\u{69}\u{6f}\u{75}\u{73}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{69}\u{73}\u{20}\u{62}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\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{2a}\u{a}\u{20}\u{20}"))
684−assert(t.n == 4 and t[2] == "\88\88" and t[3] == "\67\67" and t[4] == "\79\75")
684+assert(t.n == 4 and t[2] == "\u{58}\u{58}" and t[3] == "\u{43}\u{43}" and t[4] == "\u{4f}\u{4b}")
685−assert(T.doremote(state,"\114\101\116\117\114\110\32\84") == "\50")
685+assert(T.doremote(state,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{54}") == "\u{32}")
686−assert(T.doremote(state,"\114\101\116\117\114\110\32\65") == "\65\65")
686+assert(T.doremote(state,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{41}") == "\u{41}\u{41}")
687−assert(T.doremote(state,"\114\101\116\117\114\110\32\66") == "\66\66")
687+assert(T.doremote(state,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{42}") == "\u{42}\u{42}")
688T.closestate(state)
688T.closestate(state)
689−print("\43")
689+print("\u{2b}")
690end
690end
691_G.TO_SURVIVE=coroutine.wrap(function ()
691_G.TO_SURVIVE=coroutine.wrap(function ()
692local a = 10
692local a = 10
@@ -710,103 +710,103 @@ assert(j < lim or not r)
710end
710end
711end
711end
712assert(coroutine.running() == main)
712assert(coroutine.running() == main)
713−print("\43")
713+print("\u{2b}")
714−print("\116\101\115\116\105\110\103\32\121\105\101\108\100\115\32\105\110\115\105\100\101\32\109\101\116\97\109\101\116\104\111\100\115")
714+print("\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{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{73}")
715local function val
715local function val
716(x)
716(x)
717−if type(x) == "\116\97\98\108\101" then
717+if type(x) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
718return x.x
718return x.x
719else
719else
720return x
720return x
721end
721end
722end
722end
723−local mt = {["\95\95\101\113"] = function (a,b)
723+local mt = {["\u{5f}\u{5f}\u{65}\u{71}"] = function (a,b)
724−coroutine.yield(nil,"\101\113")
724+coroutine.yield(nil,"\u{65}\u{71}")
725;
725;
726return val(a) == val(b)
726return val(a) == val(b)
727−end,["\95\95\108\116"] = function (a,b)
727+end,["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
728−coroutine.yield(nil,"\108\116")
728+coroutine.yield(nil,"\u{6c}\u{74}")
729;
729;
730return val(a) < val(b)
730return val(a) < val(b)
731−end,["\95\95\108\101"] = function (a,b)
731+end,["\u{5f}\u{5f}\u{6c}\u{65}"] = function (a,b)
732−coroutine.yield(nil,"\108\101")
732+coroutine.yield(nil,"\u{6c}\u{65}")
733;
733;
734return a - b <= 0
734return a - b <= 0
735−end,["\95\95\97\100\100"] = function (a,b)
735+end,["\u{5f}\u{5f}\u{61}\u{64}\u{64}"] = function (a,b)
736−coroutine.yield(nil,"\97\100\100")
736+coroutine.yield(nil,"\u{61}\u{64}\u{64}")
737;
737;
738return val(a) + val(b)
738return val(a) + val(b)
739−end,["\95\95\115\117\98"] = function (a,b)
739+end,["\u{5f}\u{5f}\u{73}\u{75}\u{62}"] = function (a,b)
740−coroutine.yield(nil,"\115\117\98")
740+coroutine.yield(nil,"\u{73}\u{75}\u{62}")
741;
741;
742return val(a) - val(b)
742return val(a) - val(b)
743−end,["\95\95\109\117\108"] = function (a,b)
743+end,["\u{5f}\u{5f}\u{6d}\u{75}\u{6c}"] = function (a,b)
744−coroutine.yield(nil,"\109\117\108")
744+coroutine.yield(nil,"\u{6d}\u{75}\u{6c}")
745;
745;
746return val(a) * val(b)
746return val(a) * val(b)
747−end,["\95\95\100\105\118"] = function (a,b)
747+end,["\u{5f}\u{5f}\u{64}\u{69}\u{76}"] = function (a,b)
748−coroutine.yield(nil,"\100\105\118")
748+coroutine.yield(nil,"\u{64}\u{69}\u{76}")
749;
749;
750return val(a) / val(b)
750return val(a) / val(b)
751−end,["\95\95\105\100\105\118"] = function (a,b)
751+end,["\u{5f}\u{5f}\u{69}\u{64}\u{69}\u{76}"] = function (a,b)
752−coroutine.yield(nil,"\105\100\105\118")
752+coroutine.yield(nil,"\u{69}\u{64}\u{69}\u{76}")
753;
753;
754return val(a) // val(b)
754return val(a) // val(b)
755−end,["\95\95\112\111\119"] = function (a,b)
755+end,["\u{5f}\u{5f}\u{70}\u{6f}\u{77}"] = function (a,b)
756−coroutine.yield(nil,"\112\111\119")
756+coroutine.yield(nil,"\u{70}\u{6f}\u{77}")
757;
757;
758return val(a) ^ val(b)
758return val(a) ^ val(b)
759−end,["\95\95\109\111\100"] = function (a,b)
759+end,["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}"] = function (a,b)
760−coroutine.yield(nil,"\109\111\100")
760+coroutine.yield(nil,"\u{6d}\u{6f}\u{64}")
761;
761;
762return val(a) % val(b)
762return val(a) % val(b)
763−end,["\95\95\117\110\109"] = function (a,b)
763+end,["\u{5f}\u{5f}\u{75}\u{6e}\u{6d}"] = function (a,b)
764−coroutine.yield(nil,"\117\110\109")
764+coroutine.yield(nil,"\u{75}\u{6e}\u{6d}")
765;
765;
766return - val(a)
766return - val(a)
767−end,["\95\95\98\110\111\116"] = function (a,b)
767+end,["\u{5f}\u{5f}\u{62}\u{6e}\u{6f}\u{74}"] = function (a,b)
768−coroutine.yield(nil,"\98\110\111\116")
768+coroutine.yield(nil,"\u{62}\u{6e}\u{6f}\u{74}")
769;
769;
770return ~ val(a)
770return ~ val(a)
771−end,["\95\95\115\104\108"] = function (a,b)
771+end,["\u{5f}\u{5f}\u{73}\u{68}\u{6c}"] = function (a,b)
772−coroutine.yield(nil,"\115\104\108")
772+coroutine.yield(nil,"\u{73}\u{68}\u{6c}")
773;
773;
774return val(a) << val(b)
774return val(a) << val(b)
775−end,["\95\95\115\104\114"] = function (a,b)
775+end,["\u{5f}\u{5f}\u{73}\u{68}\u{72}"] = function (a,b)
776−coroutine.yield(nil,"\115\104\114")
776+coroutine.yield(nil,"\u{73}\u{68}\u{72}")
777;
777;
778return val(a) >> val(b)
778return val(a) >> val(b)
779−end,["\95\95\98\97\110\100"] = function (a,b)
779+end,["\u{5f}\u{5f}\u{62}\u{61}\u{6e}\u{64}"] = function (a,b)
780−coroutine.yield(nil,"\98\97\110\100")
780+coroutine.yield(nil,"\u{62}\u{61}\u{6e}\u{64}")
781return val(a) & val(b)
781return val(a) & val(b)
782−end,["\95\95\98\111\114"] = function (a,b)
782+end,["\u{5f}\u{5f}\u{62}\u{6f}\u{72}"] = function (a,b)
783−coroutine.yield(nil,"\98\111\114")
783+coroutine.yield(nil,"\u{62}\u{6f}\u{72}")
784;
784;
785return val(a) | val(b)
785return val(a) | val(b)
786−end,["\95\95\98\120\111\114"] = function (a,b)
786+end,["\u{5f}\u{5f}\u{62}\u{78}\u{6f}\u{72}"] = function (a,b)
787−coroutine.yield(nil,"\98\120\111\114")
787+coroutine.yield(nil,"\u{62}\u{78}\u{6f}\u{72}")
788;
788;
789return val(a) ~ val(b)
789return val(a) ~ val(b)
790−end,["\95\95\99\111\110\99\97\116"] = function (a,b)
790+end,["\u{5f}\u{5f}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"] = function (a,b)
791−coroutine.yield(nil,"\99\111\110\99\97\116")
791+coroutine.yield(nil,"\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}")
792;
792;
793return val(a) .. val(b)
793return val(a) .. val(b)
794−end,["\95\95\105\110\100\101\120"] = function (t,k)
794+end,["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k)
795−coroutine.yield(nil,"\105\100\120")
795+coroutine.yield(nil,"\u{69}\u{64}\u{78}")
796;
796;
797return t.k[k]
797return t.k[k]
798−end,["\95\95\110\101\119\105\110\100\101\120"] = function (t,k,v)
798+end,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k,v)
799−coroutine.yield(nil,"\110\105\100\120")
799+coroutine.yield(nil,"\u{6e}\u{69}\u{64}\u{78}")
800;
800;
801t.k[k]=v
801t.k[k]=v
802end}
802end}
803local function new
803local function new
804(x)
804(x)
805−return setmetatable({["\120"] = x,["\107"] = {}},mt)
805+return setmetatable({["\u{78}"] = x,["\u{6b}"] = {}},mt)
806end
806end
807local a = new(10)
807local a = new(10)
808local b = new(12)
808local b = new(12)
809−local c = new("\104\101\108\108\111")
809+local c = new("\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
810local function run
810local function run
811(f,t)
811(f,t)
812local i = 1
812local i = 1
@@ -824,149 +824,149 @@ end
824end
824end
825assert(run(function ()
825assert(run(function ()
826if (a >= b) then
826if (a >= b) then
827−return "\62\61"
827+return "\u{3e}\u{3d}"
828else
828else
829−return "\60"
829+return "\u{3c}"
830end
830end
831−end,{"\108\101","\115\117\98"}) == "\60")
831+end,{"\u{6c}\u{65}","\u{73}\u{75}\u{62}"}) == "\u{3c}")
832assert(run(function ()
832assert(run(function ()
833if (a <= b) then
833if (a <= b) then
834−return "\60\61"
834+return "\u{3c}\u{3d}"
835else
835else
836−return "\62"
836+return "\u{3e}"
837end
837end
838−end,{"\108\101","\115\117\98"}) == "\60\61")
838+end,{"\u{6c}\u{65}","\u{73}\u{75}\u{62}"}) == "\u{3c}\u{3d}")
839assert(run(function ()
839assert(run(function ()
840if (a == b) then
840if (a == b) then
841−return "\61\61"
841+return "\u{3d}\u{3d}"
842else
842else
843−return "\126\61"
843+return "\u{7e}\u{3d}"
844end
844end
845−end,{"\101\113"}) == "\126\61")
845+end,{"\u{65}\u{71}"}) == "\u{7e}\u{3d}")
846assert(run(function ()
846assert(run(function ()
847return a & b + a
847return a & b + a
848−end,{"\97\100\100","\98\97\110\100"}) == 2)
848+end,{"\u{61}\u{64}\u{64}","\u{62}\u{61}\u{6e}\u{64}"}) == 2)
849assert(run(function ()
849assert(run(function ()
850return 1 + a
850return 1 + a
851−end,{"\97\100\100"}) == 11)
851+end,{"\u{61}\u{64}\u{64}"}) == 11)
852assert(run(function ()
852assert(run(function ()
853return a - 25
853return a - 25
854−end,{"\115\117\98"}) == - 15)
854+end,{"\u{73}\u{75}\u{62}"}) == - 15)
855assert(run(function ()
855assert(run(function ()
856return 2 * a
856return 2 * a
857−end,{"\109\117\108"}) == 20)
857+end,{"\u{6d}\u{75}\u{6c}"}) == 20)
858assert(run(function ()
858assert(run(function ()
859return a ^ 2
859return a ^ 2
860−end,{"\112\111\119"}) == 100)
860+end,{"\u{70}\u{6f}\u{77}"}) == 100)
861assert(run(function ()
861assert(run(function ()
862return a / 2
862return a / 2
863−end,{"\100\105\118"}) == 5)
863+end,{"\u{64}\u{69}\u{76}"}) == 5)
864assert(run(function ()
864assert(run(function ()
865return a % 6
865return a % 6
866−end,{"\109\111\100"}) == 4)
866+end,{"\u{6d}\u{6f}\u{64}"}) == 4)
867assert(run(function ()
867assert(run(function ()
868return a // 3
868return a // 3
869−end,{"\105\100\105\118"}) == 3)
869+end,{"\u{69}\u{64}\u{69}\u{76}"}) == 3)
870assert(run(function ()
870assert(run(function ()
871return a + b
871return a + b
872−end,{"\97\100\100"}) == 22)
872+end,{"\u{61}\u{64}\u{64}"}) == 22)
873assert(run(function ()
873assert(run(function ()
874return a - b
874return a - b
875−end,{"\115\117\98"}) == - 2)
875+end,{"\u{73}\u{75}\u{62}"}) == - 2)
876assert(run(function ()
876assert(run(function ()
877return a * b
877return a * b
878−end,{"\109\117\108"}) == 120)
878+end,{"\u{6d}\u{75}\u{6c}"}) == 120)
879assert(run(function ()
879assert(run(function ()
880return a ^ b
880return a ^ b
881−end,{"\112\111\119"}) == 10 ^ 12)
881+end,{"\u{70}\u{6f}\u{77}"}) == 10 ^ 12)
882assert(run(function ()
882assert(run(function ()
883return a / b
883return a / b
884−end,{"\100\105\118"}) == 10 / 12)
884+end,{"\u{64}\u{69}\u{76}"}) == 10 / 12)
885assert(run(function ()
885assert(run(function ()
886return a % b
886return a % b
887−end,{"\109\111\100"}) == 10)
887+end,{"\u{6d}\u{6f}\u{64}"}) == 10)
888assert(run(function ()
888assert(run(function ()
889return a // b
889return a // b
890−end,{"\105\100\105\118"}) == 0)
890+end,{"\u{69}\u{64}\u{69}\u{76}"}) == 0)
891local a1000 = new(1000)
891local a1000 = new(1000)
892assert(run(function ()
892assert(run(function ()
893return a1000 + 1000
893return a1000 + 1000
894−end,{"\97\100\100"}) == 2000)
894+end,{"\u{61}\u{64}\u{64}"}) == 2000)
895assert(run(function ()
895assert(run(function ()
896return a1000 - 25000
896return a1000 - 25000
897−end,{"\115\117\98"}) == - 24000)
897+end,{"\u{73}\u{75}\u{62}"}) == - 24000)
898assert(run(function ()
898assert(run(function ()
899return 2000 * a
899return 2000 * a
900−end,{"\109\117\108"}) == 20000)
900+end,{"\u{6d}\u{75}\u{6c}"}) == 20000)
901assert(run(function ()
901assert(run(function ()
902return a1000 / 1000
902return a1000 / 1000
903−end,{"\100\105\118"}) == 1)
903+end,{"\u{64}\u{69}\u{76}"}) == 1)
904assert(run(function ()
904assert(run(function ()
905return a1000 % 600
905return a1000 % 600
906−end,{"\109\111\100"}) == 400)
906+end,{"\u{6d}\u{6f}\u{64}"}) == 400)
907assert(run(function ()
907assert(run(function ()
908return a1000 // 500
908return a1000 // 500
909−end,{"\105\100\105\118"}) == 2)
909+end,{"\u{69}\u{64}\u{69}\u{76}"}) == 2)
910assert(run(function ()
910assert(run(function ()
911return a % b
911return a % b
912−end,{"\109\111\100"}) == 10)
912+end,{"\u{6d}\u{6f}\u{64}"}) == 10)
913assert(run(function ()
913assert(run(function ()
914return ~ a & b
914return ~ a & b
915−end,{"\98\110\111\116","\98\97\110\100"}) == ~ 10 & 12)
915+end,{"\u{62}\u{6e}\u{6f}\u{74}","\u{62}\u{61}\u{6e}\u{64}"}) == ~ 10 & 12)
916assert(run(function ()
916assert(run(function ()
917return a | b
917return a | b
918−end,{"\98\111\114"}) == 10 | 12)
918+end,{"\u{62}\u{6f}\u{72}"}) == 10 | 12)
919assert(run(function ()
919assert(run(function ()
920return a ~ b
920return a ~ b
921−end,{"\98\120\111\114"}) == 10 ~ 12)
921+end,{"\u{62}\u{78}\u{6f}\u{72}"}) == 10 ~ 12)
922assert(run(function ()
922assert(run(function ()
923return a << b
923return a << b
924−end,{"\115\104\108"}) == 10 << 12)
924+end,{"\u{73}\u{68}\u{6c}"}) == 10 << 12)
925assert(run(function ()
925assert(run(function ()
926return a >> b
926return a >> b
927−end,{"\115\104\114"}) == 10 >> 12)
927+end,{"\u{73}\u{68}\u{72}"}) == 10 >> 12)
928assert(run(function ()
928assert(run(function ()
929return 10 & b
929return 10 & b
930−end,{"\98\97\110\100"}) == 10 & 12)
930+end,{"\u{62}\u{61}\u{6e}\u{64}"}) == 10 & 12)
931assert(run(function ()
931assert(run(function ()
932return a | 2
932return a | 2
933−end,{"\98\111\114"}) == 10 | 2)
933+end,{"\u{62}\u{6f}\u{72}"}) == 10 | 2)
934assert(run(function ()
934assert(run(function ()
935return a ~ 2
935return a ~ 2
936−end,{"\98\120\111\114"}) == 10 ~ 2)
936+end,{"\u{62}\u{78}\u{6f}\u{72}"}) == 10 ~ 2)
937assert(run(function ()
937assert(run(function ()
938return a >> 2
938return a >> 2
939−end,{"\115\104\114"}) == 10 >> 2)
939+end,{"\u{73}\u{68}\u{72}"}) == 10 >> 2)
940assert(run(function ()
940assert(run(function ()
941return 1 >> a
941return 1 >> a
942−end,{"\115\104\114"}) == 1 >> 10)
942+end,{"\u{73}\u{68}\u{72}"}) == 1 >> 10)
943assert(run(function ()
943assert(run(function ()
944return a << 2
944return a << 2
945−end,{"\115\104\108"}) == 10 << 2)
945+end,{"\u{73}\u{68}\u{6c}"}) == 10 << 2)
946assert(run(function ()
946assert(run(function ()
947return 1 << a
947return 1 << a
948−end,{"\115\104\108"}) == 1 << 10)
948+end,{"\u{73}\u{68}\u{6c}"}) == 1 << 10)
949assert(run(function ()
949assert(run(function ()
950return 2 ~ a
950return 2 ~ a
951−end,{"\98\120\111\114"}) == 2 ~ 10)
951+end,{"\u{62}\u{78}\u{6f}\u{72}"}) == 2 ~ 10)
952assert(run(function ()
952assert(run(function ()
953return a .. b
953return a .. b
954−end,{"\99\111\110\99\97\116"}) == "\49\48\49\50")
954+end,{"\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"}) == "\u{31}\u{30}\u{31}\u{32}")
955assert(run(function ()
955assert(run(function ()
956return a .. b .. c .. a
956return a .. b .. c .. a
957−end,{"\99\111\110\99\97\116","\99\111\110\99\97\116","\99\111\110\99\97\116"}) == "\49\48\49\50\104\101\108\108\111\49\48")
957+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}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"}) == "\u{31}\u{30}\u{31}\u{32}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{31}\u{30}")
958assert(run(function ()
958assert(run(function ()
959−return "\97" .. "\98" .. a .. "\99" .. c .. b .. "\120"
959+return "\u{61}" .. "\u{62}" .. a .. "\u{63}" .. c .. b .. "\u{78}"
960−end,{"\99\111\110\99\97\116","\99\111\110\99\97\116","\99\111\110\99\97\116"}) == "\97\98\49\48\99\104\101\108\108\111\49\50\120")
960+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}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"}) == "\u{61}\u{62}\u{31}\u{30}\u{63}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{31}\u{32}\u{78}")
961do
961do
962−local mt1 = {["\95\95\108\101"] = function (a,b)
962+local mt1 = {["\u{5f}\u{5f}\u{6c}\u{65}"] = function (a,b)
963coroutine.yield(10)
963coroutine.yield(10)
964return (val(a) <= val(b))
964return (val(a) <= val(b))
965−end,["\95\95\108\116"] = function (a,b)
965+end,["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
966coroutine.yield(10)
966coroutine.yield(10)
967return val(a) < val(b)
967return val(a) < val(b)
968end}
968end}
969−local mt2 = {["\95\95\108\116"] = mt1.__lt,["\95\95\108\101"] = mt1.__le}
969+local mt2 = {["\u{5f}\u{5f}\u{6c}\u{74}"] = mt1.__lt,["\u{5f}\u{5f}\u{6c}\u{65}"] = mt1.__le}
970local function run
970local function run
971(f)
971(f)
972local co = coroutine.wrap(f)
972local co = coroutine.wrap(f)
@@ -978,8 +978,8 @@ return res
978end
978end
979local function test
979local function test
980()
980()
981−local a1 = setmetatable({["\120"] = 1},mt1)
981+local a1 = setmetatable({["\u{78}"] = 1},mt1)
982−local a2 = setmetatable({["\120"] = 2},mt2)
982+local a2 = setmetatable({["\u{78}"] = 2},mt2)
983assert(a1 < a2)
983assert(a1 < a2)
984assert(a1 <= a2)
984assert(a1 <= a2)
985assert(1 < a2)
985assert(1 < a2)
@@ -993,7 +993,7 @@ end
993assert(run(function ()
993assert(run(function ()
994a.BB=print
994a.BB=print
995return a.BB
995return a.BB
996−end,{"\110\105\100\120","\105\100\120"}) == print)
996+end,{"\u{6e}\u{69}\u{64}\u{78}","\u{69}\u{64}\u{78}"}) == print)
997do
997do
998local _ENV = _ENV
998local _ENV = _ENV
999f=function ()
999f=function ()
@@ -1007,13 +1007,13 @@ local g = new(10)
1007g.k.BBB=10
1007g.k.BBB=10
1008;
1008;
1009debug.setupvalue(f,1,g)
1009debug.setupvalue(f,1,g)
1010−assert(run(f,{"\105\100\120","\110\105\100\120","\105\100\120"}) == 11)
1010+assert(run(f,{"\u{69}\u{64}\u{78}","\u{6e}\u{69}\u{64}\u{78}","\u{69}\u{64}\u{78}"}) == 11)
1011assert(g.k.AAA == 11)
1011assert(g.k.AAA == 11)
1012−print("\43")
1012+print("\u{2b}")
1013−print("\116\101\115\116\105\110\103\32\121\105\101\108\100\115\32\105\110\115\105\100\101\32\39\102\111\114\39\32\105\116\101\114\97\116\111\114\115")
1013+print("\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{27}\u{66}\u{6f}\u{72}\u{27}\u{20}\u{69}\u{74}\u{65}\u{72}\u{61}\u{74}\u{6f}\u{72}\u{73}")
1014local f = function (s,i)
1014local f = function (s,i)
1015if i % 2 == 0 then
1015if i % 2 == 0 then
1016−coroutine.yield(nil,"\102\111\114")
1016+coroutine.yield(nil,"\u{66}\u{6f}\u{72}")
1017end
1017end
1018if i < s then
1018if i < s then
1019return i + 1
1019return i + 1
@@ -1026,14 +1026,14 @@ do
1026s=s + i
1026s=s + i
1027end
1027end
1028return s
1028return s
1029−end,{"\102\111\114","\102\111\114","\102\111\114"}) == 10)
1029+end,{"\u{66}\u{6f}\u{72}","\u{66}\u{6f}\u{72}","\u{66}\u{6f}\u{72}"}) == 10)
1030if T == nil then
1030if T == nil then
1031−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\99\111\114\111\117\116\105\110\101\32\65\80\73\32\116\101\115\116\115\32\60\60\60\10")
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}")
1032−print("\79\75")
1032+print("\u{4f}\u{4b}")
1033;
1033;
1034return
1034return
1035end
1035end
1036−print("\116\101\115\116\105\110\103\32\99\111\114\111\117\116\105\110\101\32\65\80\73")
1036+print("\u{74}\u{65}\u{73}\u{74}\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}")
1037local function apico
1037local function apico
1038(...)
1038(...)
1039local x = {...}
1039local x = {...}
@@ -1041,15 +1041,15 @@ return coroutine.wrap(function ()
1041return T.testC(table.unpack(x))
1041return T.testC(table.unpack(x))
1042end)
1042end)
1043end
1043end
1044−local a = {apico("\32\32\112\117\115\104\115\116\114\105\110\103\32\101\114\114\111\114\99\111\100\101\10\32\32\112\99\97\108\108\107\32\49\32\48\32\50\59\10\32\32\105\110\118\97\108\105\100\32\99\111\109\109\97\110\100\32\40\115\104\111\117\108\100\32\110\111\116\32\97\114\114\105\118\101\32\104\101\114\101\41\10","\114\101\116\117\114\110\32\42","\115\116\97\99\107\109\97\114\107",error)()}
1044+local a = {apico("\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{63}\u{6f}\u{64}\u{65}\u{a}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{6b}\u{20}\u{31}\u{20}\u{30}\u{20}\u{32}\u{3b}\u{a}\u{20}\u{20}\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{61}\u{6e}\u{64}\u{20}\u{28}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{72}\u{72}\u{69}\u{76}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{29}\u{a}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}","\u{73}\u{74}\u{61}\u{63}\u{6b}\u{6d}\u{61}\u{72}\u{6b}",error)()}
1045−assert(# a == 4 and a[3] == "\115\116\97\99\107\109\97\114\107" and a[4] == "\101\114\114\111\114\99\111\100\101" and _G.status == "\69\82\82\82\85\78" and _G.ctx == 2)
1045+assert(# a == 4 and a[3] == "\u{73}\u{74}\u{61}\u{63}\u{6b}\u{6d}\u{61}\u{72}\u{6b}" and a[4] == "\u{65}\u{72}\u{72}\u{6f}\u{72}\u{63}\u{6f}\u{64}\u{65}" and _G.status == "\u{45}\u{52}\u{52}\u{52}\u{55}\u{4e}" and _G.ctx == 2)
1046−local co = apico("\112\117\115\104\118\97\108\117\101\32\50\59\32\112\117\115\104\110\117\109\32\49\48\59\32\112\99\97\108\108\107\32\49\32\50\32\51\59\32\105\110\118\97\108\105\100\32\99\111\109\109\97\110\100\59",coroutine.yield,"\103\101\116\103\108\111\98\97\108\32\115\116\97\116\117\115\59\32\103\101\116\103\108\111\98\97\108\32\99\116\120\59\32\112\117\115\104\118\97\108\117\101\32\50\59\32\112\117\115\104\115\116\114\105\110\103\32\97\59\32\112\99\97\108\108\107\32\49\32\48\32\52\59\32\105\110\118\97\108\105\100\32\99\111\109\109\97\110\100","\103\101\116\103\108\111\98\97\108\32\115\116\97\116\117\115\59\32\103\101\116\103\108\111\98\97\108\32\99\116\120\59\32\114\101\116\117\114\110\32\42")
1046+local co = apico("\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{6b}\u{20}\u{31}\u{20}\u{32}\u{20}\u{33}\u{3b}\u{20}\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{61}\u{6e}\u{64}\u{3b}",coroutine.yield,"\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{63}\u{74}\u{78}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{3b}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{6b}\u{20}\u{31}\u{20}\u{30}\u{20}\u{34}\u{3b}\u{20}\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{61}\u{6e}\u{64}","\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{63}\u{74}\u{78}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}")
1047assert(co() == 10)
1047assert(co() == 10)
1048−assert(co(20,30) == "\97")
1048+assert(co(20,30) == "\u{61}")
1049a={co()}
1049a={co()}
1050−assert(# a == 10 and a[2] == coroutine.yield and a[5] == 20 and a[6] == 30 and a[7] == "\89\73\69\76\68" and a[8] == 3 and a[9] == "\89\73\69\76\68" and a[10] == 4)
1050+assert(# a == 10 and a[2] == coroutine.yield and a[5] == 20 and a[6] == 30 and a[7] == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and a[8] == 3 and a[9] == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and a[10] == 4)
1051assert(not pcall(co))
1051assert(not pcall(co))
1052−f=T.makeCfunc("\112\117\115\104\110\117\109\32\51\59\32\112\117\115\104\110\117\109\32\53\59\32\121\105\101\108\100\32\49\59")
1052+f=T.makeCfunc("\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{35}\u{3b}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{31}\u{3b}")
1053co=coroutine.wrap(function ()
1053co=coroutine.wrap(function ()
1054assert(f() == 23)
1054assert(f() == 23)
1055;
1055;
@@ -1060,15 +1060,15 @@ end)
1060assert(co(23,16) == 5)
1060assert(co(23,16) == 5)
1061assert(co(23,16) == 5)
1061assert(co(23,16) == 5)
1062assert(co(23,16) == 10)
1062assert(co(23,16) == 10)
1063−f=T.makeCfunc("\32\32\32\32\32\32\32\32\112\117\115\104\110\117\109\32\49\48\50\10\9\121\105\101\108\100\107\9\49\32\85\50\10\9\99\97\110\110\111\116\32\98\101\32\104\101\114\101\33\10","\32\32\32\32\32\32\35\32\99\111\110\116\105\110\117\97\116\105\111\110\10\9\112\117\115\104\118\97\108\117\101\32\85\51\32\32\32\35\32\97\99\99\101\115\115\105\110\103\32\117\112\118\97\108\117\101\115\32\105\110\115\105\100\101\32\97\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\112\117\115\104\118\97\108\117\101\32\85\52\10\9\114\101\116\117\114\110\32\42\10",23,"\104\117\117")
1063+f=T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{32}\u{a}\u{9}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{6b}\u{9}\u{31}\u{20}\u{55}\u{32}\u{a}\u{9}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}\u{a}","\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{9}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{33}\u{20}\u{20}\u{20}\u{23}\u{20}\u{61}\u{63}\u{63}\u{65}\u{73}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}\u{20}\u{69}\u{6e}\u{73}\u{69}\u{64}\u{65}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{34}\u{a}\u{9}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}\u{a}",23,"\u{68}\u{75}\u{75}")
1064x=coroutine.wrap(f)
1064x=coroutine.wrap(f)
1065assert(x() == 102)
1065assert(x() == 102)
1066−eqtab({x()},{23,"\104\117\117"})
1066+eqtab({x()},{23,"\u{68}\u{75}\u{75}"})
1067−f=T.makeCfunc("\112\117\115\104\115\116\114\105\110\103\32\39\97\39\59\32\112\117\115\104\110\117\109\32\49\48\50\59\32\121\105\101\108\100\32\50\59\32")
1067+f=T.makeCfunc("\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{61}\u{27}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{32}\u{3b}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{32}\u{3b}\u{20}")
1068−a,b,c,d=T.testC("\110\101\119\116\104\114\101\97\100\59\32\112\117\115\104\118\97\108\117\101\32\50\59\32\120\109\111\118\101\32\48\32\51\32\49\59\32\114\101\115\117\109\101\32\51\32\48\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\117\115\104\115\116\97\116\117\115\59\32\120\109\111\118\101\32\51\32\48\32\48\59\32\32\114\101\115\117\109\101\32\51\32\48\59\32\112\117\115\104\115\116\97\116\117\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\114\101\116\117\114\110\32\52\59\32",f)
1068+a,b,c,d=T.testC("\u{6e}\u{65}\u{77}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{30}\u{20}\u{33}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{33}\u{20}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{78}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{33}\u{20}\u{30}\u{20}\u{30}\u{3b}\u{20}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{65}\u{20}\u{33}\u{20}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{34}\u{3b}\u{20}",f)
1069−assert(a == "\89\73\69\76\68" and b == "\97" and c == 102 and d == "\79\75")
1069+assert(a == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and b == "\u{61}" and c == 102 and d == "\u{4f}\u{4b}")
1070local count = 3
1070local count = 3
1071−f=T.makeCfunc("\32\32\114\101\109\111\118\101\32\49\59\32\32\32\32\32\32\32\32\32\32\32\32\32\35\32\114\101\109\111\118\101\32\97\114\103\117\109\101\110\116\10\32\32\112\117\115\104\118\97\108\117\101\32\85\51\59\32\32\32\32\32\32\32\32\32\35\32\103\101\116\32\115\101\108\101\99\116\105\111\110\32\102\117\110\99\116\105\111\110\10\32\32\99\97\108\108\32\48\32\49\59\32\32\32\32\32\32\32\32\32\32\32\32\32\35\32\99\97\108\108\32\105\116\32\32\40\114\101\115\117\108\116\32\105\115\32\39\102\39\32\111\114\32\39\121\105\101\108\100\39\41\10\32\32\112\117\115\104\115\116\114\105\110\103\32\104\101\108\108\111\32\32\32\32\32\32\35\32\115\105\110\103\108\101\32\97\114\103\117\109\101\110\116\32\102\111\114\32\115\101\108\101\99\116\101\100\32\102\117\110\99\116\105\111\110\10\32\32\112\117\115\104\117\112\118\97\108\117\101\105\110\100\101\120\32\50\59\32\32\32\35\32\105\110\100\101\120\32\111\102\32\99\111\110\116\105\110\117\97\116\105\111\110\32\112\114\111\103\114\97\109\10\32\32\99\97\108\108\107\32\49\32\45\49\32\46\59\9\9\35\32\99\97\108\108\32\115\101\108\101\99\116\101\100\32\102\117\110\99\116\105\111\110\10\32\32\101\114\114\111\114\101\114\114\111\114\9\9\35\32\115\104\111\117\108\100\32\110\101\118\101\114\32\97\114\114\105\118\101\32\104\101\114\101\10","\32\32\35\32\99\111\110\116\105\110\117\97\116\105\111\110\32\112\114\111\103\114\97\109\10\32\32\112\117\115\104\110\117\109\32\51\52\9\35\32\114\101\116\117\114\110\32\118\97\108\117\101\10\32\32\114\101\116\117\114\110\32\42\32\32\32\32\32\35\32\114\101\116\117\114\110\32\97\108\108\32\114\101\115\117\108\116\115\10",function ()
1071+f=T.makeCfunc("\u{20}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{31}\u{3b}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{55}\u{33}\u{3b}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{67}\u{65}\u{74}\u{20}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{30}\u{20}\u{31}\u{3b}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{69}\u{74}\u{20}\u{20}\u{28}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{20}\u{69}\u{73}\u{20}\u{27}\u{66}\u{27}\u{20}\u{6f}\u{72}\u{20}\u{27}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{27}\u{29}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{73}\u{69}\u{6e}\u{67}\u{6c}\u{65}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{32}\u{3b}\u{20}\u{20}\u{20}\u{23}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{6f}\u{66}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{70}\u{72}\u{6f}\u{67}\u{72}\u{61}\u{6d}\u{a}\u{20}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{6b}\u{20}\u{31}\u{20}\u{2d}\u{31}\u{20}\u{2e}\u{3b}\u{9}\u{9}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{9}\u{9}\u{23}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{61}\u{72}\u{72}\u{69}\u{76}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{a}","\u{20}\u{20}\u{23}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{70}\u{72}\u{6f}\u{67}\u{72}\u{61}\u{6d}\u{a}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{33}\u{34}\u{9}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{6c}\u{6c}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6c}\u{74}\u{73}\u{a}",function ()
1072count=count - 1
1072count=count - 1
1073if count == 0 then
1073if count == 0 then
1074return coroutine.yield
1074return coroutine.yield
@@ -1079,41 +1079,41 @@ end)
1079co=coroutine.wrap(function ()
1079co=coroutine.wrap(function ()
1080return f(nil)
1080return f(nil)
1081end)
1081end)
1082−assert(co() == "\104\101\108\108\111")
1082+assert(co() == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
1083a={co()}
1083a={co()}
1084assert(# a == 3 and a[1] == a[2] and a[2] == a[3] and a[3] == 34)
1084assert(# a == 3 and a[1] == a[2] and a[2] == a[3] and a[3] == 34)
1085local y
1085local y
1086co=coroutine.wrap(function (...)
1086co=coroutine.wrap(function (...)
1087−return T.testC("\32\35\32\105\110\105\116\105\97\108\32\102\117\110\99\116\105\111\110\10\32\32\32\32\32\32\32\32\32\32\121\105\101\108\100\107\32\49\32\50\10\32\32\32\32\32\32\32\32\32\32\99\97\110\110\111\116\32\98\101\32\104\101\114\101\33\10\32\32\32\32\32\32\32","\32\32\35\32\49\115\116\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\32\121\105\101\108\100\107\32\48\32\51\32\10\32\32\32\32\32\32\32\32\32\99\97\110\110\111\116\32\98\101\32\104\101\114\101\33\10\32\32\32\32\32\32\32","\32\32\35\32\50\110\100\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\32\121\105\101\108\100\107\32\48\32\52\32\10\32\32\32\32\32\32\32\32\32\99\97\110\110\111\116\32\98\101\32\104\101\114\101\33\10\32\32\32\32\32\32\32","\32\32\35\32\51\116\104\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\32\32\112\117\115\104\118\97\108\117\101\32\54\32\32\32\35\32\102\117\110\99\116\105\111\110\32\119\104\105\99\104\32\105\115\32\108\97\115\116\32\97\114\103\46\32\116\111\32\39\116\101\115\116\67\39\32\104\101\114\101\10\32\32\32\32\32\32\32\32\32\32\112\117\115\104\110\117\109\32\49\48\59\32\112\117\115\104\110\117\109\32\50\48\59\10\32\32\32\32\32\32\32\32\32\32\112\99\97\108\108\32\50\32\48\32\48\32\32\32\35\32\99\97\108\108\32\115\104\111\117\108\100\32\116\104\114\111\119\32\97\110\32\101\114\114\111\114\32\97\110\100\32\114\101\116\117\114\110\32\116\111\32\110\101\120\116\32\108\105\110\101\10\32\32\32\32\32\32\32\32\32\32\112\111\112\32\49\9\9\35\32\114\101\109\111\118\101\32\101\114\114\111\114\32\109\101\115\115\97\103\101\10\32\32\32\32\32\32\32\32\32\32\112\117\115\104\118\97\108\117\101\32\54\10\32\32\32\32\32\32\32\32\32\32\103\101\116\103\108\111\98\97\108\32\115\116\97\116\117\115\59\32\103\101\116\103\108\111\98\97\108\32\99\116\120\10\32\32\32\32\32\32\32\32\32\32\112\99\97\108\108\107\32\50\32\50\32\53\32\32\35\32\99\97\108\108\32\115\104\111\117\108\100\32\116\104\114\111\119\32\97\110\32\101\114\114\111\114\32\97\110\100\32\106\117\109\112\32\116\111\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\32\32\99\97\110\110\111\116\32\98\101\32\104\101\114\101\33\10\32\32\32\32\32\32\32","\32\32\35\32\52\116\104\32\40\97\110\100\32\108\97\115\116\41\32\99\111\110\116\105\110\117\97\116\105\111\110\10\32\32\32\32\32\32\32\32\32\114\101\116\117\114\110\32\42\10\32\32\32\32\32\32\32",function (a,b)
1087+return T.testC("\u{20}\u{23}\u{20}\u{69}\u{6e}\u{69}\u{74}\u{69}\u{61}\u{6c}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{6b}\u{20}\u{31}\u{20}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}","\u{20}\u{20}\u{23}\u{20}\u{31}\u{73}\u{74}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{6b}\u{20}\u{30}\u{20}\u{33}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}","\u{20}\u{20}\u{23}\u{20}\u{32}\u{6e}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{6b}\u{20}\u{30}\u{20}\u{34}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}","\u{20}\u{20}\u{23}\u{20}\u{33}\u{74}\u{68}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{36}\u{20}\u{20}\u{20}\u{23}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{77}\u{68}\u{69}\u{63}\u{68}\u{20}\u{69}\u{73}\u{20}\u{6c}\u{61}\u{73}\u{74}\u{20}\u{61}\u{72}\u{67}\u{2e}\u{20}\u{74}\u{6f}\u{20}\u{27}\u{74}\u{65}\u{73}\u{74}\u{43}\u{27}\u{20}\u{68}\u{65}\u{72}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{32}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{32}\u{20}\u{30}\u{20}\u{30}\u{20}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{74}\u{68}\u{72}\u{6f}\u{77}\u{20}\u{61}\u{6e}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{74}\u{6f}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{6f}\u{70}\u{20}\u{31}\u{9}\u{9}\u{23}\u{20}\u{72}\u{65}\u{6d}\u{6f}\u{76}\u{65}\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}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{36}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{73}\u{74}\u{61}\u{74}\u{75}\u{73}\u{3b}\u{20}\u{67}\u{65}\u{74}\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{63}\u{74}\u{78}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{6b}\u{20}\u{32}\u{20}\u{32}\u{20}\u{35}\u{20}\u{20}\u{23}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{74}\u{68}\u{72}\u{6f}\u{77}\u{20}\u{61}\u{6e}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6a}\u{75}\u{6d}\u{70}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}","\u{20}\u{20}\u{23}\u{20}\u{34}\u{74}\u{68}\u{20}\u{28}\u{61}\u{6e}\u{64}\u{20}\u{6c}\u{61}\u{73}\u{74}\u{29}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}",function (a,b)
1088x=a
1088x=a
1089;
1089;
1090y=b
1090y=b
1091;
1091;
1092−error("\101\114\114\109\115\103")
1092+error("\u{65}\u{72}\u{72}\u{6d}\u{73}\u{67}")
1093end,...)
1093end,...)
1094end)
1094end)
1095local a = {co(3,4,6)}
1095local a = {co(3,4,6)}
1096assert(a[1] == 6 and a[2] == undef)
1096assert(a[1] == 6 and a[2] == undef)
1097a={co()}
1097a={co()}
1098;
1098;
1099−assert(a[1] == undef and _G.status == "\89\73\69\76\68" and _G.ctx == 2)
1099+assert(a[1] == undef and _G.status == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and _G.ctx == 2)
1100a={co()}
1100a={co()}
1101;
1101;
1102−assert(a[1] == undef and _G.status == "\89\73\69\76\68" and _G.ctx == 3)
1102+assert(a[1] == undef and _G.status == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and _G.ctx == 3)
1103a={co(7,8)}
1103a={co(7,8)}
1104;
1104;
1105−assert(type(a[1]) == "\115\116\114\105\110\103" and type(a[2]) == "\115\116\114\105\110\103" and type(a[3]) == "\115\116\114\105\110\103" and type(a[4]) == "\115\116\114\105\110\103" and type(a[5]) == "\115\116\114\105\110\103" and type(a[6]) == "\102\117\110\99\116\105\111\110")
1105+assert(type(a[1]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(a[2]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(a[3]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(a[4]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(a[5]) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(a[6]) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
1106assert(a[7] == 3 and a[8] == 4)
1106assert(a[7] == 3 and a[8] == 4)
1107assert(a[9] == 7 and a[10] == 8)
1107assert(a[9] == 7 and a[10] == 8)
1108−assert(a[11]:find("\101\114\114\109\115\103") and # a == 11)
1108+assert(a[11]:find("\u{65}\u{72}\u{72}\u{6d}\u{73}\u{67}") and # a == 11)
1109−assert(x == "\89\73\69\76\68" and y == 4)
1109+assert(x == "\u{59}\u{49}\u{45}\u{4c}\u{44}" and y == 4)
1110assert(not pcall(co))
1110assert(not pcall(co))
1111_G.ctx=nil
1111_G.ctx=nil
1112_G.status=nil
1112_G.status=nil
1113local co = coroutine.wrap(function ()
1113local co = coroutine.wrap(function ()
1114−local a = {pcall(pcall,pcall,pcall,pcall,pcall,pcall,pcall,error,"\104\105")}
1114+local a = {pcall(pcall,pcall,pcall,pcall,pcall,pcall,pcall,error,"\u{68}\u{69}")}
1115return pcall(assert,table.unpack(a))
1115return pcall(assert,table.unpack(a))
1116end)
1116end)
1117local a = {co()}
1117local a = {co()}
1118−assert(a[10] == "\104\105")
1118+assert(a[10] == "\u{68}\u{69}")
1119−print("\79\75")
1119+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/cstack.lua+36−36
@@ -1,12 +1,12 @@
1−local tracegc = require("\116\114\97\99\101\103\99")
1+local tracegc = require("\u{74}\u{72}\u{61}\u{63}\u{65}\u{67}\u{63}")
2−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119\32\100\101\116\101\99\116\105\111\110")
2+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{64}\u{65}\u{74}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
3local function checkerror
3local function checkerror
4(msg,f, ...)
4(msg,f, ...)
5local s,err = pcall(f,...)
5local s,err = pcall(f,...)
6assert(not s and string.find(err,msg))
6assert(not s and string.find(err,msg))
7end
7end
8do
8do
9−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119\32\105\110\32\109\101\115\115\97\103\101\32\104\97\110\100\108\105\110\103")
9+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{69}\u{6e}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}\u{20}\u{68}\u{61}\u{6e}\u{64}\u{6c}\u{69}\u{6e}\u{67}")
10local count = 0
10local count = 0
11local function loop
11local function loop
12(x,y,z)
12(x,y,z)
@@ -16,43 +16,43 @@ end
16tracegc.stop()
16tracegc.stop()
17local res,msg = xpcall(loop,loop)
17local res,msg = xpcall(loop,loop)
18tracegc.start()
18tracegc.start()
19−assert(msg == "\101\114\114\111\114\32\105\110\32\101\114\114\111\114\32\104\97\110\100\108\105\110\103")
19+assert(msg == "\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{69}\u{6e}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{68}\u{61}\u{6e}\u{64}\u{6c}\u{69}\u{6e}\u{67}")
20−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
20+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
21end
21end
22do
22do
23−print("\116\101\115\116\105\110\103\32\114\101\99\117\114\115\105\111\110\32\105\110\115\105\100\101\32\112\97\116\116\101\114\110\32\109\97\116\99\104\105\110\103")
23+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{72}\u{65}\u{63}\u{75}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{69}\u{6e}\u{73}\u{69}\u{64}\u{65}\u{20}\u{70}\u{61}\u{74}\u{74}\u{65}\u{72}\u{6e}\u{20}\u{6d}\u{61}\u{74}\u{63}\u{68}\u{69}\u{6e}\u{67}")
24local function f
24local function f
25(size)
25(size)
26−local s = string.rep("\97",size)
26+local s = string.rep("\u{61}",size)
27−local p = string.rep("\46\63",size)
27+local p = string.rep("\u{2e}\u{3f}",size)
28return string.match(s,p)
28return string.match(s,p)
29end
29end
30local m = f(80)
30local m = f(80)
31assert(# m == 80)
31assert(# m == 80)
32−checkerror("\116\111\111\32\99\111\109\112\108\101\120",f,2000)
32+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{63}\u{6f}\u{6d}\u{70}\u{6c}\u{65}\u{78}",f,2000)
33end
33end
34do
34do
35−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\45\111\118\101\114\102\108\111\119\32\105\110\32\114\101\99\117\114\115\105\118\101\32\39\103\115\117\98\39")
35+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{2d}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{69}\u{6e}\u{20}\u{72}\u{65}\u{63}\u{75}\u{72}\u{73}\u{69}\u{76}\u{65}\u{20}\u{27}\u{67}\u{73}\u{75}\u{62}\u{27}")
36local count = 0
36local count = 0
37local function foo
37local function foo
38()
38()
39count=count + 1
39count=count + 1
40−string.gsub("\97","\46",foo)
40+string.gsub("\u{61}","\u{2e}",foo)
41end
41end
42−checkerror("\115\116\97\99\107\32\111\118\101\114\102\108\111\119",foo)
42+checkerror("\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",foo)
43−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
43+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
44−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\45\111\118\101\114\102\108\111\119\32\105\110\32\114\101\99\117\114\115\105\118\101\32\39\103\115\117\98\39\32\119\105\116\104\32\109\101\116\97\116\97\98\108\101\115")
44+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{2d}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{69}\u{6e}\u{20}\u{72}\u{65}\u{63}\u{75}\u{72}\u{73}\u{69}\u{76}\u{65}\u{20}\u{27}\u{67}\u{73}\u{75}\u{62}\u{27}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}")
45local count = 0
45local count = 0
46−local t = setmetatable({},{["\95\95\105\110\100\101\120"] = foo})
46+local t = setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = foo})
47foo=function ()
47foo=function ()
48count=count + 1
48count=count + 1
49−string.gsub("\97","\46",t)
49+string.gsub("\u{61}","\u{2e}",t)
50end
50end
51−checkerror("\115\116\97\99\107\32\111\118\101\114\102\108\111\119",foo)
51+checkerror("\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",foo)
52−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
52+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
53end
53end
54do
54do
55−print("\116\101\115\116\105\110\103\32\108\105\109\105\116\115\32\105\110\32\99\111\114\111\117\116\105\110\101\115\32\105\110\115\105\100\101\32\100\101\101\112\32\99\97\108\108\115")
55+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}\u{20}\u{69}\u{6e}\u{73}\u{69}\u{64}\u{65}\u{20}\u{64}\u{65}\u{65}\u{70}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}")
56local count = 0
56local count = 0
57local lim = 1000
57local lim = 1000
58local function stack
58local function stack
@@ -67,20 +67,20 @@ end)()
67end
67end
68end
68end
69local st,msg = xpcall(stack,function ()
69local st,msg = xpcall(stack,function ()
70−return "\111\107"
70+return "\u{6f}\u{6b}"
71end,lim)
71end,lim)
72−assert(not st and msg == "\111\107")
72+assert(not st and msg == "\u{6f}\u{6b}")
73−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
73+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
74end
74end
75do
75do
76local count = 0
76local count = 0
77−print("\99\104\97\105\110\32\111\102\32\39\99\111\114\111\117\116\105\110\101\46\99\108\111\115\101\39")
77+print("\u{63}\u{68}\u{61}\u{69}\u{6e}\u{20}\u{6f}\u{66}\u{20}\u{27}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{27}")
78local coro = false
78local coro = false
79for i = 1, 1000
79for i = 1, 1000
80do
80do
81local previous = coro
81local previous = coro
82coro=coroutine.create(function ()
82coro=coroutine.create(function ()
83−local cc <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
83+local cc <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
84count=count + 1
84count=count + 1
85if previous then
85if previous then
86assert(coroutine.close(previous))
86assert(coroutine.close(previous))
@@ -91,11 +91,11 @@ end)
91assert(coroutine.resume(coro))
91assert(coroutine.resume(coro))
92end
92end
93local st,msg = coroutine.close(coro)
93local st,msg = coroutine.close(coro)
94−assert(not st and string.find(msg,"\67\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
94+assert(not st and string.find(msg,"\u{43}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
95−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
95+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
96end
96end
97do
97do
98−print("\110\101\115\116\105\110\103\32\111\102\32\114\101\115\117\109\105\110\103\32\121\105\101\108\100\101\100\32\99\111\114\111\117\116\105\110\101\115")
98+print("\u{6e}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{65}\u{73}\u{75}\u{6d}\u{69}\u{6e}\u{67}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{65}\u{64}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}")
99local count = 0
99local count = 0
100local function body
100local function body
101()
101()
@@ -109,10 +109,10 @@ end
109local f = coroutine.wrap(body)
109local f = coroutine.wrap(body)
110f()
110f()
111assert(not pcall(f))
111assert(not pcall(f))
112−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
112+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
113end
113end
114do
114do
115−print("\110\101\115\116\105\110\103\32\99\111\114\111\117\116\105\110\101\115\32\114\117\110\110\105\110\103\32\97\102\116\101\114\32\114\101\99\111\118\101\114\97\98\108\101\32\101\114\114\111\114\115")
115+print("\u{6e}\u{65}\u{73}\u{74}\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}\u{20}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{66}\u{74}\u{65}\u{72}\u{20}\u{72}\u{65}\u{63}\u{6f}\u{76}\u{65}\u{72}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}")
116local count = 0
116local count = 0
117local function foo
117local function foo
118()
118()
@@ -120,18 +120,18 @@ count=count + 1
120pcall(1)
120pcall(1)
121coroutine.wrap(foo)()
121coroutine.wrap(foo)()
122end
122end
123−checkerror("\67\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119",foo)
123+checkerror("\u{43}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",foo)
124−print("\102\105\110\97\108\32\99\111\117\110\116\58\32",count)
124+print("\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{20}\u{63}\u{6f}\u{75}\u{6e}\u{74}\u{3a}\u{20}",count)
125end
125end
126if T then
126if T then
127−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\114\101\99\111\118\101\114\121")
127+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{72}\u{65}\u{63}\u{6f}\u{76}\u{65}\u{72}\u{79}")
128local N = 0
128local N = 0
129local LIM = - 1
129local LIM = - 1
130local stack1
130local stack1
131local dummy
131local dummy
132local function err
132local function err
133(msg)
133(msg)
134−assert(string.find(msg,"\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
134+assert(string.find(msg,"\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
135local _,stacknow = T.stacklevel()
135local _,stacknow = T.stacklevel()
136assert(stacknow == stack1 + 200)
136assert(stacknow == stack1 + 200)
137end
137end
@@ -155,12 +155,12 @@ xpcall(f,err)
155tracegc.start()
155tracegc.start()
156topA,sizeA=T.stacklevel()
156topA,sizeA=T.stacklevel()
157assert(topA == topB and sizeA < sizeB * 2)
157assert(topA == topB and sizeA < sizeB * 2)
158−print(string.format("\109\97\120\105\109\117\109\32\115\116\97\99\107\32\115\105\122\101\58\32\37\100",stack1))
158+print(string.format("\u{6d}\u{61}\u{78}\u{69}\u{6d}\u{75}\u{6d}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{3a}\u{20}\u{25}\u{64}",stack1))
159LIM=N
159LIM=N
160N=0
160N=0
161tracegc.stop()
161tracegc.stop()
162f()
162f()
163tracegc.start()
163tracegc.start()
164−print("\43")
164+print("\u{2b}")
165end
165end
166−print("\79\75")
166+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/db.lua+190−190
@@ -1,9 +1,9 @@
1−local debug = require("\100\101\98\117\103")
1+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
2local function dostring
2local function dostring
3(s)
3(s)
4return assert(load(s))()
4return assert(load(s))()
5end
5end
6−print("\116\101\115\116\105\110\103\32\100\101\98\117\103\32\108\105\98\114\97\114\121\32\97\110\100\32\100\101\98\117\103\32\105\110\102\111\114\109\97\116\105\111\110")
6+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{69}\u{6e}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
7do
7do
8local a = 1
8local a = 1
9end
9end
@@ -14,14 +14,14 @@ local function test
14collectgarbage()
14collectgarbage()
15local function f
15local function f
16(event,line)
16(event,line)
17−assert(event == "\108\105\110\101")
17+assert(event == "\u{6c}\u{69}\u{6e}\u{65}")
18local l = table.remove(l,1)
18local l = table.remove(l,1)
19if p then
19if p then
20print(l,line)
20print(l,line)
21end
21end
22−assert(l == line,"\119\114\111\110\103\32\116\114\97\99\101\33\33")
22+assert(l == line,"\u{77}\u{72}\u{6f}\u{6e}\u{67}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{21}\u{21}")
23end
23end
24−debug.sethook(f,"\108")
24+debug.sethook(f,"\u{6c}")
25;
25;
26load(s)()
26load(s)()
27;
27;
@@ -29,72 +29,72 @@ debug.sethook()
29assert(# l == 0)
29assert(# l == 0)
30end
30end
31do
31do
32−assert(not pcall(debug.getinfo,print,"\88"))
32+assert(not pcall(debug.getinfo,print,"\u{58}"))
33−assert(not pcall(debug.getinfo,0,"\62"))
33+assert(not pcall(debug.getinfo,0,"\u{3e}"))
34assert(not debug.getinfo(1000))
34assert(not debug.getinfo(1000))
35assert(not debug.getinfo(- 1))
35assert(not debug.getinfo(- 1))
36local a = debug.getinfo(print)
36local a = debug.getinfo(print)
37−assert(a.what == "\67" and a.short_src == "\91\67\93")
37+assert(a.what == "\u{43}" and a.short_src == "\u{5b}\u{43}\u{5d}")
38−a=debug.getinfo(print,"\76")
38+a=debug.getinfo(print,"\u{4c}")
39assert(a.activelines == nil)
39assert(a.activelines == nil)
40−local b = debug.getinfo(test,"\83\102\76")
40+local b = debug.getinfo(test,"\u{53}\u{66}\u{4c}")
41−assert(b.name == nil and b.what == "\76\117\97" and b.linedefined == testline and b.lastlinedefined == b.linedefined + 10 and b.func == test and not string.find(b.short_src,"\37\91"))
41+assert(b.name == nil and b.what == "\u{4c}\u{75}\u{61}" and b.linedefined == testline and b.lastlinedefined == b.linedefined + 10 and b.func == test and not string.find(b.short_src,"\u{25}\u{5b}"))
42assert(b.activelines[b.linedefined + 1] and b.activelines[b.lastlinedefined])
42assert(b.activelines[b.linedefined + 1] and b.activelines[b.lastlinedefined])
43assert(not b.activelines[b.linedefined] and not b.activelines[b.lastlinedefined + 1])
43assert(not b.activelines[b.linedefined] and not b.activelines[b.lastlinedefined + 1])
44end
44end
45do
45do
46−local func = load(string.dump(load("\112\114\105\110\116\40\49\48\41"),true))
46+local func = load(string.dump(load("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{30}\u{29}"),true))
47−local actl = debug.getinfo(func,"\76").activelines
47+local actl = debug.getinfo(func,"\u{4c}").activelines
48assert(# actl == 0)
48assert(# actl == 0)
49end
49end
50−local a = "\102\117\110\99\116\105\111\110\32\102\32\40\41\32\101\110\100"
50+local a = "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{20}\u{28}\u{29}\u{20}\u{65}\u{6e}\u{64}"
51local function dostring
51local function dostring
52(s,x)
52(s,x)
53return load(s,x)()
53return load(s,x)()
54end
54end
55dostring(a)
55dostring(a)
56−assert(debug.getinfo(f).short_src == string.format("\91\115\116\114\105\110\103\32\34\37\115\34\93",a))
56+assert(debug.getinfo(f).short_src == string.format("\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{25}\u{73}\u{22}\u{5d}",a))
57−dostring(a .. string.format("\59\32\37\115\10\61\49",string.rep("\112",400)))
57+dostring(a .. string.format("\u{3b}\u{20}\u{25}\u{73}\u{a}\u{3d}\u{31}",string.rep("\u{70}",400)))
58−assert(string.find(debug.getinfo(f).short_src,"\94\37\91\115\116\114\105\110\103\32\91\94\10\93\42\37\46\37\46\37\46\34\37\93\36"))
58+assert(string.find(debug.getinfo(f).short_src,"\u{5e}\u{25}\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{5b}\u{5e}\u{a}\u{5d}\u{2a}\u{25}\u{2e}\u{25}\u{2e}\u{25}\u{2e}\u{22}\u{25}\u{5d}\u{24}"))
59−dostring(a .. string.format("\59\32\37\115\61\49",string.rep("\112",400)))
59+dostring(a .. string.format("\u{3b}\u{20}\u{25}\u{73}\u{3d}\u{31}",string.rep("\u{70}",400)))
60−assert(string.find(debug.getinfo(f).short_src,"\94\37\91\115\116\114\105\110\103\32\91\94\10\93\42\37\46\37\46\37\46\34\37\93\36"))
60+assert(string.find(debug.getinfo(f).short_src,"\u{5e}\u{25}\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{5b}\u{5e}\u{a}\u{5d}\u{2a}\u{25}\u{2e}\u{25}\u{2e}\u{25}\u{2e}\u{22}\u{25}\u{5d}\u{24}"))
61−dostring("\10" .. a)
61+dostring("\u{a}" .. a)
62−assert(debug.getinfo(f).short_src == "\91\115\116\114\105\110\103\32\34\46\46\46\34\93")
62+assert(debug.getinfo(f).short_src == "\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{2e}\u{2e}\u{2e}\u{22}\u{5d}")
63dostring(a,"")
63dostring(a,"")
64−assert(debug.getinfo(f).short_src == "\91\115\116\114\105\110\103\32\34\34\93")
64+assert(debug.getinfo(f).short_src == "\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{22}\u{5d}")
65−dostring(a,"\64\120\117\120\117")
65+dostring(a,"\u{40}\u{78}\u{75}\u{78}\u{75}")
66−assert(debug.getinfo(f).short_src == "\120\117\120\117")
66+assert(debug.getinfo(f).short_src == "\u{78}\u{75}\u{78}\u{75}")
67−dostring(a,"\64" .. string.rep("\112",1000) .. "\116")
67+dostring(a,"\u{40}" .. string.rep("\u{70}",1000) .. "\u{74}")
68−assert(string.find(debug.getinfo(f).short_src,"\94\37\46\37\46\37\46\112\42\116\36"))
68+assert(string.find(debug.getinfo(f).short_src,"\u{5e}\u{25}\u{2e}\u{25}\u{2e}\u{25}\u{2e}\u{70}\u{2a}\u{74}\u{24}"))
69−dostring(a,"\61\120\117\120\117")
69+dostring(a,"\u{3d}\u{78}\u{75}\u{78}\u{75}")
70−assert(debug.getinfo(f).short_src == "\120\117\120\117")
70+assert(debug.getinfo(f).short_src == "\u{78}\u{75}\u{78}\u{75}")
71−dostring(a,string.format("\61\37\115",string.rep("\120",500)))
71+dostring(a,string.format("\u{3d}\u{25}\u{73}",string.rep("\u{78}",500)))
72−assert(string.find(debug.getinfo(f).short_src,"\94\120\42\36"))
72+assert(string.find(debug.getinfo(f).short_src,"\u{5e}\u{78}\u{2a}\u{24}"))
73−dostring(a,"\61")
73+dostring(a,"\u{3d}")
74assert(debug.getinfo(f).short_src == "")
74assert(debug.getinfo(f).short_src == "")
75_G.a=nil
75_G.a=nil
76;
76;
77_G.f=nil
77_G.f=nil
78;
78;
79−_G[string.rep("\112",400)]=nil
79+_G[string.rep("\u{70}",400)]=nil
80repeat
80repeat
81−local g = {["\120"] = function ()
81+local g = {["\u{78}"] = function ()
82local a = debug.getinfo(2)
82local a = debug.getinfo(2)
83−assert(a.name == "\102" and a.namewhat == "\108\111\99\97\108")
83+assert(a.name == "\u{66}" and a.namewhat == "\u{6c}\u{6f}\u{63}\u{61}\u{6c}")
84a=debug.getinfo(1)
84a=debug.getinfo(1)
85−assert(a.name == "\120" and a.namewhat == "\102\105\101\108\100")
85+assert(a.name == "\u{78}" and a.namewhat == "\u{66}\u{69}\u{65}\u{6c}\u{64}")
86−return "\120\105\120\105"
86+return "\u{78}\u{69}\u{78}\u{69}"
87end}
87end}
88local f = function ()
88local f = function ()
89return 1 + 1 and (not 1 or g.x())
89return 1 + 1 and (not 1 or g.x())
90end
90end
91−assert(f() == "\120\105\120\105")
91+assert(f() == "\u{78}\u{69}\u{78}\u{69}")
92g=debug.getinfo(f)
92g=debug.getinfo(f)
93−assert(g.what == "\76\117\97" and g.func == f and g.namewhat == "" and not g.name)
93+assert(g.what == "\u{4c}\u{75}\u{61}" and g.func == f and g.namewhat == "" and not g.name)
94function f(x,name)
94function f(x,name)
95−name=name or "\102"
95+name=name or "\u{66}"
96local a = debug.getinfo(1)
96local a = debug.getinfo(1)
97−assert(a.name == name and a.namewhat == "\108\111\99\97\108")
97+assert(a.name == name and a.namewhat == "\u{6c}\u{6f}\u{63}\u{61}\u{6c}")
98return x
98return x
99end
99end
100if 3 > 4 then
100if 3 > 4 then
@@ -146,32 +146,32 @@ function g(x)
146if not x then
146if not x then
147return 3
147return 3
148end
148end
149−return (x("\97","\120"))
149+return (x("\u{61}","\u{78}"))
150end
150end
151−assert(g(f) == "\97")
151+assert(g(f) == "\u{61}")
152until 1
152until 1
153−test("\105\102\10\109\97\116\104\46\115\105\110\40\49\41\10\116\104\101\110\10\32\32\97\61\49\10\101\108\115\101\10\32\32\97\61\50\10\101\110\100\10",{2,3,4,7})
153+test("\u{69}\u{66}\u{a}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{a}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{31}\u{a}\u{65}\u{6c}\u{73}\u{65}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{32}\u{a}\u{65}\u{6e}\u{64}\u{a}",{2,3,4,7})
154−test("\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\40\41\10\101\110\100\10\102\111\111\40\41\10\65\32\61\32\49\10\65\32\61\32\50\10\65\32\61\32\51\10",{2,3,2,4,5,6})
154+test("\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{6f}\u{6f}\u{28}\u{29}\u{a}\u{65}\u{6e}\u{64}\u{a}\u{66}\u{6f}\u{6f}\u{28}\u{29}\u{a}\u{41}\u{20}\u{3d}\u{20}\u{31}\u{a}\u{41}\u{20}\u{3d}\u{20}\u{32}\u{a}\u{41}\u{20}\u{3d}\u{20}\u{33}\u{a}",{2,3,2,4,5,6})
155_G.A=nil
155_G.A=nil
156−test("\45\45\10\105\102\32\110\105\108\32\116\104\101\110\10\32\32\97\61\49\10\101\108\115\101\10\32\32\97\61\50\10\101\110\100\10",{2,5,6})
156+test("\u{2d}\u{2d}\u{a}\u{69}\u{66}\u{20}\u{6e}\u{69}\u{6c}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{31}\u{a}\u{65}\u{6c}\u{73}\u{65}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{32}\u{a}\u{65}\u{6e}\u{64}\u{a}",{2,5,6})
157−test("\97\61\49\10\114\101\112\101\97\116\10\32\32\97\61\97\43\49\10\117\110\116\105\108\32\97\61\61\51\10",{1,3,4,3,4})
157+test("\u{61}\u{3d}\u{31}\u{a}\u{72}\u{65}\u{70}\u{65}\u{61}\u{74}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{61}\u{2b}\u{31}\u{a}\u{75}\u{6e}\u{74}\u{69}\u{6c}\u{20}\u{61}\u{3d}\u{3d}\u{33}\u{a}",{1,3,4,3,4})
158−test("\32\100\111\10\32\32\114\101\116\117\114\110\10\101\110\100\10",{2})
158+test("\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{a}\u{65}\u{6e}\u{64}\u{a}",{2})
159−test("\108\111\99\97\108\32\97\10\97\61\49\10\119\104\105\108\101\32\97\60\61\51\32\100\111\10\32\32\97\61\97\43\49\10\101\110\100\10",{1,2,3,4,3,4,3,4,3,5})
159+test("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{a}\u{61}\u{3d}\u{31}\u{a}\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{61}\u{3c}\u{3d}\u{33}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{61}\u{2b}\u{31}\u{a}\u{65}\u{6e}\u{64}\u{a}",{1,2,3,4,3,4,3,4,3,5})
160−test("\119\104\105\108\101\32\109\97\116\104\46\115\105\110\40\49\41\32\100\111\10\32\32\105\102\32\109\97\116\104\46\115\105\110\40\49\41\10\32\32\116\104\101\110\32\98\114\101\97\107\10\32\32\101\110\100\10\101\110\100\10\97\61\49",{1,2,3,6})
160+test("\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{69}\u{66}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{a}\u{20}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{62}\u{72}\u{65}\u{61}\u{6b}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{65}\u{6e}\u{64}\u{a}\u{61}\u{3d}\u{31}",{1,2,3,6})
161−test("\102\111\114\32\105\61\49\44\51\32\100\111\10\32\32\97\61\105\10\101\110\100\10",{1,2,1,2,1,2,1,3})
161+test("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{3d}\u{31}\u{2c}\u{33}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{69}\u{a}\u{65}\u{6e}\u{64}\u{a}",{1,2,1,2,1,2,1,3})
162−test("\102\111\114\32\105\44\118\32\105\110\32\112\97\105\114\115\123\39\97\39\44\39\98\39\125\32\100\111\10\32\32\97\61\116\111\115\116\114\105\110\103\40\105\41\32\46\46\32\118\10\101\110\100\10",{1,2,1,2,1,3})
162+test("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{2c}\u{76}\u{20}\u{69}\u{6e}\u{20}\u{70}\u{61}\u{69}\u{72}\u{73}\u{7b}\u{27}\u{61}\u{27}\u{2c}\u{27}\u{62}\u{27}\u{7d}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{61}\u{3d}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{28}\u{69}\u{29}\u{20}\u{2e}\u{2e}\u{20}\u{76}\u{a}\u{65}\u{6e}\u{64}\u{a}",{1,2,1,2,1,3})
163−test("\102\111\114\32\105\61\49\44\52\32\100\111\32\97\61\49\32\101\110\100",{1,1,1,1})
163+test("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{3d}\u{31}\u{2c}\u{34}\u{20}\u{64}\u{6f}\u{20}\u{61}\u{3d}\u{31}\u{20}\u{65}\u{6e}\u{64}",{1,1,1,1})
164_G.a=nil
164_G.a=nil
165do
165do
166local a = {1,2,3,10,124,125,126,127,128,129,130,255,256,257,500,1000}
166local a = {1,2,3,10,124,125,126,127,128,129,130,255,256,257,500,1000}
167−local s = "\32\32\32\32\32\108\111\99\97\108\32\98\32\61\32\123\49\48\125\10\32\32\32\32\32\97\32\61\32\98\91\49\93\32\88\32\43\32\89\32\98\91\49\93\10\32\32\32\32\32\98\32\61\32\52\10\32\32"
167+local s = "\u{20}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{7b}\u{31}\u{30}\u{7d}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{62}\u{5b}\u{31}\u{5d}\u{20}\u{58}\u{20}\u{2b}\u{20}\u{59}\u{20}\u{62}\u{5b}\u{31}\u{5d}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{34}\u{a}\u{20}\u{20}"
168for _,i in ipairs(a)
168for _,i in ipairs(a)
169do
169do
170−local subs = {["\88"] = string.rep("\10",i)}
170+local subs = {["\u{58}"] = string.rep("\u{a}",i)}
171for _,j in ipairs(a)
171for _,j in ipairs(a)
172do
172do
173−subs.Y=string.rep("\10",j)
173+subs.Y=string.rep("\u{a}",j)
174−local s = string.gsub(s,"\91\88\89\93",subs)
174+local s = string.gsub(s,"\u{5b}\u{58}\u{59}\u{5d}",subs)
175test(s,{1,2 + i,2 + i + j,2 + i,2 + i + j,3 + i + j})
175test(s,{1,2 + i,2 + i + j,2 + i,2 + i + j,3 + i + j})
176end
176end
177end
177end
@@ -180,7 +180,7 @@ _G.a=nil
180do
180do
181local function checkactivelines
181local function checkactivelines
182(f,lines)
182(f,lines)
183−local t = debug.getinfo(f,"\83\76")
183+local t = debug.getinfo(f,"\u{53}\u{4c}")
184for _,l in pairs(lines)
184for _,l in pairs(lines)
185do
185do
186l=l + t.linedefined
186l=l + t.linedefined
@@ -205,10 +205,10 @@ checkactivelines(function (a,b)
205end,{1})
205end,{1})
206for _,n in pairs({0,1,2,10,50,100,1000,10000})
206for _,n in pairs({0,1,2,10,50,100,1000,10000})
207do
207do
208−checkactivelines(load(string.format("\37\115\32\114\101\116\117\114\110\32\49",string.rep("\10",n))),{n + 1})
208+checkactivelines(load(string.format("\u{25}\u{73}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",string.rep("\u{a}",n))),{n + 1})
209end
209end
210end
210end
211−print("\43")
211+print("\u{2b}")
212assert(not pcall(debug.getlocal,20,1))
212assert(not pcall(debug.getlocal,20,1))
213assert(not pcall(debug.setlocal,- 1,1,10))
213assert(not pcall(debug.setlocal,- 1,1,10))
214local function foo
214local function foo
@@ -216,11 +216,11 @@ local function foo
216local d,e
216local d,e
217end
217end
218local co = coroutine.create(foo)
218local co = coroutine.create(foo)
219−assert(debug.getlocal(foo,1) == "\97")
219+assert(debug.getlocal(foo,1) == "\u{61}")
220−assert(debug.getlocal(foo,2) == "\98")
220+assert(debug.getlocal(foo,2) == "\u{62}")
221assert(not debug.getlocal(foo,3))
221assert(not debug.getlocal(foo,3))
222−assert(debug.getlocal(co,foo,1) == "\97")
222+assert(debug.getlocal(co,foo,1) == "\u{61}")
223−assert(debug.getlocal(co,foo,2) == "\98")
223+assert(debug.getlocal(co,foo,2) == "\u{62}")
224assert(not debug.getlocal(co,foo,3))
224assert(not debug.getlocal(co,foo,3))
225assert(not debug.getlocal(print,1))
225assert(not debug.getlocal(print,1))
226local function foo
226local function foo
@@ -234,14 +234,14 @@ local t = table.pack(...)
234for i = 1, t.n
234for i = 1, t.n
235do
235do
236local n,v = debug.getlocal(1,- i)
236local n,v = debug.getlocal(1,- i)
237−assert(n == "\40\118\97\114\97\114\103\41" and v == t[i])
237+assert(n == "\u{28}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{29}" and v == t[i])
238end
238end
239assert(not debug.getlocal(1,- (t.n + 1)))
239assert(not debug.getlocal(1,- (t.n + 1)))
240assert(not debug.setlocal(1,- (t.n + 1),30))
240assert(not debug.setlocal(1,- (t.n + 1),30))
241if t.n > 0 then
241if t.n > 0 then
242(function (x)
242(function (x)
243−assert(debug.setlocal(2,- 1,x) == "\40\118\97\114\97\114\103\41")
243+assert(debug.setlocal(2,- 1,x) == "\u{28}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{29}")
244−assert(debug.setlocal(2,- t.n,x) == "\40\118\97\114\97\114\103\41")
244+assert(debug.setlocal(2,- t.n,x) == "\u{28}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}\u{29}")
245end)(430)
245end)(430)
246assert(... == 430)
246assert(... == 430)
247end
247end
@@ -260,12 +260,12 @@ assert(not debug.gethook())
260local count = 0
260local count = 0
261local function f
261local function f
262()
262()
263−assert(debug.getinfo(1).namewhat == "\104\111\111\107")
263+assert(debug.getinfo(1).namewhat == "\u{68}\u{6f}\u{6f}\u{6b}")
264−local sndline = string.match(debug.traceback(),"\10\40\46\45\41\10")
264+local sndline = string.match(debug.traceback(),"\u{a}\u{28}\u{2e}\u{2d}\u{29}\u{a}")
265−assert(string.find(sndline,"\104\111\111\107"))
265+assert(string.find(sndline,"\u{68}\u{6f}\u{6f}\u{6b}"))
266count=count + 1
266count=count + 1
267end
267end
268−debug.sethook(f,"\108")
268+debug.sethook(f,"\u{6c}")
269local a = 0
269local a = 0
270_ENV.a=a
270_ENV.a=a
271a=1
271a=1
@@ -273,7 +273,7 @@ debug.sethook()
273assert(count == 4)
273assert(count == 4)
274end
274end
275_ENV.a=nil
275_ENV.a=nil
276−assert(getmetatable(debug.getregistry()._HOOKKEY).__mode == "\107")
276+assert(getmetatable(debug.getregistry()._HOOKKEY).__mode == "\u{6b}")
277a={}
277a={}
278;
278;
279local L = nil
279local L = nil
@@ -282,40 +282,40 @@ local oldglob = glob
282debug.sethook(function (e,l)
282debug.sethook(function (e,l)
283collectgarbage()
283collectgarbage()
284local f,m,c = debug.gethook()
284local f,m,c = debug.gethook()
285−assert(m == "\99\114\108" and c == 0)
285+assert(m == "\u{63}\u{72}\u{6c}" and c == 0)
286−if e == "\108\105\110\101" then
286+if e == "\u{6c}\u{69}\u{6e}\u{65}" then
287if glob ~= oldglob then
287if glob ~= oldglob then
288L=l - 1
288L=l - 1
289oldglob=glob
289oldglob=glob
290end
290end
291−elseif e == "\99\97\108\108" then
291+elseif e == "\u{63}\u{61}\u{6c}\u{6c}" then
292−local f = debug.getinfo(2,"\102").func
292+local f = debug.getinfo(2,"\u{66}").func
293a[f]=1
293a[f]=1
294else
294else
295−assert(e == "\114\101\116\117\114\110")
295+assert(e == "\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}")
296end
296end
297−end,"\99\114\108")
297+end,"\u{63}\u{72}\u{6c}")
298function f(a,b)
298function f(a,b)
299collectgarbage()
299collectgarbage()
300local _,x = debug.getlocal(1,1)
300local _,x = debug.getlocal(1,1)
301local _,y = debug.getlocal(1,2)
301local _,y = debug.getlocal(1,2)
302assert(x == a and y == b)
302assert(x == a and y == b)
303−assert(debug.setlocal(2,3,"\112\101\114\97") == "\65\65" .. "\65\65")
303+assert(debug.setlocal(2,3,"\u{70}\u{65}\u{72}\u{61}") == "\u{41}\u{41}" .. "\u{41}\u{41}")
304−assert(debug.setlocal(2,4,"\109\97\110\103\97") == "\66")
304+assert(debug.setlocal(2,4,"\u{6d}\u{61}\u{6e}\u{67}\u{61}") == "\u{42}")
305x=debug.getinfo(2)
305x=debug.getinfo(2)
306−assert(x.func == g and x.what == "\76\117\97" and x.name == "\103" and x.nups == 2 and string.find(x.source,"\94\64\46\42\100\98\37\46\108\117\97\36"))
306+assert(x.func == g and x.what == "\u{4c}\u{75}\u{61}" and x.name == "\u{67}" and x.nups == 2 and string.find(x.source,"\u{5e}\u{40}\u{2e}\u{2a}\u{64}\u{62}\u{25}\u{2e}\u{6c}\u{75}\u{61}\u{24}"))
307glob=glob + 1
307glob=glob + 1
308−assert(debug.getinfo(1,"\108").currentline == L + 1)
308+assert(debug.getinfo(1,"\u{6c}").currentline == L + 1)
309−assert(debug.getinfo(1,"\108").currentline == L + 2)
309+assert(debug.getinfo(1,"\u{6c}").currentline == L + 2)
310end
310end
311function foo()
311function foo()
312glob=glob + 1
312glob=glob + 1
313−assert(debug.getinfo(1,"\108").currentline == L + 1)
313+assert(debug.getinfo(1,"\u{6c}").currentline == L + 1)
314end
314end
315;
315;
316foo()
316foo()
317−local _ = "\97\108\111\10\97\108\111" .. "\10"
317+local _ = "\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}" .. "\u{a}"
318−assert(debug.getinfo(1,"\108").currentline == L + 11)
318+assert(debug.getinfo(1,"\u{6c}").currentline == L + 11)
319function g(...)
319function g(...)
320local arg = {...}
320local arg = {...}
321do
321do
@@ -325,21 +325,21 @@ a=math.sin(40)
325;
325;
326end
326end
327local feijao
327local feijao
328−local AAAA,B = "\120\117\120\117","\97\98\97\99\97\116\101"
328+local AAAA,B = "\u{78}\u{75}\u{78}\u{75}","\u{61}\u{62}\u{61}\u{63}\u{61}\u{74}\u{65}"
329f(AAAA,B)
329f(AAAA,B)
330−assert(AAAA == "\112\101\114\97" and B == "\109\97\110\103\97")
330+assert(AAAA == "\u{70}\u{65}\u{72}\u{61}" and B == "\u{6d}\u{61}\u{6e}\u{67}\u{61}")
331do
331do
332local B = 13
332local B = 13
333local x,y = debug.getlocal(1,5)
333local x,y = debug.getlocal(1,5)
334−assert(x == "\66" and y == 13)
334+assert(x == "\u{42}" and y == 13)
335end
335end
336end
336end
337g()
337g()
338assert(a[f] and a[g] and a[assert] and a[debug.getlocal] and not a[print])
338assert(a[f] and a[g] and a[assert] and a[debug.getlocal] and not a[print])
339local n,v = debug.getlocal(0,1)
339local n,v = debug.getlocal(0,1)
340−assert(v == 0 and n == "\40\67\32\116\101\109\112\111\114\97\114\121\41")
340+assert(v == 0 and n == "\u{28}\u{43}\u{20}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}")
341local n,v = debug.getlocal(0,2)
341local n,v = debug.getlocal(0,2)
342−assert(v == 2 and n == "\40\67\32\116\101\109\112\111\114\97\114\121\41")
342+assert(v == 2 and n == "\u{28}\u{43}\u{20}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}")
343assert(not debug.getlocal(0,3))
343assert(not debug.getlocal(0,3))
344assert(not debug.getlocal(0,0))
344assert(not debug.getlocal(0,0))
345function f()
345function f()
@@ -388,7 +388,7 @@ local tab = {}
388for i = 1, math.huge
388for i = 1, math.huge
389do
389do
390local n,v = debug.getlocal(level + 1,i)
390local n,v = debug.getlocal(level + 1,i)
391−if not (n and string.find(n,"\94\91\97\45\122\65\45\90\48\45\57\95\93\43\36")) 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
392break
392break
393end
393end
394tab[n]=v
394tab[n]=v
@@ -403,19 +403,19 @@ local arg = {...}
403local c = 13
403local c = 13
404end
404end
405debug.sethook(function (e)
405debug.sethook(function (e)
406−assert(e == "\99\97\108\108")
406+assert(e == "\u{63}\u{61}\u{6c}\u{6c}")
407−dostring("\88\88\32\61\32\49\50")
407+dostring("\u{58}\u{58}\u{20}\u{3d}\u{20}\u{31}\u{32}")
408−assert(not pcall(load("\97\61\39\106\111\97\111\39\43\49")))
408+assert(not pcall(load("\u{61}\u{3d}\u{27}\u{6a}\u{6f}\u{61}\u{6f}\u{27}\u{2b}\u{31}")))
409debug.sethook(function (e,l)
409debug.sethook(function (e,l)
410−assert(debug.getinfo(2,"\108").currentline == l)
410+assert(debug.getinfo(2,"\u{6c}").currentline == l)
411local f,m,c = debug.gethook()
411local f,m,c = debug.gethook()
412−assert(e == "\108\105\110\101")
412+assert(e == "\u{6c}\u{69}\u{6e}\u{65}")
413−assert(m == "\108" and c == 0)
413+assert(m == "\u{6c}" and c == 0)
414debug.sethook(nil)
414debug.sethook(nil)
415assert(not X)
415assert(not X)
416X=collectlocals(2)
416X=collectlocals(2)
417−end,"\108")
417+end,"\u{6c}")
418−end,"\99")
418+end,"\u{63}")
419a:f(1,2,3,4,5)
419a:f(1,2,3,4,5)
420assert(X.self == a and X.a == 1 and X.b == 2 and X.c == nil)
420assert(X.self == a and X.a == 1 and X.b == 2 and X.c == nil)
421assert(XX == 12)
421assert(XX == 12)
@@ -433,9 +433,9 @@ return
433end
433end
434local function aux
434local function aux
435()
435()
436−if debug.getinfo(2).name == "\102\111\111" then
436+if debug.getinfo(2).name == "\u{66}\u{6f}\u{6f}" then
437X=true
437X=true
438−local tab = {["\97"] = 100,["\98"] = 200,["\99"] = 10,["\100"] = 20}
438+local tab = {["\u{61}"] = 100,["\u{62}"] = 200,["\u{63}"] = 10,["\u{64}"] = 20}
439for n,v in pairs(collectlocals(2))
439for n,v in pairs(collectlocals(2))
440do
440do
441assert(tab[n] == v)
441assert(tab[n] == v)
@@ -444,7 +444,7 @@ end
444assert(next(tab) == nil)
444assert(next(tab) == nil)
445end
445end
446end
446end
447−debug.sethook(aux,"\114")
447+debug.sethook(aux,"\u{72}")
448;
448;
449foo(100,200)
449foo(100,200)
450;
450;
@@ -460,7 +460,7 @@ assert(t1[i] == t2[i])
460end
460end
461end
461end
462do
462do
463−print("\116\101\115\116\105\110\103\32\105\110\115\112\101\99\116\105\111\110\32\111\102\32\112\97\114\97\109\101\116\101\114\115\47\114\101\116\117\114\110\101\100\32\118\97\108\117\101\115")
463+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{6e}\u{73}\u{70}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{66}\u{20}\u{70}\u{61}\u{72}\u{61}\u{6d}\u{65}\u{74}\u{65}\u{72}\u{73}\u{2f}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{65}\u{64}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}")
464local on = false
464local on = false
465local inp,out
465local inp,out
466local function hook
466local function hook
@@ -468,20 +468,20 @@ local function hook
468if not on then
468if not on then
469return
469return
470end
470end
471−local ar = debug.getinfo(2,"\114\117\83")
471+local ar = debug.getinfo(2,"\u{72}\u{75}\u{53}")
472local t = {}
472local t = {}
473for i = ar.ftransfer, ar.ftransfer + ar.ntransfer - 1
473for i = ar.ftransfer, ar.ftransfer + ar.ntransfer - 1
474do
474do
475local _,v = debug.getlocal(2,i)
475local _,v = debug.getlocal(2,i)
476t[# t + 1]=v
476t[# t + 1]=v
477end
477end
478−if event == "\114\101\116\117\114\110" then
478+if event == "\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}" then
479out=t
479out=t
480else
480else
481inp=t
481inp=t
482end
482end
483end
483end
484−debug.sethook(hook,"\99\114")
484+debug.sethook(hook,"\u{63}\u{72}")
485on=true
485on=true
486;
486;
487math.sin(3)
487math.sin(3)
@@ -546,14 +546,14 @@ return c + b
546end
546end
547assert(not debug.getupvalue(foo1,3))
547assert(not debug.getupvalue(foo1,3))
548assert(not debug.getupvalue(foo1,0))
548assert(not debug.getupvalue(foo1,0))
549−assert(not debug.setupvalue(foo1,3,"\120\117\120\117"))
549+assert(not debug.setupvalue(foo1,3,"\u{78}\u{75}\u{78}\u{75}"))
550local t = getupvalues(foo1)
550local t = getupvalues(foo1)
551assert(t.a == nil and t.b == 2 and t.c == 3)
551assert(t.a == nil and t.b == 2 and t.c == 3)
552t=getupvalues(foo2)
552t=getupvalues(foo2)
553assert(t.a == 1 and t.b == 2 and t.c == 3)
553assert(t.a == 1 and t.b == 2 and t.c == 3)
554−assert(debug.setupvalue(foo1,1,"\120\117\120\117") == "\98")
554+assert(debug.setupvalue(foo1,1,"\u{78}\u{75}\u{78}\u{75}") == "\u{62}")
555−assert(({debug.getupvalue(foo2,3)})[2] == "\120\117\120\117")
555+assert(({debug.getupvalue(foo2,3)})[2] == "\u{78}\u{75}\u{78}\u{75}")
556−assert(debug.getupvalue(string.gmatch("\120","\120"),1) == "")
556+assert(debug.getupvalue(string.gmatch("\u{78}","\u{78}"),1) == "")
557local a = 0
557local a = 0
558debug.sethook(function (e)
558debug.sethook(function (e)
559a=a + 1
559a=a + 1
@@ -600,12 +600,12 @@ local g,g1
600local function f
600local function f
601(x)
601(x)
602if x then
602if x then
603−assert(debug.getinfo(1,"\83").what == "\76\117\97")
603+assert(debug.getinfo(1,"\u{53}").what == "\u{4c}\u{75}\u{61}")
604−assert(debug.getinfo(1,"\116").istailcall == true)
604+assert(debug.getinfo(1,"\u{74}").istailcall == true)
605local tail = debug.getinfo(2)
605local tail = debug.getinfo(2)
606assert(tail.func == g1 and tail.istailcall == true)
606assert(tail.func == g1 and tail.istailcall == true)
607−assert(debug.getinfo(3,"\83").what == "\109\97\105\110")
607+assert(debug.getinfo(3,"\u{53}").what == "\u{6d}\u{61}\u{69}\u{6e}")
608−print("\43")
608+print("\u{2b}")
609end
609end
610end
610end
611function g(x)
611function g(x)
@@ -624,23 +624,23 @@ h(true)
624local b = {}
624local b = {}
625debug.sethook(function (e)
625debug.sethook(function (e)
626table.insert(b,e)
626table.insert(b,e)
627−end,"\99\114")
627+end,"\u{63}\u{72}")
628h(false)
628h(false)
629debug.sethook()
629debug.sethook()
630−local res = {"\114\101\116\117\114\110","\99\97\108\108","\116\97\105\108\32\99\97\108\108","\99\97\108\108","\116\97\105\108\32\99\97\108\108","\114\101\116\117\114\110","\114\101\116\117\114\110","\99\97\108\108"}
630+local res = {"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}","\u{63}\u{61}\u{6c}\u{6c}","\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}","\u{63}\u{61}\u{6c}\u{6c}","\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}","\u{63}\u{61}\u{6c}\u{6c}"}
631for i = 1, # res
631for i = 1, # res
632do
632do
633assert(res[i] == table.remove(b,1))
633assert(res[i] == table.remove(b,1))
634end
634end
635b=0
635b=0
636debug.sethook(function (e)
636debug.sethook(function (e)
637−if e == "\116\97\105\108\32\99\97\108\108" then
637+if e == "\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}" then
638b=b + 1
638b=b + 1
639−assert(debug.getinfo(2,"\116").istailcall == true)
639+assert(debug.getinfo(2,"\u{74}").istailcall == true)
640else
640else
641−assert(debug.getinfo(2,"\116").istailcall == false)
641+assert(debug.getinfo(2,"\u{74}").istailcall == false)
642end
642end
643−end,"\99")
643+end,"\u{63}")
644h(false)
644h(false)
645debug.sethook()
645debug.sethook()
646assert(b == 2)
646assert(b == 2)
@@ -648,7 +648,7 @@ local lim = _soft and 3000 or 30000
648local function foo
648local function foo
649(x)
649(x)
650if x == 0 then
650if x == 0 then
651−assert(debug.getinfo(2).what == "\109\97\105\110")
651+assert(debug.getinfo(2).what == "\u{6d}\u{61}\u{69}\u{6e}")
652local info = debug.getinfo(1)
652local info = debug.getinfo(1)
653assert(info.istailcall == true and info.func == foo)
653assert(info.istailcall == true and info.func == foo)
654else
654else
@@ -656,57 +656,57 @@ return foo(x - 1)
656end
656end
657end
657end
658foo(lim)
658foo(lim)
659−print("\43")
659+print("\u{2b}")
660−co=load("\32\32\108\111\99\97\108\32\65\32\61\32\102\117\110\99\116\105\111\110\32\40\41\10\32\32\32\32\114\101\116\117\114\110\32\120\10\32\32\101\110\100\10\32\32\114\101\116\117\114\110\10")
660+co=load("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{41}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\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{78}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{a}")
661local a = 0
661local a = 0
662debug.sethook(function (e,l)
662debug.sethook(function (e,l)
663if l == 3 then
663if l == 3 then
664a=a + 1
664a=a + 1
665;
665;
666−assert(debug.getlocal(2,1) == "\40\116\101\109\112\111\114\97\114\121\41")
666+assert(debug.getlocal(2,1) == "\u{28}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}")
667elseif l == 4 then
667elseif l == 4 then
668a=a + 1
668a=a + 1
669;
669;
670−assert(debug.getlocal(2,1) == "\65")
670+assert(debug.getlocal(2,1) == "\u{41}")
671end
671end
672−end,"\108")
672+end,"\u{6c}")
673co()
673co()
674debug.sethook()
674debug.sethook()
675assert(a == 2)
675assert(a == 2)
676assert(debug.traceback(print) == print)
676assert(debug.traceback(print) == print)
677assert(debug.traceback(print,4) == print)
677assert(debug.traceback(print,4) == print)
678−assert(string.find(debug.traceback("\104\105",4),"\94\104\105\10"))
678+assert(string.find(debug.traceback("\u{68}\u{69}",4),"\u{5e}\u{68}\u{69}\u{a}"))
679−assert(string.find(debug.traceback("\104\105"),"\94\104\105\10"))
679+assert(string.find(debug.traceback("\u{68}\u{69}"),"\u{5e}\u{68}\u{69}\u{a}"))
680−assert(not string.find(debug.traceback("\104\105"),"\39\100\101\98\117\103\46\116\114\97\99\101\98\97\99\107\39"))
680+assert(not string.find(debug.traceback("\u{68}\u{69}"),"\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{27}"))
681−assert(string.find(debug.traceback("\104\105",0),"\39\100\101\98\117\103\46\116\114\97\99\101\98\97\99\107\39"))
681+assert(string.find(debug.traceback("\u{68}\u{69}",0),"\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{27}"))
682−assert(string.find(debug.traceback(),"\94\115\116\97\99\107\32\116\114\97\99\101\98\97\99\107\58\10"))
682+assert(string.find(debug.traceback(),"\u{5e}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{3a}\u{a}"))
683do
683do
684local st,msg = (function ()
684local st,msg = (function ()
685return pcall
685return pcall
686end)()(debug.traceback)
686end)()(debug.traceback)
687−assert(st == true and string.find(msg,"\112\99\97\108\108"))
687+assert(st == true and string.find(msg,"\u{70}\u{63}\u{61}\u{6c}\u{6c}"))
688end
688end
689−local t = debug.getinfo(print,"\117")
689+local t = debug.getinfo(print,"\u{75}")
690assert(t.isvararg == true and t.nparams == 0 and t.nups == 0)
690assert(t.isvararg == true and t.nparams == 0 and t.nups == 0)
691t=debug.getinfo(function (a,b,c)
691t=debug.getinfo(function (a,b,c)
692
692
693−end,"\117")
693+end,"\u{75}")
694assert(t.isvararg == false and t.nparams == 3 and t.nups == 0)
694assert(t.isvararg == false and t.nparams == 3 and t.nups == 0)
695t=debug.getinfo(function (a,b, ...)
695t=debug.getinfo(function (a,b, ...)
696return t[a]
696return t[a]
697−end,"\117")
697+end,"\u{75}")
698assert(t.isvararg == true and t.nparams == 2 and t.nups == 1)
698assert(t.isvararg == true and t.nparams == 2 and t.nups == 1)
699t=debug.getinfo(1)
699t=debug.getinfo(1)
700−assert(t.isvararg == true and t.nparams == 0 and t.nups == 1 and debug.getupvalue(t.func,1) == "\95\69\78\86")
700+assert(t.isvararg == true and t.nparams == 0 and t.nups == 1 and debug.getupvalue(t.func,1) == "\u{5f}\u{45}\u{4e}\u{56}")
701t=debug.getinfo(math.sin)
701t=debug.getinfo(math.sin)
702assert(t.isvararg == true and t.nparams == 0 and t.nups == 0)
702assert(t.isvararg == true and t.nparams == 0 and t.nups == 0)
703−t=debug.getinfo(string.gmatch("\97\98\99","\97"))
703+t=debug.getinfo(string.gmatch("\u{61}\u{62}\u{63}","\u{61}"))
704assert(t.isvararg == true and t.nparams == 0 and t.nups > 0)
704assert(t.isvararg == true and t.nparams == 0 and t.nups > 0)
705local function checktraceback
705local function checktraceback
706(co,p,level)
706(co,p,level)
707local tb = debug.traceback(co,nil,level)
707local tb = debug.traceback(co,nil,level)
708local i = 0
708local i = 0
709−for l in string.gmatch(tb,"\91\94\10\93\43\10\63")
709+for l in string.gmatch(tb,"\u{5b}\u{5e}\u{a}\u{5d}\u{2b}\u{a}\u{3f}")
710do
710do
711assert(i == 0 or string.find(l,p[i]))
711assert(i == 0 or string.find(l,p[i]))
712i=i + 1
712i=i + 1
@@ -723,15 +723,15 @@ end
723end
723end
724local co = coroutine.create(f)
724local co = coroutine.create(f)
725coroutine.resume(co,3)
725coroutine.resume(co,3)
726−checktraceback(co,{"\121\105\101\108\100","\100\98\46\108\117\97","\100\98\46\108\117\97","\100\98\46\108\117\97","\100\98\46\108\117\97"})
726+checktraceback(co,{"\u{79}\u{69}\u{65}\u{6c}\u{64}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}"})
727−checktraceback(co,{"\100\98\46\108\117\97","\100\98\46\108\117\97","\100\98\46\108\117\97","\100\98\46\108\117\97"},1)
727+checktraceback(co,{"\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}"},1)
728−checktraceback(co,{"\100\98\46\108\117\97","\100\98\46\108\117\97","\100\98\46\108\117\97"},2)
728+checktraceback(co,{"\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}","\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}"},2)
729−checktraceback(co,{"\100\98\46\108\117\97"},4)
729+checktraceback(co,{"\u{64}\u{62}\u{2e}\u{6c}\u{75}\u{61}"},4)
730checktraceback(co,{},40)
730checktraceback(co,{},40)
731co=coroutine.create(function (x)
731co=coroutine.create(function (x)
732local a = 1
732local a = 1
733−coroutine.yield(debug.getinfo(1,"\108"))
733+coroutine.yield(debug.getinfo(1,"\u{6c}"))
734−coroutine.yield(debug.getinfo(1,"\108").currentline)
734+coroutine.yield(debug.getinfo(1,"\u{6c}").currentline)
735return a
735return a
736end)
736end)
737local tr = {}
737local tr = {}
@@ -740,11 +740,11 @@ if l then
740table.insert(tr,l)
740table.insert(tr,l)
741end
741end
742end
742end
743−debug.sethook(co,foo,"\108\99\114")
743+debug.sethook(co,foo,"\u{6c}\u{63}\u{72}")
744local _,l = coroutine.resume(co,10)
744local _,l = coroutine.resume(co,10)
745−local x = debug.getinfo(co,1,"\108\102\76\83")
745+local x = debug.getinfo(co,1,"\u{6c}\u{66}\u{4c}\u{53}")
746assert(x.currentline == l.currentline and x.activelines[x.currentline])
746assert(x.currentline == l.currentline and x.activelines[x.currentline])
747−assert(type(x.func) == "\102\117\110\99\116\105\111\110")
747+assert(type(x.func) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
748for i = x.linedefined + 1, x.lastlinedefined
748for i = x.linedefined + 1, x.lastlinedefined
749do
749do
750assert(x.activelines[i])
750assert(x.activelines[i])
@@ -753,17 +753,17 @@ end
753assert(next(x.activelines) == nil)
753assert(next(x.activelines) == nil)
754assert(not debug.getinfo(co,2))
754assert(not debug.getinfo(co,2))
755local a,b = debug.getlocal(co,1,1)
755local a,b = debug.getlocal(co,1,1)
756−assert(a == "\120" and b == 10)
756+assert(a == "\u{78}" and b == 10)
757a,b=debug.getlocal(co,1,2)
757a,b=debug.getlocal(co,1,2)
758−assert(a == "\97" and b == 1)
758+assert(a == "\u{61}" and b == 1)
759−debug.setlocal(co,1,2,"\104\105")
759+debug.setlocal(co,1,2,"\u{68}\u{69}")
760assert(debug.gethook(co) == foo)
760assert(debug.gethook(co) == foo)
761assert(# tr == 2 and tr[1] == l.currentline - 1 and tr[2] == l.currentline)
761assert(# tr == 2 and tr[1] == l.currentline - 1 and tr[2] == l.currentline)
762a,b,c=pcall(coroutine.resume,co)
762a,b,c=pcall(coroutine.resume,co)
763assert(a and b and c == l.currentline + 1)
763assert(a and b and c == l.currentline + 1)
764−checktraceback(co,{"\121\105\101\108\100","\105\110\32\102\117\110\99\116\105\111\110\32\60"})
764+checktraceback(co,{"\u{79}\u{69}\u{65}\u{6c}\u{64}","\u{69}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{3c}"})
765a,b=coroutine.resume(co)
765a,b=coroutine.resume(co)
766−assert(a and b == "\104\105")
766+assert(a and b == "\u{68}\u{69}")
767assert(# tr == 4 and tr[4] == l.currentline + 2)
767assert(# tr == 4 and tr[4] == l.currentline + 2)
768assert(debug.gethook(co) == foo)
768assert(debug.gethook(co) == foo)
769assert(not debug.gethook())
769assert(not debug.gethook())
@@ -776,9 +776,9 @@ end)
776a,b=coroutine.resume(co,10)
776a,b=coroutine.resume(co,10)
777assert(a and b == 10)
777assert(a and b == 10)
778a,b=debug.getlocal(co,1,1)
778a,b=debug.getlocal(co,1,1)
779−assert(a == "\120" and b == 10)
779+assert(a == "\u{78}" and b == 10)
780assert(not debug.getlocal(co,1,5))
780assert(not debug.getlocal(co,1,5))
781−assert(debug.setlocal(co,1,1,30) == "\120")
781+assert(debug.setlocal(co,1,1,30) == "\u{78}")
782assert(not debug.setlocal(co,1,5,40))
782assert(not debug.setlocal(co,1,5,40))
783a,b=coroutine.resume(co,100)
783a,b=coroutine.resume(co,100)
784assert(a and b == 30)
784assert(a and b == 30)
@@ -795,13 +795,13 @@ co=coroutine.create(function (x)
795f(x)
795f(x)
796end)
796end)
797a,b=coroutine.resume(co,3)
797a,b=coroutine.resume(co,3)
798−t={"\39\99\111\114\111\117\116\105\110\101\46\121\105\101\108\100\39","\39\102\39","\105\110\32\102\117\110\99\116\105\111\110\32\60"}
798+t={"\u{27}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{27}","\u{27}\u{66}\u{27}","\u{69}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{3c}"}
799−while coroutine.status(co) == "\115\117\115\112\101\110\100\101\100" do
799+while coroutine.status(co) == "\u{73}\u{75}\u{73}\u{70}\u{65}\u{6e}\u{64}\u{65}\u{64}" do
800checktraceback(co,t)
800checktraceback(co,t)
801a,b=coroutine.resume(co)
801a,b=coroutine.resume(co)
802−table.insert(t,2,"\39\102\39")
802+table.insert(t,2,"\u{27}\u{66}\u{27}")
803end
803end
804−t[1]="\39\101\114\114\111\114\39"
804+t[1]="\u{27}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{27}"
805checktraceback(co,t)
805checktraceback(co,t)
806local function g
806local function g
807(x)
807(x)
@@ -811,7 +811,7 @@ local function f
811(i)
811(i)
812debug.sethook(function ()
812debug.sethook(function ()
813
813
814−end,"\108")
814+end,"\u{6c}")
815for j = 1, 1000
815for j = 1, 1000
816do
816do
817g(i + j)
817g(i + j)
@@ -821,33 +821,33 @@ local co = coroutine.wrap(f)
821co(10)
821co(10)
822pcall(co)
822pcall(co)
823pcall(co)
823pcall(co)
824−assert(type(debug.getregistry()) == "\116\97\98\108\101")
824+assert(type(debug.getregistry()) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
825local a = {}
825local a = {}
826local function f
826local function f
827(t)
827(t)
828local info = debug.getinfo(1)
828local info = debug.getinfo(1)
829;
829;
830−assert(info.namewhat == "\109\101\116\97\109\101\116\104\111\100")
830+assert(info.namewhat == "\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}")
831a.op=info.name
831a.op=info.name
832return info.name
832return info.name
833end
833end
834−setmetatable(a,{["\95\95\105\110\100\101\120"] = f,["\95\95\97\100\100"] = f,["\95\95\100\105\118"] = f,["\95\95\109\111\100"] = f,["\95\95\99\111\110\99\97\116"] = f,["\95\95\112\111\119"] = f,["\95\95\109\117\108"] = f,["\95\95\105\100\105\118"] = f,["\95\95\117\110\109"] = f,["\95\95\108\101\110"] = f,["\95\95\115\117\98"] = f,["\95\95\115\104\108"] = f,["\95\95\115\104\114"] = f,["\95\95\98\111\114"] = f,["\95\95\98\120\111\114"] = f,["\95\95\101\113"] = f,["\95\95\108\101"] = f,["\95\95\108\116"] = f,["\95\95\117\110\109"] = f,["\95\95\108\101\110"] = f,["\95\95\98\97\110\100"] = f,["\95\95\98\110\111\116"] = f})
834+setmetatable(a,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = f,["\u{5f}\u{5f}\u{61}\u{64}\u{64}"] = f,["\u{5f}\u{5f}\u{64}\u{69}\u{76}"] = f,["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}"] = f,["\u{5f}\u{5f}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"] = f,["\u{5f}\u{5f}\u{70}\u{6f}\u{77}"] = f,["\u{5f}\u{5f}\u{6d}\u{75}\u{6c}"] = f,["\u{5f}\u{5f}\u{69}\u{64}\u{69}\u{76}"] = f,["\u{5f}\u{5f}\u{75}\u{6e}\u{6d}"] = f,["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = f,["\u{5f}\u{5f}\u{73}\u{75}\u{62}"] = f,["\u{5f}\u{5f}\u{73}\u{68}\u{6c}"] = f,["\u{5f}\u{5f}\u{73}\u{68}\u{72}"] = f,["\u{5f}\u{5f}\u{62}\u{6f}\u{72}"] = f,["\u{5f}\u{5f}\u{62}\u{78}\u{6f}\u{72}"] = f,["\u{5f}\u{5f}\u{65}\u{71}"] = f,["\u{5f}\u{5f}\u{6c}\u{65}"] = f,["\u{5f}\u{5f}\u{6c}\u{74}"] = f,["\u{5f}\u{5f}\u{75}\u{6e}\u{6d}"] = f,["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = f,["\u{5f}\u{5f}\u{62}\u{61}\u{6e}\u{64}"] = f,["\u{5f}\u{5f}\u{62}\u{6e}\u{6f}\u{74}"] = f})
835local b = setmetatable({},getmetatable(a))
835local b = setmetatable({},getmetatable(a))
836−assert(a[3] == "\105\110\100\101\120" and a ^ 3 == "\112\111\119" and a .. a == "\99\111\110\99\97\116")
836+assert(a[3] == "\u{69}\u{6e}\u{64}\u{65}\u{78}" and a ^ 3 == "\u{70}\u{6f}\u{77}" and a .. a == "\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}")
837−assert(a / 3 == "\100\105\118" and 3 % a == "\109\111\100")
837+assert(a / 3 == "\u{64}\u{69}\u{76}" and 3 % a == "\u{6d}\u{6f}\u{64}")
838−assert(a + 3 == "\97\100\100" and 3 - a == "\115\117\98" and a * 3 == "\109\117\108" and - a == "\117\110\109" and # a == "\108\101\110" and a & 3 == "\98\97\110\100")
838+assert(a + 3 == "\u{61}\u{64}\u{64}" and 3 - a == "\u{73}\u{75}\u{62}" and a * 3 == "\u{6d}\u{75}\u{6c}" and - a == "\u{75}\u{6e}\u{6d}" and # a == "\u{6c}\u{65}\u{6e}" and a & 3 == "\u{62}\u{61}\u{6e}\u{64}")
839−assert(a + 30000 == "\97\100\100" and a - 3.0 == "\115\117\98" and a * 3.0 == "\109\117\108" and - a == "\117\110\109" and # a == "\108\101\110" and a & 3 == "\98\97\110\100")
839+assert(a + 30000 == "\u{61}\u{64}\u{64}" and a - 3.0 == "\u{73}\u{75}\u{62}" and a * 3.0 == "\u{6d}\u{75}\u{6c}" and - a == "\u{75}\u{6e}\u{6d}" and # a == "\u{6c}\u{65}\u{6e}" and a & 3 == "\u{62}\u{61}\u{6e}\u{64}")
840−assert(a | 3 == "\98\111\114" and 3 ~ a == "\98\120\111\114" and a << 3 == "\115\104\108" and a >> 1 == "\115\104\114")
840+assert(a | 3 == "\u{62}\u{6f}\u{72}" and 3 ~ a == "\u{62}\u{78}\u{6f}\u{72}" and a << 3 == "\u{73}\u{68}\u{6c}" and a >> 1 == "\u{73}\u{68}\u{72}")
841−assert(a == b and a.op == "\101\113")
841+assert(a == b and a.op == "\u{65}\u{71}")
842−assert(a >= b and a.op == "\108\101")
842+assert(a >= b and a.op == "\u{6c}\u{65}")
843−assert("\120" >= a and a.op == "\108\101")
843+assert("\u{78}" >= a and a.op == "\u{6c}\u{65}")
844−assert(a > b and a.op == "\108\116")
844+assert(a > b and a.op == "\u{6c}\u{74}")
845−assert(a > 10 and a.op == "\108\116")
845+assert(a > 10 and a.op == "\u{6c}\u{74}")
846−assert(~ a == "\98\110\111\116")
846+assert(~ a == "\u{62}\u{6e}\u{6f}\u{74}")
847do
847do
848local function f
848local function f
849()
849()
850−assert(debug.getinfo(1).name == "\102\111\114\32\105\116\101\114\97\116\111\114")
850+assert(debug.getinfo(1).name == "\u{66}\u{6f}\u{72}\u{20}\u{69}\u{74}\u{65}\u{72}\u{61}\u{74}\u{6f}\u{72}")
851end
851end
852for i in f
852for i in f
853do
853do
@@ -856,26 +856,26 @@ end
856end
856end
857do
857do
858local name = nil
858local name = nil
859−setmetatable({},{["\95\95\103\99"] = function ()
859+setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
860local t = debug.getinfo(1)
860local t = debug.getinfo(1)
861−assert(t.namewhat == "\109\101\116\97\109\101\116\104\111\100")
861+assert(t.namewhat == "\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}")
862name=t.name
862name=t.name
863end})
863end})
864repeat
864repeat
865local a = {}
865local a = {}
866until name
866until name
867−assert(name == "\95\95\103\99")
867+assert(name == "\u{5f}\u{5f}\u{67}\u{63}")
868end
868end
869do
869do
870−print("\116\101\115\116\105\110\103\32\116\114\97\99\101\98\97\99\107\32\115\105\122\101\115")
870+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{20}\u{73}\u{69}\u{7a}\u{65}\u{73}")
871local function countlines
871local function countlines
872(s)
872(s)
873−return select(2,string.gsub(s,"\10",""))
873+return select(2,string.gsub(s,"\u{a}",""))
874end
874end
875local function deep
875local function deep
876(lvl,n)
876(lvl,n)
877if lvl == 0 then
877if lvl == 0 then
878−return (debug.traceback("\109\101\115\115\97\103\101",n))
878+return (debug.traceback("\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}",n))
879else
879else
880return (deep(lvl - 1,n))
880return (deep(lvl - 1,n))
881end
881end
@@ -883,10 +883,10 @@ end
883local function checkdeep
883local function checkdeep
884(total,start)
884(total,start)
885local s = deep(total,start)
885local s = deep(total,start)
886−local rest = string.match(s,"\94\109\101\115\115\97\103\101\10\115\116\97\99\107\32\116\114\97\99\101\98\97\99\107\58\10\40\46\42\41\36")
886+local rest = string.match(s,"\u{5e}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}\u{a}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{3a}\u{a}\u{28}\u{2e}\u{2a}\u{29}\u{24}")
887local cl = countlines(rest)
887local cl = countlines(rest)
888assert(cl <= 10 + 11 + 1)
888assert(cl <= 10 + 11 + 1)
889−local brk = string.find(rest,"\37\46\37\46\37\46\9\37\40\115\107\105\112")
889+local brk = string.find(rest,"\u{25}\u{2e}\u{25}\u{2e}\u{25}\u{2e}\u{9}\u{25}\u{28}\u{73}\u{6b}\u{69}\u{70}")
890if brk then
890if brk then
891local rest1 = string.sub(rest,1,brk)
891local rest1 = string.sub(rest,1,brk)
892local rest2 = string.sub(rest,brk,# rest)
892local rest2 = string.sub(rest,brk,# rest)
@@ -903,8 +903,8 @@ coroutine.wrap(checkdeep)(d,l)
903end
903end
904end
904end
905end
905end
906−print("\116\101\115\116\105\110\103\32\100\101\98\117\103\32\102\117\110\99\116\105\111\110\115\32\111\110\32\99\104\117\110\107\32\119\105\116\104\111\117\116\32\100\101\98\117\103\32\105\110\102\111")
906+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}\u{20}\u{6f}\u{6e}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}\u{20}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{69}\u{6e}\u{66}\u{6f}")
907−local prog = "\45\45\32\112\114\111\103\114\97\109\32\116\111\32\98\101\32\108\111\97\100\101\100\32\119\105\116\104\111\117\116\32\100\101\98\117\103\32\105\110\102\111\114\109\97\116\105\111\110\32\40\115\116\114\105\112\41\10\108\111\99\97\108\32\100\101\98\117\103\32\61\32\114\101\113\117\105\114\101\39\100\101\98\117\103\39\10\108\111\99\97\108\32\97\32\61\32\49\50\32\32\45\45\32\97\32\108\111\99\97\108\32\118\97\114\105\97\98\108\101\10\10\108\111\99\97\108\32\110\44\32\118\32\61\32\100\101\98\117\103\46\103\101\116\108\111\99\97\108\40\49\44\32\49\41\10\97\115\115\101\114\116\40\110\32\61\61\32\34\40\116\101\109\112\111\114\97\114\121\41\34\32\97\110\100\32\118\32\61\61\32\100\101\98\117\103\41\32\32\32\45\45\32\117\110\107\111\119\110\32\110\97\109\101\32\98\117\116\32\107\110\111\119\110\32\118\97\108\117\101\10\110\44\32\118\32\61\32\100\101\98\117\103\46\103\101\116\108\111\99\97\108\40\49\44\32\50\41\10\97\115\115\101\114\116\40\110\32\61\61\32\34\40\116\101\109\112\111\114\97\114\121\41\34\32\97\110\100\32\118\32\61\61\32\49\50\41\32\32\32\45\45\32\117\110\107\111\119\110\32\110\97\109\101\32\98\117\116\32\107\110\111\119\110\32\118\97\108\117\101\10\10\45\45\32\97\32\102\117\110\99\116\105\111\110\32\119\105\116\104\32\97\110\32\117\112\118\97\108\117\101\10\108\111\99\97\108\32\102\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\108\111\99\97\108\32\120\59\32\114\101\116\117\114\110\32\97\32\101\110\100\10\110\44\32\118\32\61\32\100\101\98\117\103\46\103\101\116\117\112\118\97\108\117\101\40\102\44\32\49\41\10\97\115\115\101\114\116\40\110\32\61\61\32\34\40\110\111\32\110\97\109\101\41\34\32\97\110\100\32\118\32\61\61\32\49\50\41\10\97\115\115\101\114\116\40\100\101\98\117\103\46\115\101\116\117\112\118\97\108\117\101\40\102\44\32\49\44\32\49\51\41\32\61\61\32\34\40\110\111\32\110\97\109\101\41\34\41\10\97\115\115\101\114\116\40\97\32\61\61\32\49\51\41\10\10\108\111\99\97\108\32\116\32\61\32\100\101\98\117\103\46\103\101\116\105\110\102\111\40\102\41\10\97\115\115\101\114\116\40\116\46\110\97\109\101\32\61\61\32\110\105\108\32\97\110\100\32\116\46\108\105\110\101\100\101\102\105\110\101\100\32\62\32\48\32\97\110\100\10\32\32\32\32\32\32\32\116\46\108\97\115\116\108\105\110\101\100\101\102\105\110\101\100\32\61\61\32\116\46\108\105\110\101\100\101\102\105\110\101\100\32\97\110\100\10\32\32\32\32\32\32\32\116\46\115\104\111\114\116\95\115\114\99\32\61\61\32\34\63\34\41\10\97\115\115\101\114\116\40\100\101\98\117\103\46\103\101\116\105\110\102\111\40\49\41\46\99\117\114\114\101\110\116\108\105\110\101\32\61\61\32\45\49\41\10\10\116\32\61\32\100\101\98\117\103\46\103\101\116\105\110\102\111\40\102\44\32\34\76\34\41\46\97\99\116\105\118\101\108\105\110\101\115\10\97\115\115\101\114\116\40\110\101\120\116\40\116\41\32\61\61\32\110\105\108\41\32\32\32\32\45\45\32\97\99\116\105\118\101\32\108\105\110\101\115\32\97\114\101\32\101\109\112\116\121\10\10\45\45\32\100\117\109\112\47\108\111\97\100\32\97\32\102\117\110\99\116\105\111\110\32\119\105\116\104\111\117\116\32\100\101\98\117\103\32\105\110\102\111\10\102\32\61\32\108\111\97\100\40\115\116\114\105\110\103\46\100\117\109\112\40\102\41\41\10\10\116\32\61\32\100\101\98\117\103\46\103\101\116\105\110\102\111\40\102\41\10\97\115\115\101\114\116\40\116\46\110\97\109\101\32\61\61\32\110\105\108\32\97\110\100\32\116\46\108\105\110\101\100\101\102\105\110\101\100\32\62\32\48\32\97\110\100\10\32\32\32\32\32\32\32\116\46\108\97\115\116\108\105\110\101\100\101\102\105\110\101\100\32\61\61\32\116\46\108\105\110\101\100\101\102\105\110\101\100\32\97\110\100\10\32\32\32\32\32\32\32\116\46\115\104\111\114\116\95\115\114\99\32\61\61\32\34\63\34\41\10\97\115\115\101\114\116\40\100\101\98\117\103\46\103\101\116\105\110\102\111\40\49\41\46\99\117\114\114\101\110\116\108\105\110\101\32\61\61\32\45\49\41\10\10\114\101\116\117\114\110\32\97\10"
907+local prog = "\u{2d}\u{2d}\u{20}\u{70}\u{72}\u{6f}\u{67}\u{72}\u{61}\u{6d}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{65}\u{64}\u{20}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{69}\u{6e}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{73}\u{74}\u{72}\u{69}\u{70}\u{29}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{27}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{32}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{61}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{6e}\u{2c}\u{20}\u{76}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{28}\u{31}\u{2c}\u{20}\u{31}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6e}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{28}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}\u{22}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{76}\u{20}\u{3d}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{29}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{75}\u{6e}\u{6b}\u{6f}\u{77}\u{6e}\u{20}\u{6e}\u{61}\u{6d}\u{65}\u{20}\u{62}\u{75}\u{74}\u{20}\u{6b}\u{6e}\u{6f}\u{77}\u{6e}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{6e}\u{2c}\u{20}\u{76}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{28}\u{31}\u{2c}\u{20}\u{32}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6e}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{28}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}\u{22}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{76}\u{20}\u{3d}\u{3d}\u{20}\u{31}\u{32}\u{29}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{75}\u{6e}\u{6b}\u{6f}\u{77}\u{6e}\u{20}\u{6e}\u{61}\u{6d}\u{65}\u{20}\u{62}\u{75}\u{74}\u{20}\u{6b}\u{6e}\u{6f}\u{77}\u{6e}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{a}\u{2d}\u{2d}\u{20}\u{61}\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{61}\u{6e}\u{20}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{66}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{6e}\u{2c}\u{20}\u{76}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{28}\u{66}\u{2c}\u{20}\u{31}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6e}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{28}\u{6e}\u{6f}\u{20}\u{6e}\u{61}\u{6d}\u{65}\u{29}\u{22}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{76}\u{20}\u{3d}\u{3d}\u{20}\u{31}\u{32}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{73}\u{65}\u{74}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{28}\u{66}\u{2c}\u{20}\u{31}\u{2c}\u{20}\u{31}\u{33}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{28}\u{6e}\u{6f}\u{20}\u{6e}\u{61}\u{6d}\u{65}\u{29}\u{22}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{20}\u{3d}\u{3d}\u{20}\u{31}\u{33}\u{29}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{74}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{66}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{2e}\u{6e}\u{61}\u{6d}\u{65}\u{20}\u{3d}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{74}\u{2e}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{3e}\u{20}\u{30}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{2e}\u{6c}\u{61}\u{73}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{3d}\u{3d}\u{20}\u{74}\u{2e}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{2e}\u{73}\u{68}\u{6f}\u{72}\u{74}\u{5f}\u{73}\u{72}\u{63}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{3f}\u{22}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{31}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{31}\u{29}\u{a}\u{a}\u{74}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{66}\u{2c}\u{20}\u{22}\u{4c}\u{22}\u{29}\u{2e}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{6c}\u{69}\u{6e}\u{65}\u{73}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6e}\u{65}\u{78}\u{74}\u{28}\u{74}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{29}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{61}\u{63}\u{74}\u{69}\u{76}\u{65}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{73}\u{20}\u{61}\u{72}\u{65}\u{20}\u{65}\u{6d}\u{70}\u{74}\u{79}\u{a}\u{a}\u{2d}\u{2d}\u{20}\u{64}\u{75}\u{6d}\u{70}\u{2f}\u{6c}\u{6f}\u{61}\u{64}\u{20}\u{61}\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{6f}\u{75}\u{74}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{69}\u{6e}\u{66}\u{6f}\u{a}\u{66}\u{20}\u{3d}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{64}\u{75}\u{6d}\u{70}\u{28}\u{66}\u{29}\u{29}\u{a}\u{a}\u{74}\u{20}\u{3d}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{66}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{2e}\u{6e}\u{61}\u{6d}\u{65}\u{20}\u{3d}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{74}\u{2e}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{3e}\u{20}\u{30}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{2e}\u{6c}\u{61}\u{73}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{3d}\u{3d}\u{20}\u{74}\u{2e}\u{6c}\u{69}\u{6e}\u{65}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{2e}\u{73}\u{68}\u{6f}\u{72}\u{74}\u{5f}\u{73}\u{72}\u{63}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{3f}\u{22}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{31}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{3d}\u{3d}\u{20}\u{2d}\u{31}\u{29}\u{a}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{a}"
908local f = assert(load(string.dump(load(prog),true)))
908local f = assert(load(string.dump(load(prog),true)))
909assert(f() == 13)
909assert(f() == 13)
910do
910do
@@ -917,17 +917,17 @@ end
917local s = load(string.dump(foo,true))
917local s = load(string.dump(foo,true))
918local line = true
918local line = true
919debug.sethook(function (e,l)
919debug.sethook(function (e,l)
920−assert(e == "\108\105\110\101")
920+assert(e == "\u{6c}\u{69}\u{6e}\u{65}")
921line=l
921line=l
922−end,"\108")
922+end,"\u{6c}")
923assert(s() == 2)
923assert(s() == 2)
924;
924;
925debug.sethook(nil)
925debug.sethook(nil)
926assert(line == nil)
926assert(line == nil)
927end
927end
928do
928do
929−local prog = "\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\120\41\10\32\32\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\121\41\32\10\32\32\32\32\32\32\32\32\114\101\116\117\114\110\32\120\32\43\32\121\10\32\32\32\32\32\32\101\110\100\10\32\32\32\32\101\110\100\10\32\32"
929+local prog = "\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{78}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{79}\u{29}\u{20}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{20}\u{2b}\u{20}\u{79}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}"
930−local name = string.rep("\120",1000)
930+local name = string.rep("\u{78}",1000)
931local p = assert(load(prog,name))
931local p = assert(load(prog,name))
932local c = string.dump(p)
932local c = string.dump(p)
933assert(# c > 1000 and # c < 2000)
933assert(# c > 1000 and # c < 2000)
@@ -942,6 +942,6 @@ local f = assert(load(c))
942local g = f()
942local g = f()
943local h = g(30)
943local h = g(30)
944assert(h(50) == 80)
944assert(h(50) == 80)
945−assert(debug.getinfo(f).source == "\61\63" and debug.getinfo(g).source == "\61\63" and debug.getinfo(h).source == "\61\63")
945+assert(debug.getinfo(f).source == "\u{3d}\u{3f}" and debug.getinfo(g).source == "\u{3d}\u{3f}" and debug.getinfo(h).source == "\u{3d}\u{3f}")
946end
946end
947−print("\79\75")
947+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/errors.lua+237−237
@@ -1,5 +1,5 @@
1−print("\116\101\115\116\105\110\103\32\101\114\114\111\114\115")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3local mt = getmetatable(_G) or {}
3local mt = getmetatable(_G) or {}
4local oldmm = mt.__index
4local oldmm = mt.__index
5mt.__index=nil
5mt.__index=nil
@@ -28,42 +28,42 @@ end
28local function checksyntax
28local function checksyntax
29(prog,extra,token,line)
29(prog,extra,token,line)
30local msg = doit(prog)
30local msg = doit(prog)
31−if not string.find(token,"\94\60\37\97") and not string.find(token,"\94\99\104\97\114\37\40") then
31+if not string.find(token,"\u{5e}\u{3c}\u{25}\u{61}") and not string.find(token,"\u{5e}\u{63}\u{68}\u{61}\u{72}\u{25}\u{28}") then
32−token="\39" .. token .. "\39"
32+token="\u{27}" .. token .. "\u{27}"
33end
33end
34−token=string.gsub(token,"\40\37\112\41","\37\37\37\49")
34+token=string.gsub(token,"\u{28}\u{25}\u{70}\u{29}","\u{25}\u{25}\u{25}\u{31}")
35−local pt = string.format("\94\37\37\91\115\116\114\105\110\103\32\34\46\42\34\37\37\93\58\37\100\58\32\46\45\32\110\101\97\114\32\37\115\36",line,token)
35+local pt = string.format("\u{5e}\u{25}\u{25}\u{5b}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{22}\u{2e}\u{2a}\u{22}\u{25}\u{25}\u{5d}\u{3a}\u{25}\u{64}\u{3a}\u{20}\u{2e}\u{2d}\u{20}\u{6e}\u{65}\u{61}\u{72}\u{20}\u{25}\u{73}\u{24}",line,token)
36assert(string.find(msg,pt))
36assert(string.find(msg,pt))
37assert(string.find(msg,msg,1,true))
37assert(string.find(msg,msg,1,true))
38end
38end
39−assert(doit("\101\114\114\111\114\40\39\104\105\39\44\32\48\41") == "\104\105")
39+assert(doit("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{27}\u{68}\u{69}\u{27}\u{2c}\u{20}\u{30}\u{29}") == "\u{68}\u{69}")
40−assert(doit("\101\114\114\111\114\40\41") == nil)
40+assert(doit("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{29}") == nil)
41−assert(doit("\116\97\98\108\101\46\117\110\112\97\99\107\40\123\125\44\32\49\44\32\110\61\50\94\51\48\41"))
41+assert(doit("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{2e}\u{75}\u{6e}\u{70}\u{61}\u{63}\u{6b}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{31}\u{2c}\u{20}\u{6e}\u{3d}\u{32}\u{5e}\u{33}\u{30}\u{29}"))
42−assert(doit("\97\61\109\97\116\104\46\115\105\110\40\41"))
42+assert(doit("\u{61}\u{3d}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{29}"))
43−assert(not doit("\116\111\115\116\114\105\110\103\40\49\41") and doit("\116\111\115\116\114\105\110\103\40\41"))
43+assert(not doit("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{28}\u{31}\u{29}") and doit("\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{28}\u{29}"))
44−assert(doit("\116\111\110\117\109\98\101\114\40\41"))
44+assert(doit("\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{28}\u{29}"))
45−assert(doit("\114\101\112\101\97\116\32\117\110\116\105\108\32\49\59\32\97"))
45+assert(doit("\u{72}\u{65}\u{70}\u{65}\u{61}\u{74}\u{20}\u{75}\u{6e}\u{74}\u{69}\u{6c}\u{20}\u{31}\u{3b}\u{20}\u{61}"))
46−assert(doit("\114\101\116\117\114\110\59\59"))
46+assert(doit("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{3b}\u{3b}"))
47−assert(doit("\97\115\115\101\114\116\40\102\97\108\115\101\41"))
47+assert(doit("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{66}\u{61}\u{6c}\u{73}\u{65}\u{29}"))
48−assert(doit("\97\115\115\101\114\116\40\110\105\108\41"))
48+assert(doit("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6e}\u{69}\u{6c}\u{29}"))
49−assert(doit("\102\117\110\99\116\105\111\110\32\97\32\40\46\46\46\32\44\32\46\46\46\41\32\101\110\100"))
49+assert(doit("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{61}\u{20}\u{28}\u{2e}\u{2e}\u{2e}\u{20}\u{2c}\u{20}\u{2e}\u{2e}\u{2e}\u{29}\u{20}\u{65}\u{6e}\u{64}"))
50−assert(doit("\102\117\110\99\116\105\111\110\32\97\32\40\44\32\46\46\46\41\32\101\110\100"))
50+assert(doit("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{61}\u{20}\u{28}\u{2c}\u{20}\u{2e}\u{2e}\u{2e}\u{29}\u{20}\u{65}\u{6e}\u{64}"))
51−assert(doit("\108\111\99\97\108\32\116\61\123\125\59\32\116\32\61\32\116\91\35\116\93\32\43\32\49"))
51+assert(doit("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{74}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{74}\u{20}\u{3d}\u{20}\u{74}\u{5b}\u{23}\u{74}\u{5d}\u{20}\u{2b}\u{20}\u{31}"))
52−checksyntax("\32\32\108\111\99\97\108\32\97\32\61\32\123\52\10\10","\39\125\39\32\101\120\112\101\99\116\101\100\32\40\116\111\32\99\108\111\115\101\32\39\123\39\32\97\116\32\108\105\110\101\32\49\41","\60\101\111\102\62",3)
52+checksyntax("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{34}\u{a}\u{a}","\u{27}\u{7d}\u{27}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{28}\u{74}\u{6f}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{27}\u{7b}\u{27}\u{20}\u{61}\u{74}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{31}\u{29}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}",3)
53do
53do
54local function checksyntax
54local function checksyntax
55(prog,msg,line)
55(prog,msg,line)
56local st,err = load(prog)
56local st,err = load(prog)
57−assert(string.find(err,"\108\105\110\101\32" .. line))
57+assert(string.find(err,"\u{6c}\u{69}\u{6e}\u{65}\u{20}" .. line))
58assert(string.find(err,msg,1,true))
58assert(string.find(err,msg,1,true))
59end
59end
60−checksyntax("\32\32\32\32\58\58\65\58\58\32\97\32\61\32\49\10\32\32\32\32\58\58\65\58\58\10\32\32","\108\97\98\101\108\32\39\65\39\32\97\108\114\101\97\100\121\32\100\101\102\105\110\101\100",1)
60+checksyntax("\u{20}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{41}\u{3a}\u{3a}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{41}\u{3a}\u{3a}\u{a}\u{20}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{41}\u{27}\u{20}\u{61}\u{6c}\u{72}\u{65}\u{61}\u{64}\u{79}\u{20}\u{64}\u{65}\u{66}\u{69}\u{6e}\u{65}\u{64}",1)
61−checksyntax("\32\32\32\32\97\32\61\32\49\10\32\32\32\32\103\111\116\111\32\65\10\32\32\32\32\100\111\32\58\58\65\58\58\32\101\110\100\10\32\32","\110\111\32\118\105\115\105\98\108\101\32\108\97\98\101\108\32\39\65\39",2)
61+checksyntax("\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}",2)
62end
62end
63if not T then
63if not T then
64−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\116\101\115\116\115\32\102\111\114\32\109\101\115\115\97\103\101\115\32\105\110\32\67\32\60\60\60\10")
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}")
65else
65else
66−print("\116\101\115\116\105\110\103\32\109\101\109\111\114\121\32\101\114\114\111\114\32\109\101\115\115\97\103\101")
66+print("\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}")
67local a = {}
67local a = {}
68for i = 1, 10000
68for i = 1, 10000
69do
69do
@@ -78,114 +78,114 @@ a[i]=tostring(i)
78end
78end
79end)
79end)
80T.totalmem(0)
80T.totalmem(0)
81−assert(not st and msg == "\110\111\116\32\101\110\111\117\103\104" .. "\32\109\101\109\111\114\121")
81+assert(not st and 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}")
82−local res = T.testC("\32\32\32\32\35\32\112\117\115\104\32\49\54\32\101\108\101\109\101\110\116\115\32\111\110\32\116\104\101\32\115\116\97\99\107\10\32\32\32\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\10\32\32\32\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\10\32\32\32\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\32\112\117\115\104\110\117\109\32\49\59\10\32\32\32\32\112\117\115\104\110\117\109\32\49\59\10\32\32\32\32\35\32\116\114\97\99\101\98\97\99\107\32\115\104\111\117\108\100\32\119\111\114\107\32\119\105\116\104\32\52\32\114\101\109\97\105\110\105\110\103\32\115\108\111\116\115\10\32\32\32\32\116\114\97\99\101\98\97\99\107\32\120\117\120\117\32\49\59\10\32\32\32\32\114\101\116\117\114\110\32\49\10\32\32")
82+local res = T.testC("\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{70}\u{75}\u{73}\u{68}\u{20}\u{31}\u{36}\u{20}\u{65}\u{6c}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{73}\u{20}\u{6f}\u{6e}\u{20}\u{74}\u{68}\u{65}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{77}\u{6f}\u{72}\u{6b}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{34}\u{20}\u{72}\u{65}\u{6d}\u{61}\u{69}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{6c}\u{6f}\u{74}\u{73}\u{a}\u{20}\u{20}\u{20}\u{20}\u{74}\u{72}\u{61}\u{63}\u{65}\u{62}\u{61}\u{63}\u{6b}\u{20}\u{78}\u{75}\u{78}\u{75}\u{20}\u{31}\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{31}\u{a}\u{20}\u{20}")
83−assert(string.find(res,"\120\117\120\117\46\45\109\97\105\110\32\99\104\117\110\107"))
83+assert(string.find(res,"\u{78}\u{75}\u{78}\u{75}\u{2e}\u{2d}\u{6d}\u{61}\u{69}\u{6e}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}"))
84−end
84+end
85−checkmessage("\97\32\61\32\123\125\32\43\32\49","\97\114\105\116\104\109\101\116\105\99")
85+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{20}\u{2b}\u{20}\u{31}","\u{61}\u{72}\u{69}\u{74}\u{68}\u{6d}\u{65}\u{74}\u{69}\u{63}")
86−checkmessage("\97\32\61\32\123\125\32\124\32\49","\98\105\116\119\105\115\101\32\111\112\101\114\97\116\105\111\110")
86+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{20}\u{7c}\u{20}\u{31}","\u{62}\u{69}\u{74}\u{77}\u{69}\u{73}\u{65}\u{20}\u{6f}\u{70}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
87−checkmessage("\97\32\61\32\123\125\32\60\32\49","\97\116\116\101\109\112\116\32\116\111\32\99\111\109\112\97\114\101")
87+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{20}\u{3c}\u{20}\u{31}","\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}")
88−checkmessage("\97\32\61\32\123\125\32\60\61\32\49","\97\116\116\101\109\112\116\32\116\111\32\99\111\109\112\97\114\101")
88+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{20}\u{3c}\u{3d}\u{20}\u{31}","\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6d}\u{70}\u{61}\u{72}\u{65}")
89−checkmessage("\97\97\97\61\49\59\32\98\98\98\98\61\50\59\32\97\97\97\61\109\97\116\104\46\115\105\110\40\51\41\43\98\98\98\98\40\51\41","\103\108\111\98\97\108\32\39\98\98\98\98\39")
89+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{31}\u{3b}\u{20}\u{62}\u{62}\u{62}\u{62}\u{3d}\u{32}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{33}\u{29}\u{2b}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
90−checkmessage("\97\97\97\61\123\125\59\32\100\111\32\108\111\99\97\108\32\97\97\97\61\49\32\101\110\100\32\97\97\97\58\98\98\98\98\40\51\41","\109\101\116\104\111\100\32\39\98\98\98\98\39")
90+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{64}\u{6f}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{31}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{61}\u{61}\u{61}\u{3a}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
91−checkmessage("\108\111\99\97\108\32\97\61\123\125\59\32\97\46\98\98\98\98\40\51\41","\102\105\101\108\100\32\39\98\98\98\98\39")
91+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
92−assert(not string.find(doit("\97\97\97\61\123\49\51\125\59\32\108\111\99\97\108\32\98\98\98\98\61\49\59\32\97\97\97\91\98\98\98\98\93\40\51\41"),"\39\98\98\98\98\39"))
92+assert(not string.find(doit("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{31}\u{33}\u{7d}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{62}\u{62}\u{62}\u{3d}\u{31}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{5b}\u{62}\u{62}\u{62}\u{62}\u{5d}\u{28}\u{33}\u{29}"),"\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}"))
93−checkmessage("\97\97\97\61\123\49\51\125\59\32\108\111\99\97\108\32\98\98\98\98\61\49\59\32\97\97\97\91\98\98\98\98\93\40\51\41","\110\117\109\98\101\114")
93+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{31}\u{33}\u{7d}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{62}\u{62}\u{62}\u{3d}\u{31}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{5b}\u{62}\u{62}\u{62}\u{62}\u{5d}\u{28}\u{33}\u{29}","\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
94−checkmessage("\97\97\97\61\40\49\41\46\46\123\125","\97\32\116\97\98\108\101\32\118\97\108\117\101")
94+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{28}\u{31}\u{29}\u{2e}\u{2e}\u{7b}\u{7d}","\u{61}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
95−checkmessage("\97\32\61\32\123\95\69\78\86\32\61\32\123\125\125\59\32\112\114\105\110\116\40\97\46\95\69\78\86\46\120\32\43\32\49\41","\102\105\101\108\100\32\39\120\39")
95+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{5f}\u{45}\u{4e}\u{56}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{7d}\u{3b}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{61}\u{2e}\u{5f}\u{45}\u{4e}\u{56}\u{2e}\u{78}\u{20}\u{2b}\u{20}\u{31}\u{29}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{78}\u{27}")
96_G.aaa,_G.bbbb=nil
96_G.aaa,_G.bbbb=nil
97−checkmessage("\108\111\99\97\108\32\97\59\32\97\40\49\51\41","\108\111\99\97\108\32\39\97\39")
97+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3b}\u{20}\u{61}\u{28}\u{31}\u{33}\u{29}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{27}")
98−checkmessage("\32\32\108\111\99\97\108\32\97\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\97\100\100\32\61\32\51\52\125\41\10\32\32\97\32\61\32\97\32\43\32\49\10","\109\101\116\97\109\101\116\104\111\100\32\39\97\100\100\39")
98+checkmessage("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{61}\u{64}\u{64}\u{20}\u{3d}\u{20}\u{33}\u{34}\u{7d}\u{29}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{a}","\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{61}\u{64}\u{64}\u{27}")
99−checkmessage("\32\32\108\111\99\97\108\32\97\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\108\116\32\61\32\123\125\125\41\10\32\32\97\32\61\32\97\32\62\32\97\10","\109\101\116\97\109\101\116\104\111\100\32\39\108\116\39")
99+checkmessage("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{6c}\u{74}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{7d}\u{29}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{3e}\u{20}\u{61}\u{a}","\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{6c}\u{74}\u{27}")
100−checkmessage("\108\111\99\97\108\32\97\61\123\125\59\32\114\101\116\117\114\110\32\97\46\98\98\98\98\40\51\41","\102\105\101\108\100\32\39\98\98\98\98\39")
100+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
101−checkmessage("\97\97\97\61\123\125\59\32\100\111\32\108\111\99\97\108\32\97\97\97\61\49\32\101\110\100\59\32\114\101\116\117\114\110\32\97\97\97\58\98\98\98\98\40\51\41","\109\101\116\104\111\100\32\39\98\98\98\98\39")
101+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{64}\u{6f}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{31}\u{20}\u{65}\u{6e}\u{64}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{61}\u{61}\u{3a}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
102−checkmessage("\97\97\97\32\61\32\35\112\114\105\110\116","\108\101\110\103\116\104\32\111\102\32\97\32\102\117\110\99\116\105\111\110\32\118\97\108\117\101")
102+checkmessage("\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{23}\u{70}\u{72}\u{69}\u{6e}\u{74}","\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{6f}\u{66}\u{20}\u{61}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
103−checkmessage("\97\97\97\32\61\32\35\51","\108\101\110\103\116\104\32\111\102\32\97\32\110\117\109\98\101\114\32\118\97\108\117\101")
103+checkmessage("\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{23}\u{33}","\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{6f}\u{66}\u{20}\u{61}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
104_G.aaa=nil
104_G.aaa=nil
105−checkmessage("\97\97\97\46\98\98\98\58\100\100\100\40\57\41","\103\108\111\98\97\108\32\39\97\97\97\39")
105+checkmessage("\u{61}\u{61}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{3a}\u{64}\u{64}\u{64}\u{28}\u{39}\u{29}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{61}\u{27}")
106−checkmessage("\108\111\99\97\108\32\97\97\97\61\123\98\98\98\61\49\125\59\32\97\97\97\46\98\98\98\58\100\100\100\40\57\41","\102\105\101\108\100\32\39\98\98\98\39")
106+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{62}\u{62}\u{62}\u{3d}\u{31}\u{7d}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{3a}\u{64}\u{64}\u{64}\u{28}\u{39}\u{29}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{27}")
107−checkmessage("\108\111\99\97\108\32\97\97\97\61\123\98\98\98\61\123\125\125\59\32\97\97\97\46\98\98\98\58\100\100\100\40\57\41","\109\101\116\104\111\100\32\39\100\100\100\39")
107+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{62}\u{62}\u{62}\u{3d}\u{7b}\u{7d}\u{7d}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{3a}\u{64}\u{64}\u{64}\u{28}\u{39}\u{29}","\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{64}\u{64}\u{64}\u{27}")
108−checkmessage("\108\111\99\97\108\32\97\44\98\44\99\59\32\40\102\117\110\99\116\105\111\110\32\40\41\32\97\32\61\32\98\43\49\46\49\32\101\110\100\41\40\41","\117\112\118\97\108\117\101\32\39\98\39")
108+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{2c}\u{63}\u{3b}\u{20}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{62}\u{2b}\u{31}\u{2e}\u{31}\u{20}\u{65}\u{6e}\u{64}\u{29}\u{28}\u{29}","\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{27}\u{62}\u{27}")
109−assert(not doit("\108\111\99\97\108\32\97\97\97\61\123\98\98\98\61\123\100\100\100\61\110\101\120\116\125\125\59\32\97\97\97\46\98\98\98\58\100\100\100\40\110\105\108\41"))
109+assert(not doit("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{62}\u{62}\u{62}\u{3d}\u{7b}\u{64}\u{64}\u{64}\u{3d}\u{6e}\u{65}\u{78}\u{74}\u{7d}\u{7d}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{2e}\u{62}\u{62}\u{62}\u{3a}\u{64}\u{64}\u{64}\u{28}\u{6e}\u{69}\u{6c}\u{29}"))
110−checkmessage("\108\111\99\97\108\32\97\44\98\44\99\99\59\32\40\102\117\110\99\116\105\111\110\32\40\41\32\97\32\61\32\99\99\91\49\93\32\101\110\100\41\40\41","\117\112\118\97\108\117\101\32\39\99\99\39")
110+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{2c}\u{63}\u{63}\u{3b}\u{20}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{63}\u{63}\u{5b}\u{31}\u{5d}\u{20}\u{65}\u{6e}\u{64}\u{29}\u{28}\u{29}","\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{27}\u{63}\u{63}\u{27}")
111−checkmessage("\108\111\99\97\108\32\97\44\98\44\99\99\59\32\40\102\117\110\99\116\105\111\110\32\40\41\32\97\46\120\32\61\32\49\32\101\110\100\41\40\41","\117\112\118\97\108\117\101\32\39\97\39")
111+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{2c}\u{63}\u{63}\u{3b}\u{20}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{61}\u{2e}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{20}\u{65}\u{6e}\u{64}\u{29}\u{28}\u{29}","\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{27}\u{61}\u{27}")
112−checkmessage("\108\111\99\97\108\32\95\69\78\86\32\61\32\123\120\61\123\125\125\59\32\97\32\61\32\97\32\43\32\49","\103\108\111\98\97\108\32\39\97\39")
112+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{5f}\u{45}\u{4e}\u{56}\u{20}\u{3d}\u{20}\u{7b}\u{78}\u{3d}\u{7b}\u{7d}\u{7d}\u{3b}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{27}")
113−checkmessage("\66\66\61\49\59\32\108\111\99\97\108\32\97\97\97\61\123\125\59\32\120\61\97\97\97\43\66\66","\108\111\99\97\108\32\39\97\97\97\39")
113+checkmessage("\u{42}\u{42}\u{3d}\u{31}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{78}\u{3d}\u{61}\u{61}\u{61}\u{2b}\u{42}\u{42}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{61}\u{27}")
114−checkmessage("\97\97\97\61\123\125\59\32\120\61\51\46\51\47\97\97\97","\103\108\111\98\97\108\32\39\97\97\97\39")
114+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{78}\u{3d}\u{33}\u{2e}\u{33}\u{2f}\u{61}\u{61}\u{61}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{61}\u{27}")
115−checkmessage("\97\97\97\61\50\59\32\66\66\61\110\105\108\59\120\61\97\97\97\42\66\66","\103\108\111\98\97\108\32\39\66\66\39")
115+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{32}\u{3b}\u{20}\u{42}\u{42}\u{3d}\u{6e}\u{69}\u{6c}\u{3b}\u{78}\u{3d}\u{61}\u{61}\u{61}\u{2a}\u{42}\u{42}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{42}\u{42}\u{27}")
116−checkmessage("\97\97\97\61\123\125\59\32\120\61\45\97\97\97","\103\108\111\98\97\108\32\39\97\97\97\39")
116+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{78}\u{3d}\u{2d}\u{61}\u{61}\u{61}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{61}\u{27}")
117−checkmessage("\97\97\97\61\49\59\32\108\111\99\97\108\32\97\97\97\44\98\98\98\98\61\50\44\51\59\32\97\97\97\32\61\32\109\97\116\104\46\115\105\110\40\49\41\32\97\110\100\32\98\98\98\98\40\51\41","\108\111\99\97\108\32\39\98\98\98\98\39")
117+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{31}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{2c}\u{62}\u{62}\u{62}\u{62}\u{3d}\u{32}\u{2c}\u{33}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{62}\u{62}\u{62}\u{28}\u{33}\u{29}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
118−checkmessage("\97\97\97\61\49\59\32\108\111\99\97\108\32\97\97\97\44\98\98\98\98\61\50\44\51\59\32\97\97\97\32\61\32\98\98\98\98\40\49\41\32\111\114\32\97\97\97\40\51\41","\108\111\99\97\108\32\39\98\98\98\98\39")
118+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{31}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{61}\u{2c}\u{62}\u{62}\u{62}\u{62}\u{3d}\u{32}\u{2c}\u{33}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{62}\u{62}\u{62}\u{62}\u{28}\u{31}\u{29}\u{20}\u{6f}\u{72}\u{20}\u{61}\u{61}\u{61}\u{28}\u{33}\u{29}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{62}\u{62}\u{62}\u{62}\u{27}")
119−checkmessage("\108\111\99\97\108\32\97\44\98\44\99\44\102\32\61\32\49\44\49\44\49\59\32\102\40\40\97\32\97\110\100\32\98\41\32\111\114\32\99\41","\108\111\99\97\108\32\39\102\39")
119+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{2c}\u{63}\u{2c}\u{66}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{31}\u{2c}\u{31}\u{3b}\u{20}\u{66}\u{28}\u{28}\u{61}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{29}\u{20}\u{6f}\u{72}\u{20}\u{63}\u{29}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{66}\u{27}")
120−checkmessage("\108\111\99\97\108\32\97\44\98\44\99\32\61\32\49\44\49\44\49\59\32\40\40\97\32\97\110\100\32\98\41\32\111\114\32\99\41\40\41","\99\97\108\108\32\97\32\110\117\109\98\101\114\32\118\97\108\117\101")
120+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{2c}\u{63}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{31}\u{2c}\u{31}\u{3b}\u{20}\u{28}\u{28}\u{61}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{29}\u{20}\u{6f}\u{72}\u{20}\u{63}\u{29}\u{28}\u{29}","\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{61}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
121−assert(not string.find(doit("\97\97\97\61\123\125\59\32\120\61\40\97\97\97\32\111\114\32\97\97\97\41\43\40\97\97\97\32\97\110\100\32\97\97\97\41"),"\39\97\97\97\39"))
121+assert(not string.find(doit("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{78}\u{3d}\u{28}\u{61}\u{61}\u{61}\u{20}\u{6f}\u{72}\u{20}\u{61}\u{61}\u{61}\u{29}\u{2b}\u{28}\u{61}\u{61}\u{61}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{61}\u{61}\u{29}"),"\u{27}\u{61}\u{61}\u{61}\u{27}"))
122−assert(not string.find(doit("\97\97\97\61\123\125\59\32\40\97\97\97\32\111\114\32\97\97\97\41\40\41"),"\39\97\97\97\39"))
122+assert(not string.find(doit("\u{61}\u{61}\u{61}\u{3d}\u{7b}\u{7d}\u{3b}\u{20}\u{28}\u{61}\u{61}\u{61}\u{20}\u{6f}\u{72}\u{20}\u{61}\u{61}\u{61}\u{29}\u{28}\u{29}"),"\u{27}\u{61}\u{61}\u{61}\u{27}"))
123−checkmessage("\112\114\105\110\116\40\112\114\105\110\116\32\60\32\49\48\41","\102\117\110\99\116\105\111\110\32\119\105\116\104\32\110\117\109\98\101\114")
123+checkmessage("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{20}\u{3c}\u{20}\u{31}\u{30}\u{29}","\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{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
124−checkmessage("\112\114\105\110\116\40\112\114\105\110\116\32\60\32\112\114\105\110\116\41","\116\119\111\32\102\117\110\99\116\105\111\110\32\118\97\108\117\101\115")
124+checkmessage("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{20}\u{3c}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{29}","\u{74}\u{77}\u{6f}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}")
125−checkmessage("\112\114\105\110\116\40\39\49\48\39\32\60\32\49\48\41","\115\116\114\105\110\103\32\119\105\116\104\32\110\117\109\98\101\114")
125+checkmessage("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{27}\u{31}\u{30}\u{27}\u{20}\u{3c}\u{20}\u{31}\u{30}\u{29}","\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{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
126−checkmessage("\112\114\105\110\116\40\49\48\32\60\32\39\50\51\39\41","\110\117\109\98\101\114\32\119\105\116\104\32\115\116\114\105\110\103")
126+checkmessage("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{30}\u{20}\u{3c}\u{20}\u{27}\u{32}\u{33}\u{27}\u{29}","\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
127−checkmessage("\108\111\99\97\108\32\97\32\61\32\50\46\48\94\49\48\48\59\32\120\32\61\32\97\32\60\60\32\50","\108\111\99\97\108\32\97")
127+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}\u{3b}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{3c}\u{3c}\u{20}\u{32}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}")
128−checkmessage("\108\111\99\97\108\32\97\32\61\32\49\32\62\62\32\50\46\48\94\49\48\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
128+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{20}\u{3e}\u{3e}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
129−checkmessage("\108\111\99\97\108\32\97\32\61\32\49\48\46\49\32\60\60\32\50\46\48\94\49\48\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
129+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{2e}\u{31}\u{20}\u{3c}\u{3c}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
130−checkmessage("\108\111\99\97\108\32\97\32\61\32\50\46\48\94\49\48\48\32\38\32\49","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
130+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}\u{20}\u{26}\u{20}\u{31}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
131−checkmessage("\108\111\99\97\108\32\97\32\61\32\50\46\48\94\49\48\48\32\38\32\49\101\49\48\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
131+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}\u{20}\u{26}\u{20}\u{31}\u{65}\u{31}\u{30}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
132−checkmessage("\108\111\99\97\108\32\97\32\61\32\50\46\48\32\124\32\49\101\52\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
132+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{2e}\u{30}\u{20}\u{7c}\u{20}\u{31}\u{65}\u{34}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
133−checkmessage("\108\111\99\97\108\32\97\32\61\32\50\101\49\48\48\32\126\32\49","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
133+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{65}\u{31}\u{30}\u{30}\u{20}\u{7e}\u{20}\u{31}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
134−checkmessage("\115\116\114\105\110\103\46\115\117\98\40\39\97\39\44\32\50\46\48\94\49\48\48\41","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
134+checkmessage("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{73}\u{75}\u{62}\u{28}\u{27}\u{61}\u{27}\u{2c}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{31}\u{30}\u{30}\u{29}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
135−checkmessage("\115\116\114\105\110\103\46\114\101\112\40\39\97\39\44\32\51\46\51\41","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
135+checkmessage("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{72}\u{65}\u{70}\u{28}\u{27}\u{61}\u{27}\u{2c}\u{20}\u{33}\u{2e}\u{33}\u{29}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
136−checkmessage("\114\101\116\117\114\110\32\54\101\52\48\32\38\32\55","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
136+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{36}\u{65}\u{34}\u{30}\u{20}\u{26}\u{20}\u{37}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
137−checkmessage("\114\101\116\117\114\110\32\51\52\32\60\60\32\55\101\51\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
137+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{34}\u{20}\u{3c}\u{3c}\u{20}\u{37}\u{65}\u{33}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
138−checkmessage("\114\101\116\117\114\110\32\126\45\51\101\52\48","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
138+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7e}\u{2d}\u{33}\u{65}\u{34}\u{30}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
139−checkmessage("\114\101\116\117\114\110\32\126\45\51\46\48\48\57","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
139+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7e}\u{2d}\u{33}\u{2e}\u{30}\u{30}\u{39}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
140−checkmessage("\114\101\116\117\114\110\32\51\46\48\48\57\32\38\32\49","\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110")
140+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{2e}\u{30}\u{30}\u{39}\u{20}\u{26}\u{20}\u{31}","\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
141−checkmessage("\114\101\116\117\114\110\32\51\52\32\62\62\32\123\125","\116\97\98\108\101\32\118\97\108\117\101")
141+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{34}\u{20}\u{3e}\u{3e}\u{20}\u{7b}\u{7d}","\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
142−checkmessage("\97\97\97\32\61\32\50\52\32\47\47\32\48","\100\105\118\105\100\101\32\98\121\32\122\101\114\111")
142+checkmessage("\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{34}\u{20}\u{2f}\u{2f}\u{20}\u{30}","\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}")
143−checkmessage("\97\97\97\32\61\32\49\32\37\32\48","\39\110\37\48\39")
143+checkmessage("\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{20}\u{25}\u{20}\u{30}","\u{27}\u{6e}\u{25}\u{30}\u{27}")
144−checkmessage("\108\111\99\97\108\32\97\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\105\110\100\101\120\32\61\32\49\48\125\41\46\120","\97\116\116\101\109\112\116\32\116\111\32\105\110\100\101\120\32\97\32\110\117\109\98\101\114\32\118\97\108\117\101")
144+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{7d}\u{29}\u{2e}\u{78}","\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{61}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
145−checkmessage("\102\111\114\32\105\32\61\32\123\125\44\32\49\48\32\100\111\32\101\110\100","\116\97\98\108\101")
145+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{2c}\u{20}\u{31}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{74}\u{61}\u{62}\u{6c}\u{65}")
146−checkmessage("\102\111\114\32\105\32\61\32\105\111\46\115\116\100\105\110\44\32\49\48\32\100\111\32\101\110\100","\70\73\76\69")
146+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{69}\u{6e}\u{2c}\u{20}\u{31}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{46}\u{49}\u{4c}\u{45}")
147−checkmessage("\102\111\114\32\105\32\61\32\123\125\44\32\49\48\32\100\111\32\101\110\100","\105\110\105\116\105\97\108\32\118\97\108\117\101")
147+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{2c}\u{20}\u{31}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{69}\u{6e}\u{69}\u{74}\u{69}\u{61}\u{6c}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
148−checkmessage("\102\111\114\32\105\32\61\32\49\44\32\39\120\39\44\32\49\48\32\100\111\32\101\110\100","\115\116\114\105\110\103")
148+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{27}\u{78}\u{27}\u{2c}\u{20}\u{31}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
149−checkmessage("\102\111\114\32\105\32\61\32\49\44\32\123\125\44\32\49\48\32\100\111\32\101\110\100","\108\105\109\105\116")
149+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{7b}\u{7d}\u{2c}\u{20}\u{31}\u{30}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{6c}\u{69}\u{6d}\u{69}\u{74}")
150−checkmessage("\102\111\114\32\105\32\61\32\49\44\32\123\125\32\100\111\32\101\110\100","\108\105\109\105\116")
150+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{7b}\u{7d}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{6c}\u{69}\u{6d}\u{69}\u{74}")
151−checkmessage("\102\111\114\32\105\32\61\32\49\44\32\49\48\44\32\112\114\105\110\116\32\100\111\32\101\110\100","\115\116\101\112")
151+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{31}\u{30}\u{2c}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{73}\u{74}\u{65}\u{70}")
152−checkmessage("\102\111\114\32\105\32\61\32\49\44\32\49\48\44\32\112\114\105\110\116\32\100\111\32\101\110\100","\102\117\110\99\116\105\111\110")
152+checkmessage("\u{66}\u{6f}\u{72}\u{20}\u{69}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{31}\u{30}\u{2c}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
153_G.D=debug
153_G.D=debug
154−checkmessage("\32\32\45\45\32\99\114\101\97\116\101\32\108\105\103\104\116\32\117\100\97\116\97\10\32\32\108\111\99\97\108\32\120\32\61\32\68\46\117\112\118\97\108\117\101\105\100\40\102\117\110\99\116\105\111\110\32\40\41\32\114\101\116\117\114\110\32\100\101\98\117\103\32\101\110\100\44\32\49\41\10\32\32\68\46\115\101\116\117\115\101\114\118\97\108\117\101\40\120\44\32\123\125\41\10","\108\105\103\104\116\32\117\115\101\114\100\97\116\97")
154+checkmessage("\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{6c}\u{69}\u{67}\u{68}\u{74}\u{20}\u{75}\u{64}\u{61}\u{74}\u{61}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{44}\u{2e}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{69}\u{64}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{65}\u{6e}\u{64}\u{2c}\u{20}\u{31}\u{29}\u{a}\u{20}\u{20}\u{44}\u{2e}\u{73}\u{65}\u{74}\u{75}\u{73}\u{65}\u{72}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{28}\u{78}\u{2c}\u{20}\u{7b}\u{7d}\u{29}\u{a}","\u{6c}\u{69}\u{67}\u{68}\u{74}\u{20}\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}")
155_G.D=nil
155_G.D=nil
156do
156do
157−checkmessage("\109\97\116\104\46\115\105\110\40\105\111\46\105\110\112\117\116\40\41\41","\40\110\117\109\98\101\114\32\101\120\112\101\99\116\101\100\44\32\103\111\116\32\70\73\76\69\42\41")
157+checkmessage("\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{69}\u{6f}\u{2e}\u{69}\u{6e}\u{70}\u{75}\u{74}\u{28}\u{29}\u{29}","\u{28}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{2c}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{46}\u{49}\u{4c}\u{45}\u{2a}\u{29}")
158−_G.XX=setmetatable({},{["\95\95\110\97\109\101"] = "\77\121\32\84\121\112\101"})
158+_G.XX=setmetatable({},{["\u{5f}\u{5f}\u{6e}\u{61}\u{6d}\u{65}"] = "\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}"})
159−assert(string.find(tostring(XX),"\94\77\121\32\84\121\112\101"))
159+assert(string.find(tostring(XX),"\u{5e}\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}"))
160−checkmessage("\105\111\46\105\110\112\117\116\40\88\88\41","\40\70\73\76\69\42\32\101\120\112\101\99\116\101\100\44\32\103\111\116\32\77\121\32\84\121\112\101\41")
160+checkmessage("\u{69}\u{6f}\u{2e}\u{69}\u{6e}\u{70}\u{75}\u{74}\u{28}\u{58}\u{58}\u{29}","\u{28}\u{46}\u{49}\u{4c}\u{45}\u{2a}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{2c}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}\u{29}")
161−checkmessage("\114\101\116\117\114\110\32\88\88\32\43\32\49","\111\110\32\97\32\77\121\32\84\121\112\101\32\118\97\108\117\101")
161+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{58}\u{58}\u{20}\u{2b}\u{20}\u{31}","\u{6f}\u{6e}\u{20}\u{61}\u{20}\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
162−checkmessage("\114\101\116\117\114\110\32\126\105\111\46\115\116\100\105\110","\111\110\32\97\32\70\73\76\69\42\32\118\97\108\117\101")
162+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7e}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{69}\u{6e}","\u{6f}\u{6e}\u{20}\u{61}\u{20}\u{46}\u{49}\u{4c}\u{45}\u{2a}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
163−checkmessage("\114\101\116\117\114\110\32\88\88\32\60\32\88\88","\116\119\111\32\77\121\32\84\121\112\101\32\118\97\108\117\101\115")
163+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{58}\u{58}\u{20}\u{3c}\u{20}\u{58}\u{58}","\u{74}\u{77}\u{6f}\u{20}\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}")
164−checkmessage("\114\101\116\117\114\110\32\123\125\32\60\32\88\88","\116\97\98\108\101\32\119\105\116\104\32\77\121\32\84\121\112\101")
164+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{7d}\u{20}\u{3c}\u{20}\u{58}\u{58}","\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}")
165−checkmessage("\114\101\116\117\114\110\32\88\88\32\60\32\105\111\46\115\116\100\105\110","\77\121\32\84\121\112\101\32\119\105\116\104\32\70\73\76\69\42")
165+checkmessage("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{58}\u{58}\u{20}\u{3c}\u{20}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{69}\u{6e}","\u{4d}\u{79}\u{20}\u{54}\u{79}\u{70}\u{65}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{46}\u{49}\u{4c}\u{45}\u{2a}")
166_G.XX=nil
166_G.XX=nil
167if T then
167if T then
168−local x = setmetatable({},{["\95\95\110\97\109\101"] = "\84\65\66\76\69"})
168+local x = setmetatable({},{["\u{5f}\u{5f}\u{6e}\u{61}\u{6d}\u{65}"] = "\u{54}\u{41}\u{42}\u{4c}\u{45}"})
169−assert(T.testC("\76\116\111\108\115\116\114\105\110\103\32\45\49\59\32\114\101\116\117\114\110\32\49",x) == tostring(x))
169+assert(T.testC("\u{4c}\u{74}\u{6f}\u{6c}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}",x) == tostring(x))
170−local a,b = T.testC("\112\117\115\104\105\110\116\32\49\48\59\32\76\116\111\108\115\116\114\105\110\103\32\45\50\59\32\114\101\116\117\114\110\32\50",x)
170+local a,b = T.testC("\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{4c}\u{74}\u{6f}\u{6c}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}",x)
171assert(a == 10 and b == tostring(x))
171assert(a == 10 and b == tostring(x))
172−setmetatable(x,{["\95\95\116\111\115\116\114\105\110\103"] = function (o)
172+setmetatable(x,{["\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"] = function (o)
173assert(o == x)
173assert(o == x)
174−return "\65\66\67"
174+return "\u{41}\u{42}\u{43}"
175end})
175end})
176−local a,b,c = T.testC("\112\117\115\104\105\110\116\32\49\48\59\32\76\116\111\108\115\116\114\105\110\103\32\45\50\59\32\114\101\116\117\114\110\32\51",x)
176+local a,b,c = T.testC("\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{4c}\u{74}\u{6f}\u{6c}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}",x)
177−assert(a == x and b == 10 and c == "\65\66\67")
177+assert(a == x and b == 10 and c == "\u{41}\u{42}\u{43}")
178end
178end
179end
179end
180−checkmessage("\40\105\111\46\119\114\105\116\101\32\111\114\32\112\114\105\110\116\41\123\125","\105\111\46\119\114\105\116\101")
180+checkmessage("\u{28}\u{69}\u{6f}\u{2e}\u{77}\u{72}\u{69}\u{74}\u{65}\u{20}\u{6f}\u{72}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{29}\u{7b}\u{7d}","\u{69}\u{6f}\u{2e}\u{77}\u{72}\u{69}\u{74}\u{65}")
181−checkmessage("\40\99\111\108\108\101\99\116\103\97\114\98\97\103\101\32\111\114\32\112\114\105\110\116\41\123\125","\99\111\108\108\101\99\116\103\97\114\98\97\103\101")
181+checkmessage("\u{28}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{20}\u{6f}\u{72}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{29}\u{7b}\u{7d}","\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}")
182do
182do
183local f = function (a)
183local f = function (a)
184return a + 1
184return a + 1
185end
185end
186f=assert(load(string.dump(f,true)))
186f=assert(load(string.dump(f,true)))
187assert(f(3) == 4)
187assert(f(3) == 4)
188−checkerr("\94\37\63\58\37\45\49\58",f,{})
188+checkerr("\u{5e}\u{25}\u{3f}\u{3a}\u{25}\u{2d}\u{31}\u{3a}",f,{})
189f=function ()
189f=function ()
190local a
190local a
191;
191;
@@ -194,38 +194,38 @@ a={}
194return a + 2
194return a + 2
195end
195end
196f=assert(load(string.dump(f,true)))
196f=assert(load(string.dump(f,true)))
197−checkerr("\94\37\63\58\37\45\49\58\46\42\116\97\98\108\101\32\118\97\108\117\101",f)
197+checkerr("\u{5e}\u{25}\u{3f}\u{3a}\u{25}\u{2d}\u{31}\u{3a}\u{2e}\u{2a}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}",f)
198end
198end
199local t = {}
199local t = {}
200for i = 1, 1000
200for i = 1, 1000
201do
201do
202−t[i]="\97\97\97\32\61\32\120" .. i
202+t[i]="\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{78}" .. i
203end
203end
204−local s = table.concat(t,"\59\32")
204+local s = table.concat(t,"\u{3b}\u{20}")
205t=nil
205t=nil
206−checkmessage(s .. "\59\32\97\97\97\32\61\32\98\98\98\32\43\32\49","\103\108\111\98\97\108\32\39\98\98\98\39")
206+checkmessage(s .. "\u{3b}\u{20}\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{62}\u{62}\u{62}\u{20}\u{2b}\u{20}\u{31}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{62}\u{62}\u{62}\u{27}")
207−checkmessage("\108\111\99\97\108\32\95\69\78\86\61\95\69\78\86\59" .. s .. "\59\32\97\97\97\32\61\32\98\98\98\32\43\32\49","\103\108\111\98\97\108\32\39\98\98\98\39")
207+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{5f}\u{45}\u{4e}\u{56}\u{3d}\u{5f}\u{45}\u{4e}\u{56}\u{3b}" .. s .. "\u{3b}\u{20}\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{62}\u{62}\u{62}\u{20}\u{2b}\u{20}\u{31}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{62}\u{62}\u{62}\u{27}")
208−checkmessage(s .. "\59\32\108\111\99\97\108\32\116\32\61\32\123\125\59\32\97\97\97\32\61\32\116\46\98\98\98\32\43\32\49","\102\105\101\108\100\32\39\98\98\98\39")
208+checkmessage(s .. "\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{74}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{20}\u{3d}\u{20}\u{74}\u{2e}\u{62}\u{62}\u{62}\u{20}\u{2b}\u{20}\u{31}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{27}")
209−checkmessage(s .. "\59\32\108\111\99\97\108\32\116\32\61\32\123\125\59\32\116\58\98\98\98\40\41","\109\101\116\104\111\100\32\39\98\98\98\39")
209+checkmessage(s .. "\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{74}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{3b}\u{20}\u{74}\u{3a}\u{62}\u{62}\u{62}\u{28}\u{29}","\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{62}\u{62}\u{62}\u{27}")
210−checkmessage("\97\97\97\61\57\10\114\101\112\101\97\116\32\117\110\116\105\108\32\51\61\61\51\10\108\111\99\97\108\32\120\61\109\97\116\104\46\115\105\110\40\109\97\116\104\46\99\111\115\40\51\41\41\10\105\102\32\109\97\116\104\46\115\105\110\40\49\41\32\61\61\32\120\32\116\104\101\110\32\114\101\116\117\114\110\32\109\97\116\104\46\115\105\110\40\49\41\32\101\110\100\32\32\32\45\45\32\116\97\105\108\32\99\97\108\108\10\108\111\99\97\108\32\97\44\98\32\61\32\49\44\32\123\10\32\32\123\120\61\39\97\39\46\46\39\98\39\46\46\39\99\39\44\32\121\61\39\98\39\44\32\122\61\120\125\44\10\32\32\123\49\44\50\44\51\44\52\44\53\125\32\111\114\32\51\43\51\60\61\51\43\51\44\10\32\32\51\43\49\62\51\43\49\44\10\32\32\123\100\32\61\32\120\32\97\110\100\32\97\97\97\91\120\32\111\114\32\121\93\125\125\10","\103\108\111\98\97\108\32\39\97\97\97\39")
210+checkmessage("\u{61}\u{61}\u{61}\u{3d}\u{39}\u{a}\u{72}\u{65}\u{70}\u{65}\u{61}\u{74}\u{20}\u{75}\u{6e}\u{74}\u{69}\u{6c}\u{20}\u{33}\u{3d}\u{3d}\u{33}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{3d}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{63}\u{6f}\u{73}\u{28}\u{33}\u{29}\u{29}\u{a}\u{69}\u{66}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{78}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{20}\u{3d}\u{20}\u{31}\u{2c}\u{20}\u{7b}\u{a}\u{20}\u{20}\u{7b}\u{78}\u{3d}\u{27}\u{61}\u{27}\u{2e}\u{2e}\u{27}\u{62}\u{27}\u{2e}\u{2e}\u{27}\u{63}\u{27}\u{2c}\u{20}\u{79}\u{3d}\u{27}\u{62}\u{27}\u{2c}\u{20}\u{7a}\u{3d}\u{78}\u{7d}\u{2c}\u{a}\u{20}\u{20}\u{7b}\u{31}\u{2c}\u{32}\u{2c}\u{33}\u{2c}\u{34}\u{2c}\u{35}\u{7d}\u{20}\u{6f}\u{72}\u{20}\u{33}\u{2b}\u{33}\u{3c}\u{3d}\u{33}\u{2b}\u{33}\u{2c}\u{a}\u{20}\u{20}\u{33}\u{2b}\u{31}\u{3e}\u{33}\u{2b}\u{31}\u{2c}\u{a}\u{20}\u{20}\u{7b}\u{64}\u{20}\u{3d}\u{20}\u{78}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{61}\u{61}\u{5b}\u{78}\u{20}\u{6f}\u{72}\u{20}\u{79}\u{5d}\u{7d}\u{7d}\u{a}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{61}\u{27}")
211−checkmessage("\108\111\99\97\108\32\120\44\121\32\61\32\123\125\44\49\10\105\102\32\109\97\116\104\46\115\105\110\40\49\41\32\61\61\32\48\32\116\104\101\110\32\114\101\116\117\114\110\32\51\32\101\110\100\32\32\32\32\45\45\32\114\101\116\117\114\110\10\120\46\97\40\41","\102\105\101\108\100\32\39\97\39")
211+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{2c}\u{79}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{2c}\u{31}\u{a}\u{69}\u{66}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{31}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{30}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{a}\u{78}\u{2e}\u{61}\u{28}\u{29}","\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{61}\u{27}")
212−checkmessage("\112\114\101\102\105\120\32\61\32\110\105\108\10\105\110\115\101\114\116\32\61\32\110\105\108\10\119\104\105\108\101\32\49\32\100\111\10\32\32\108\111\99\97\108\32\97\10\32\32\105\102\32\110\105\108\32\116\104\101\110\32\98\114\101\97\107\32\101\110\100\10\32\32\105\110\115\101\114\116\40\112\114\101\102\105\120\44\32\97\41\10\101\110\100","\103\108\111\98\97\108\32\39\105\110\115\101\114\116\39")
212+checkmessage("\u{70}\u{72}\u{65}\u{66}\u{69}\u{78}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{31}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{a}\u{20}\u{20}\u{69}\u{66}\u{20}\u{6e}\u{69}\u{6c}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{62}\u{72}\u{65}\u{61}\u{6b}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{28}\u{70}\u{72}\u{65}\u{66}\u{69}\u{78}\u{2c}\u{20}\u{61}\u{29}\u{a}\u{65}\u{6e}\u{64}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{69}\u{6e}\u{73}\u{65}\u{72}\u{74}\u{27}")
213−checkmessage("\32\32\45\45\32\116\97\105\108\32\99\97\108\108\10\32\32\114\101\116\117\114\110\32\109\97\116\104\46\115\105\110\40\34\97\34\41\10","\115\105\110")
213+checkmessage("\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{74}\u{61}\u{69}\u{6c}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{22}\u{61}\u{22}\u{29}\u{a}","\u{73}\u{69}\u{6e}")
214−checkmessage("\99\111\108\108\101\99\116\103\97\114\98\97\103\101\40\34\110\111\111\112\116\105\111\110\34\41","\105\110\118\97\108\105\100\32\111\112\116\105\111\110")
214+checkmessage("\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{28}\u{22}\u{6e}\u{6f}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{22}\u{29}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}")
215−checkmessage("\120\32\61\32\112\114\105\110\116\32\46\46\32\34\97\34","\99\111\110\99\97\116\101\110\97\116\101")
215+checkmessage("\u{78}\u{20}\u{3d}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{20}\u{2e}\u{2e}\u{20}\u{22}\u{61}\u{22}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{65}\u{6e}\u{61}\u{74}\u{65}")
216−checkmessage("\120\32\61\32\34\97\34\32\46\46\32\102\97\108\115\101","\99\111\110\99\97\116\101\110\97\116\101")
216+checkmessage("\u{78}\u{20}\u{3d}\u{20}\u{22}\u{61}\u{22}\u{20}\u{2e}\u{2e}\u{20}\u{66}\u{61}\u{6c}\u{73}\u{65}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{65}\u{6e}\u{61}\u{74}\u{65}")
217−checkmessage("\120\32\61\32\123\125\32\46\46\32\50","\99\111\110\99\97\116\101\110\97\116\101")
217+checkmessage("\u{78}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{20}\u{2e}\u{2e}\u{20}\u{32}","\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}\u{65}\u{6e}\u{61}\u{74}\u{65}")
218−checkmessage("\103\101\116\109\101\116\97\116\97\98\108\101\40\105\111\46\115\116\100\105\110\41\46\95\95\103\99\40\41","\110\111\32\118\97\108\117\101")
218+checkmessage("\u{67}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{69}\u{6e}\u{29}\u{2e}\u{5f}\u{5f}\u{67}\u{63}\u{28}\u{29}","\u{6e}\u{6f}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
219−checkmessage("\108\111\99\97\108\32\86\97\114\10\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\109\97\105\110\40\41\10\32\32\78\111\83\117\99\104\78\97\109\101\32\40\102\117\110\99\116\105\111\110\40\41\32\86\97\114\61\48\32\101\110\100\41\10\101\110\100\10\109\97\105\110\40\41\10","\103\108\111\98\97\108\32\39\78\111\83\117\99\104\78\97\109\101\39")
219+checkmessage("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{56}\u{61}\u{72}\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{6d}\u{61}\u{69}\u{6e}\u{28}\u{29}\u{a}\u{20}\u{20}\u{4e}\u{6f}\u{53}\u{75}\u{63}\u{68}\u{4e}\u{61}\u{6d}\u{65}\u{20}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{28}\u{29}\u{20}\u{56}\u{61}\u{72}\u{3d}\u{30}\u{20}\u{65}\u{6e}\u{64}\u{29}\u{a}\u{65}\u{6e}\u{64}\u{a}\u{6d}\u{61}\u{69}\u{6e}\u{28}\u{29}\u{a}","\u{67}\u{6c}\u{6f}\u{62}\u{61}\u{6c}\u{20}\u{27}\u{4e}\u{6f}\u{53}\u{75}\u{63}\u{68}\u{4e}\u{61}\u{6d}\u{65}\u{27}")
220−print("\43")
220+print("\u{2b}")
221aaa={}
221aaa={}
222;
222;
223−setmetatable(aaa,{["\95\95\105\110\100\101\120"] = string})
223+setmetatable(aaa,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = string})
224−checkmessage("\97\97\97\58\115\117\98\40\41","\98\97\100\32\115\101\108\102")
224+checkmessage("\u{61}\u{61}\u{61}\u{3a}\u{73}\u{75}\u{62}\u{28}\u{29}","\u{62}\u{61}\u{64}\u{20}\u{73}\u{65}\u{6c}\u{66}")
225−checkmessage("\115\116\114\105\110\103\46\115\117\98\40\39\97\39\44\32\123\125\41","\35\50")
225+checkmessage("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{73}\u{75}\u{62}\u{28}\u{27}\u{61}\u{27}\u{2c}\u{20}\u{7b}\u{7d}\u{29}","\u{23}\u{32}")
226−checkmessage("\40\39\97\39\41\58\115\117\98\123\125","\35\49")
226+checkmessage("\u{28}\u{27}\u{61}\u{27}\u{29}\u{3a}\u{73}\u{75}\u{62}\u{7b}\u{7d}","\u{23}\u{31}")
227−checkmessage("\116\97\98\108\101\46\115\111\114\116\40\123\49\44\50\44\51\125\44\32\116\97\98\108\101\46\115\111\114\116\41","\39\116\97\98\108\101\46\115\111\114\116\39")
227+checkmessage("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{2e}\u{73}\u{6f}\u{72}\u{74}\u{28}\u{7b}\u{31}\u{2c}\u{32}\u{2c}\u{33}\u{7d}\u{2c}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{2e}\u{73}\u{6f}\u{72}\u{74}\u{29}","\u{27}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{2e}\u{73}\u{6f}\u{72}\u{74}\u{27}")
228−checkmessage("\115\116\114\105\110\103\46\103\115\117\98\40\39\115\39\44\32\39\115\39\44\32\115\101\116\109\101\116\97\116\97\98\108\101\41","\39\115\101\116\109\101\116\97\116\97\98\108\101\39")
228+checkmessage("\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{67}\u{73}\u{75}\u{62}\u{28}\u{27}\u{73}\u{27}\u{2c}\u{20}\u{27}\u{73}\u{27}\u{2c}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{29}","\u{27}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{27}")
229_G.aaa=nil
229_G.aaa=nil
230local function f
230local function f
231(n)
231(n)
@@ -233,43 +233,43 @@ local c = coroutine.create(f)
233local a,b = coroutine.resume(c)
233local a,b = coroutine.resume(c)
234return b
234return b
235end
235end
236−assert(string.find(f(),"\67\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
236+assert(string.find(f(),"\u{43}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
237−checkmessage("\99\111\114\111\117\116\105\110\101\46\121\105\101\108\100\40\41","\111\117\116\115\105\100\101\32\97\32\99\111\114\111\117\116\105\110\101")
237+checkmessage("\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{28}\u{29}","\u{6f}\u{75}\u{74}\u{73}\u{69}\u{64}\u{65}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}")
238f=coroutine.wrap(function ()
238f=coroutine.wrap(function ()
239table.sort({1,2,3},coroutine.yield)
239table.sort({1,2,3},coroutine.yield)
240end)
240end)
241−checkerr("\121\105\101\108\100\32\97\99\114\111\115\115",f)
241+checkerr("\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{61}\u{63}\u{72}\u{6f}\u{73}\u{73}",f)
242local idsize = 60 - 1
242local idsize = 60 - 1
243local function checksize
243local function checksize
244(source)
244(source)
245−local _,msg = load("\120",source)
245+local _,msg = load("\u{78}",source)
246−msg=string.match(msg,"\94\40\91\94\58\93\42\41\58")
246+msg=string.match(msg,"\u{5e}\u{28}\u{5b}\u{5e}\u{3a}\u{5d}\u{2a}\u{29}\u{3a}")
247assert(msg:len() <= idsize)
247assert(msg:len() <= idsize)
248end
248end
249for i = 60 - 10, 60 + 10
249for i = 60 - 10, 60 + 10
250do
250do
251−checksize("\64" .. string.rep("\120",i))
251+checksize("\u{40}" .. string.rep("\u{78}",i))
252−checksize(string.rep("\120",i - 10))
252+checksize(string.rep("\u{78}",i - 10))
253−checksize("\61" .. string.rep("\120",i))
253+checksize("\u{3d}" .. string.rep("\u{78}",i))
254end
254end
255local function lineerror
255local function lineerror
256(s,l)
256(s,l)
257local err,msg = pcall(load(s))
257local err,msg = pcall(load(s))
258−local line = tonumber(string.match(msg,"\58\40\37\100\43\41\58"))
258+local line = tonumber(string.match(msg,"\u{3a}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{3a}"))
259assert(line == l or (not line and not l))
259assert(line == l or (not line and not l))
260end
260end
261−lineerror("\108\111\99\97\108\32\97\10\32\102\111\114\32\105\61\49\44\39\97\39\32\100\111\32\10\32\112\114\105\110\116\40\105\41\32\10\32\101\110\100",2)
261+lineerror("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{a}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{69}\u{3d}\u{31}\u{2c}\u{27}\u{61}\u{27}\u{20}\u{64}\u{6f}\u{20}\u{a}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{69}\u{29}\u{20}\u{a}\u{20}\u{65}\u{6e}\u{64}",2)
262−lineerror("\10\32\108\111\99\97\108\32\97\32\10\32\102\111\114\32\107\44\118\32\105\110\32\51\32\10\32\100\111\32\10\32\112\114\105\110\116\40\107\41\32\10\32\101\110\100",3)
262+lineerror("\u{a}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{a}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{6b}\u{2c}\u{76}\u{20}\u{69}\u{6e}\u{20}\u{33}\u{20}\u{a}\u{20}\u{64}\u{6f}\u{20}\u{a}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{6b}\u{29}\u{20}\u{a}\u{20}\u{65}\u{6e}\u{64}",3)
263−lineerror("\10\10\32\102\111\114\32\107\44\118\32\105\110\32\10\32\51\32\10\32\100\111\32\10\32\112\114\105\110\116\40\107\41\32\10\32\101\110\100",4)
263+lineerror("\u{a}\u{a}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{6b}\u{2c}\u{76}\u{20}\u{69}\u{6e}\u{20}\u{a}\u{20}\u{33}\u{20}\u{a}\u{20}\u{64}\u{6f}\u{20}\u{a}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{6b}\u{29}\u{20}\u{a}\u{20}\u{65}\u{6e}\u{64}",4)
264−lineerror("\102\117\110\99\116\105\111\110\32\97\46\120\46\121\32\40\41\10\97\61\97\43\49\10\101\110\100",1)
264+lineerror("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{61}\u{2e}\u{78}\u{2e}\u{79}\u{20}\u{28}\u{29}\u{a}\u{61}\u{3d}\u{61}\u{2b}\u{31}\u{a}\u{65}\u{6e}\u{64}",1)
265−lineerror("\97\32\61\32\10\97\10\43\10\123\125",3)
265+lineerror("\u{61}\u{20}\u{3d}\u{20}\u{a}\u{61}\u{a}\u{2b}\u{a}\u{7b}\u{7d}",3)
266−lineerror("\97\32\61\32\10\51\10\43\10\40\10\52\10\47\10\112\114\105\110\116\41",6)
266+lineerror("\u{61}\u{20}\u{3d}\u{20}\u{a}\u{33}\u{a}\u{2b}\u{a}\u{28}\u{a}\u{34}\u{a}\u{2f}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{29}",6)
267−lineerror("\97\32\61\32\10\112\114\105\110\116\10\43\10\40\10\52\10\47\10\55\41",3)
267+lineerror("\u{61}\u{20}\u{3d}\u{20}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{a}\u{2b}\u{a}\u{28}\u{a}\u{34}\u{a}\u{2f}\u{a}\u{37}\u{29}",3)
268−lineerror("\97\10\61\10\45\10\10\112\114\105\110\116\10\59",3)
268+lineerror("\u{61}\u{a}\u{3d}\u{a}\u{2d}\u{a}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{a}\u{3b}",3)
269−lineerror("\97\10\40\32\32\32\32\32\45\45\32\60\60\10\50\51\41\10",2)
269+lineerror("\u{61}\u{a}\u{28}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{3c}\u{3c}\u{a}\u{32}\u{33}\u{29}\u{a}",2)
270−lineerror("\108\111\99\97\108\32\97\32\61\32\123\120\32\61\32\49\51\125\10\97\10\46\10\120\10\40\32\32\32\32\32\45\45\32\60\60\10\50\51\10\41\10",5)
270+lineerror("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{33}\u{7d}\u{a}\u{61}\u{a}\u{2e}\u{a}\u{78}\u{a}\u{28}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{3c}\u{3c}\u{a}\u{32}\u{33}\u{a}\u{29}\u{a}",5)
271−lineerror("\108\111\99\97\108\32\97\32\61\32\123\120\32\61\32\49\51\125\10\97\10\46\10\120\10\40\10\50\51\32\43\32\97\10\41\10",6)
271+lineerror("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{33}\u{7d}\u{a}\u{61}\u{a}\u{2e}\u{a}\u{78}\u{a}\u{28}\u{a}\u{32}\u{33}\u{20}\u{2b}\u{20}\u{61}\u{a}\u{29}\u{a}",6)
272−local p = "\32\32\102\117\110\99\116\105\111\110\32\103\40\41\32\102\40\41\32\101\110\100\10\32\32\102\117\110\99\116\105\111\110\32\102\40\120\41\32\101\114\114\111\114\40\39\97\39\44\32\88\88\41\32\101\110\100\10\103\40\41\10"
272+local p = "\u{20}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{67}\u{28}\u{29}\u{20}\u{66}\u{28}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\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{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{27}\u{61}\u{27}\u{2c}\u{20}\u{58}\u{58}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{67}\u{28}\u{29}\u{a}"
273XX=3
273XX=3
274;
274;
275lineerror((p),3)
275lineerror((p),3)
@@ -283,18 +283,18 @@ XX=2
283;
283;
284lineerror((p),1)
284lineerror((p),1)
285_G.XX,_G.g,_G.f=nil
285_G.XX,_G.g,_G.f=nil
286−lineerror("\108\111\99\97\108\32\98\32\61\32\102\97\108\115\101\10\105\102\32\110\111\116\32\98\32\116\104\101\110\10\32\32\101\114\114\111\114\32\39\116\101\115\116\39\10\101\110\100",3)
286+lineerror("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{66}\u{61}\u{6c}\u{73}\u{65}\u{a}\u{69}\u{66}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{27}\u{74}\u{65}\u{73}\u{74}\u{27}\u{a}\u{65}\u{6e}\u{64}",3)
287−lineerror("\108\111\99\97\108\32\98\32\61\32\102\97\108\115\101\10\105\102\32\110\111\116\32\98\32\116\104\101\110\10\32\32\105\102\32\110\111\116\32\98\32\116\104\101\110\10\32\32\32\32\105\102\32\110\111\116\32\98\32\116\104\101\110\10\32\32\32\32\32\32\101\114\114\111\114\32\39\116\101\115\116\39\10\32\32\32\32\101\110\100\10\32\32\101\110\100\10\101\110\100",5)
287+lineerror("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{66}\u{61}\u{6c}\u{73}\u{65}\u{a}\u{69}\u{66}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{69}\u{66}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{27}\u{74}\u{65}\u{73}\u{74}\u{27}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{65}\u{6e}\u{64}",5)
288−lineerror("\32\32\108\111\99\97\108\32\97\32\61\32\48\10\32\32\108\111\99\97\108\32\98\32\61\32\49\10\32\32\108\111\99\97\108\32\99\32\61\32\98\32\37\32\97\10",3)
288+lineerror("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{30}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{31}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{63}\u{20}\u{3d}\u{20}\u{62}\u{20}\u{25}\u{20}\u{61}\u{a}",3)
289do
289do
290−local s = string.format("\37\115\32\114\101\116\117\114\110\32\95\95\65\46\120",string.rep("\10",300))
290+local s = string.format("\u{25}\u{73}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{5f}\u{5f}\u{41}\u{2e}\u{78}",string.rep("\u{a}",300))
291lineerror(s,301)
291lineerror(s,301)
292end
292end
293if not _soft then
293if not _soft then
294collectgarbage()
294collectgarbage()
295−print("\116\101\115\116\105\110\103\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119")
295+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}")
296local C = 0
296local C = 0
297−local l = debug.getinfo(1,"\108").currentline + 1
297+local l = debug.getinfo(1,"\u{6c}").currentline + 1
298local function auxy
298local function auxy
299()
299()
300C=C + 1
300C=C + 1
@@ -302,34 +302,34 @@ C=C + 1
302auxy()
302auxy()
303end
303end
304function YY()
304function YY()
305−collectgarbage("\115\116\111\112")
305+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
306auxy()
306auxy()
307−collectgarbage("\114\101\115\116\97\114\116")
307+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
308end
308end
309local function checkstackmessage
309local function checkstackmessage
310(m)
310(m)
311−print("\40\101\120\112\101\99\116\101\100\32\115\116\97\99\107\32\111\118\101\114\102\108\111\119\32\97\102\116\101\114\32" .. C .. "\32\99\97\108\108\115\41")
311+print("\u{28}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}\u{20}\u{61}\u{66}\u{74}\u{65}\u{72}\u{20}" .. C .. "\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{73}\u{29}")
312C=0
312C=0
313−return (string.find(m,"\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
313+return (string.find(m,"\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
314end
314end
315−assert(checkstackmessage(doit("\89\89\40\41")))
315+assert(checkstackmessage(doit("\u{59}\u{59}\u{28}\u{29}")))
316−assert(checkstackmessage(doit("\89\89\40\41")))
316+assert(checkstackmessage(doit("\u{59}\u{59}\u{28}\u{29}")))
317−assert(checkstackmessage(doit("\89\89\40\41")))
317+assert(checkstackmessage(doit("\u{59}\u{59}\u{28}\u{29}")))
318_G.YY=nil
318_G.YY=nil
319local l1
319local l1
320local function g
320local function g
321(x)
321(x)
322−l1=debug.getinfo(x,"\108").currentline + 2
322+l1=debug.getinfo(x,"\u{6c}").currentline + 2
323−collectgarbage("\115\116\111\112")
323+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
324auxy()
324auxy()
325−collectgarbage("\114\101\115\116\97\114\116")
325+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
326end
326end
327local _,stackmsg = xpcall(g,debug.traceback,1)
327local _,stackmsg = xpcall(g,debug.traceback,1)
328−print("\43")
328+print("\u{2b}")
329local stack = {}
329local stack = {}
330−for line in string.gmatch(stackmsg,"\91\94\10\93\42")
330+for line in string.gmatch(stackmsg,"\u{5b}\u{5e}\u{a}\u{5d}\u{2a}")
331do
331do
332−local curr = string.match(line,"\58\40\37\100\43\41\58")
332+local curr = string.match(line,"\u{3a}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{3a}")
333if curr then
333if curr then
334table.insert(stack,tonumber(curr))
334table.insert(stack,tonumber(curr))
335end
335end
@@ -341,12 +341,12 @@ i=i + 1
341end
341end
342assert(i > 15)
342assert(i > 15)
343local res,msg = xpcall(error,error)
343local res,msg = xpcall(error,error)
344−assert(not res and type(msg) == "\115\116\114\105\110\103")
344+assert(not res and type(msg) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
345−print("\43")
345+print("\u{2b}")
346local function f
346local function f
347(x)
347(x)
348if x == 0 then
348if x == 0 then
349−error("\97\10")
349+error("\u{61}\u{a}")
350else
350else
351local aux = function ()
351local aux = function ()
352return f(x - 1)
352return f(x - 1)
@@ -361,8 +361,8 @@ local function loop
361return 1 + loop(x,y,z)
361return 1 + loop(x,y,z)
362end
362end
363local res,msg = xpcall(loop,function (m)
363local res,msg = xpcall(loop,function (m)
364−assert(string.find(m,"\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
364+assert(string.find(m,"\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
365−checkerr("\101\114\114\111\114\32\104\97\110\100\108\105\110\103",loop)
365+checkerr("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{68}\u{61}\u{6e}\u{64}\u{6c}\u{69}\u{6e}\u{67}",loop)
366assert(math.sin(0) == 0)
366assert(math.sin(0) == 0)
367return 15
367return 15
368end)
368end)
@@ -373,7 +373,7 @@ do
373table.unpack({},1,i)
373table.unpack({},1,i)
374end
374end
375end
375end
376−checkerr("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",f)
376+checkerr("\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}",f)
377end
377end
378do
378do
379local t = {}
379local t = {}
@@ -387,53 +387,53 @@ end)
387assert(not res and msg == nil)
387assert(not res and msg == nil)
388local function f
388local function f
389()
389()
390−error({["\109\115\103"] = "\120"})
390+error({["\u{6d}\u{73}\u{67}"] = "\u{78}"})
391end
391end
392res,msg=xpcall(f,function (r)
392res,msg=xpcall(f,function (r)
393−return {["\109\115\103"] = r.msg .. "\121"}
393+return {["\u{6d}\u{73}\u{67}"] = r.msg .. "\u{79}"}
394end)
394end)
395−assert(msg.msg == "\120\121")
395+assert(msg.msg == "\u{78}\u{79}")
396−res,msg=pcall(assert,false,"\88",t)
396+res,msg=pcall(assert,false,"\u{58}",t)
397−assert(not res and msg == "\88")
397+assert(not res and msg == "\u{58}")
398res,msg=pcall(function ()
398res,msg=pcall(function ()
399assert(false)
399assert(false)
400end)
400end)
401−local line = string.match(msg,"\37\119\43\37\46\108\117\97\58\40\37\100\43\41\58\32\97\115\115\101\114\116\105\111\110\32\102\97\105\108\101\100\33\36")
401+local line = string.match(msg,"\u{25}\u{77}\u{2b}\u{25}\u{2e}\u{6c}\u{75}\u{61}\u{3a}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{3a}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{61}\u{69}\u{6c}\u{65}\u{64}\u{21}\u{24}")
402−assert(tonumber(line) == debug.getinfo(1,"\108").currentline - 2)
402+assert(tonumber(line) == debug.getinfo(1,"\u{6c}").currentline - 2)
403res,msg=pcall(assert,false,t)
403res,msg=pcall(assert,false,t)
404assert(not res and msg == t)
404assert(not res and msg == t)
405res,msg=pcall(assert,nil,nil)
405res,msg=pcall(assert,nil,nil)
406assert(not res and msg == nil)
406assert(not res and msg == nil)
407res,msg=pcall(assert)
407res,msg=pcall(assert)
408−assert(not res and string.find(msg,"\118\97\108\117\101\32\101\120\112\101\99\116\101\100"))
408+assert(not res and string.find(msg,"\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}"))
409end
409end
410−local a,b,c = xpcall(string.find,error,"\97\108\111","\97\108")
410+local a,b,c = xpcall(string.find,error,"\u{61}\u{6c}\u{6f}","\u{61}\u{6c}")
411assert(a and b == 1 and c == 2)
411assert(a and b == 1 and c == 2)
412a,b,c=xpcall(string.find,function (x)
412a,b,c=xpcall(string.find,function (x)
413return {}
413return {}
414−end,true,"\97\108")
414+end,true,"\u{61}\u{6c}")
415−assert(not a and type(b) == "\116\97\98\108\101" and c == nil)
415+assert(not a and type(b) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and c == nil)
416−print("\116\101\115\116\105\110\103\32\116\111\107\101\110\115\32\105\110\32\101\114\114\111\114\32\109\101\115\115\97\103\101\115")
416+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{6f}\u{6b}\u{65}\u{6e}\u{73}\u{20}\u{69}\u{6e}\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}\u{73}")
417−checksyntax("\115\121\110\116\97\120\32\101\114\114\111\114","","\101\114\114\111\114",1)
417+checksyntax("\u{73}\u{79}\u{6e}\u{74}\u{61}\u{78}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}","","\u{65}\u{72}\u{72}\u{6f}\u{72}",1)
418−checksyntax("\49\46\48\48\48","","\49\46\48\48\48",1)
418+checksyntax("\u{31}\u{2e}\u{30}\u{30}\u{30}","","\u{31}\u{2e}\u{30}\u{30}\u{30}",1)
419−checksyntax("\91\91\97\93\93","","\91\91\97\93\93",1)
419+checksyntax("\u{5b}\u{5b}\u{61}\u{5d}\u{5d}","","\u{5b}\u{5b}\u{61}\u{5d}\u{5d}",1)
420−checksyntax("\39\97\97\39","","\39\97\97\39",1)
420+checksyntax("\u{27}\u{61}\u{61}\u{27}","","\u{27}\u{61}\u{61}\u{27}",1)
421−checksyntax("\119\104\105\108\101\32\60\60\32\100\111\32\101\110\100","","\60\60",1)
421+checksyntax("\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{3c}\u{3c}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","","\u{3c}\u{3c}",1)
422−checksyntax("\102\111\114\32\62\62\32\100\111\32\101\110\100","","\62\62",1)
422+checksyntax("\u{66}\u{6f}\u{72}\u{20}\u{3e}\u{3e}\u{20}\u{64}\u{6f}\u{20}\u{65}\u{6e}\u{64}","","\u{3e}\u{3e}",1)
423−checksyntax("\97\1\97\32\61\32\49","","\60\92\49\62",1)
423+checksyntax("\u{61}\u{1}\u{61}\u{20}\u{3d}\u{20}\u{31}","","\u{3c}\u{5c}\u{31}\u{3e}",1)
424−checksyntax("\255\97\32\61\32\49","","\60\92\50\53\53\62",1)
424+checksyntax("\u{ff}\u{61}\u{20}\u{3d}\u{20}\u{31}","","\u{3c}\u{5c}\u{32}\u{35}\u{35}\u{3e}",1)
425−doit("\73\32\61\32\108\111\97\100\40\34\97\61\57\43\34\41\59\32\97\97\97\61\51")
425+doit("\u{49}\u{20}\u{3d}\u{20}\u{6c}\u{6f}\u{61}\u{64}\u{28}\u{22}\u{61}\u{3d}\u{39}\u{2b}\u{22}\u{29}\u{3b}\u{20}\u{61}\u{61}\u{61}\u{3d}\u{33}")
426assert(_G.aaa == 3 and not _G.I)
426assert(_G.aaa == 3 and not _G.I)
427_G.I,_G.aaa=nil
427_G.I,_G.aaa=nil
428−print("\43")
428+print("\u{2b}")
429local lim = 1000
429local lim = 1000
430if _soft then
430if _soft then
431lim=100
431lim=100
432end
432end
433for i = 1, lim
433for i = 1, lim
434do
434do
435−doit("\97\32\61\32")
435+doit("\u{61}\u{20}\u{3d}\u{20}")
436−doit("\97\32\61\32\52\43\110\105\108")
436+doit("\u{61}\u{20}\u{3d}\u{20}\u{34}\u{2b}\u{6e}\u{69}\u{6c}")
437end
437end
438local function testrep
438local function testrep
439(init,rep,close,repc,finalresult)
439(init,rep,close,repc,finalresult)
@@ -445,49 +445,49 @@ assert(res() == finalresult)
445end
445end
446s=init .. string.rep(rep,500)
446s=init .. string.rep(rep,500)
447local res,msg = load(s)
447local res,msg = load(s)
448−assert(not res and (string.find(msg,"\116\111\111\32\109\97\110\121") or string.find(msg,"\111\118\101\114\102\108\111\119")))
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}")))
449−end
449+end
450−testrep("\108\111\99\97\108\32\97\59\32\97","\44\97","\61\32\49","\44\49")
450+testrep("\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}")
451−testrep("\108\111\99\97\108\32\97\59\32\97\61","\123","\48","\125")
451+testrep("\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}")
452−testrep("\114\101\116\117\114\110\32","\40","\50","\41",2)
452+testrep("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}","\u{28}","\u{32}","\u{29}",2)
453−testrep("\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\97\32\40\120\41\32\114\101\116\117\114\110\32\120\32\101\110\100\59\32\114\101\116\117\114\110\32","\97\40","\50\46\50","\41",2.2)
453+testrep("\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{61}\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{78}\u{20}\u{65}\u{6e}\u{64}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}","\u{61}\u{28}","\u{32}\u{2e}\u{32}","\u{29}",2.2)
454−testrep("","\100\111\32","","\32\101\110\100")
454+testrep("","\u{64}\u{6f}\u{20}","","\u{20}\u{65}\u{6e}\u{64}")
455−testrep("","\119\104\105\108\101\32\97\32\100\111\32","","\32\101\110\100")
455+testrep("","\u{77}\u{68}\u{69}\u{6c}\u{65}\u{20}\u{61}\u{20}\u{64}\u{6f}\u{20}","","\u{20}\u{65}\u{6e}\u{64}")
456−testrep("\108\111\99\97\108\32\97\59\32","\105\102\32\97\32\116\104\101\110\32\101\108\115\101\32","","\32\101\110\100")
456+testrep("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3b}\u{20}","\u{69}\u{66}\u{20}\u{61}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{65}\u{6c}\u{73}\u{65}\u{20}","","\u{20}\u{65}\u{6e}\u{64}")
457−testrep("","\102\117\110\99\116\105\111\110\32\102\111\111\32\40\41\32","","\32\101\110\100")
457+testrep("","\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{20}\u{65}\u{6e}\u{64}")
458−testrep("\108\111\99\97\108\32\97\32\61\32\39\39\59\32\114\101\116\117\114\110\32","\97\46\46","\39\97\39","","\97")
458+testrep("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{27}\u{27}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}","\u{61}\u{2e}\u{2e}","\u{27}\u{61}\u{27}","","\u{61}")
459−testrep("\108\111\99\97\108\32\97\32\61\32\49\59\32\114\101\116\117\114\110\32","\97\94","\97","",1)
459+testrep("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}","\u{61}\u{5e}","\u{61}","",1)
460−checkmessage("\97\32\61\32\102\40\120" .. string.rep("\44\120",260) .. "\41","\116\111\111\32\109\97\110\121\32\114\101\103\105\115\116\101\114\115")
460+checkmessage("\u{61}\u{20}\u{3d}\u{20}\u{66}\u{28}\u{78}" .. string.rep("\u{2c}\u{78}",260) .. "\u{29}","\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{72}\u{65}\u{67}\u{69}\u{73}\u{74}\u{65}\u{72}\u{73}")
461local lim = 127
461local lim = 127
462−local s = "\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\65\32\40\41\10\32\32\108\111\99\97\108\32"
462+local s = "\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{6f}\u{6f}\u{41}\u{20}\u{28}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}"
463for j = 1, lim
463for j = 1, lim
464do
464do
465−s=s .. "\97" .. j .. "\44\32"
465+s=s .. "\u{61}" .. j .. "\u{2c}\u{20}"
466end
466end
467−s=s .. "\98\44\99\10"
467+s=s .. "\u{62}\u{2c}\u{63}\u{a}"
468−s=s .. "\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\111\111\66\32\40\41\10\32\32\108\111\99\97\108\32"
468+s=s .. "\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{6f}\u{6f}\u{42}\u{20}\u{28}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}"
469for j = 1, lim
469for j = 1, lim
470do
470do
471−s=s .. "\98" .. j .. "\44\32"
471+s=s .. "\u{62}" .. j .. "\u{2c}\u{20}"
472end
472end
473−s=s .. "\98\10"
473+s=s .. "\u{62}\u{a}"
474−s=s .. "\102\117\110\99\116\105\111\110\32\102\111\111\67\32\40\41\32\114\101\116\117\114\110\32\98\43\99"
474+s=s .. "\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{43}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{62}\u{2b}\u{63}"
475local c = 1 + 2
475local c = 1 + 2
476for j = 1, lim
476for j = 1, lim
477do
477do
478−s=s .. "\43\97" .. j .. "\43\98" .. j
478+s=s .. "\u{2b}\u{61}" .. j .. "\u{2b}\u{62}" .. j
479c=c + 2
479c=c + 2
480end
480end
481−s=s .. "\10\101\110\100\32\32\101\110\100\32\101\110\100"
481+s=s .. "\u{a}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{65}\u{6e}\u{64}"
482local a,b = load(s)
482local a,b = load(s)
483−assert(c > 255 and string.find(b,"\116\111\111\32\109\97\110\121\32\117\112\118\97\108\117\101\115") and string.find(b,"\108\105\110\101\32\53"))
483+assert(c > 255 and string.find(b,"\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{75}\u{70}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{73}") and string.find(b,"\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{35}"))
484−s="\10\102\117\110\99\116\105\111\110\32\102\111\111\32\40\41\10\32\32\108\111\99\97\108\32"
484+s="\u{a}\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{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}"
485for j = 1, 300
485for j = 1, 300
486do
486do
487−s=s .. "\97" .. j .. "\44\32"
487+s=s .. "\u{61}" .. j .. "\u{2c}\u{20}"
488end
488end
489−s=s .. "\98\10"
489+s=s .. "\u{62}\u{a}"
490local a,b = load(s)
490local a,b = load(s)
491−assert(string.find(b,"\108\105\110\101\32\50") and string.find(b,"\116\111\111\32\109\97\110\121\32\108\111\99\97\108\32\118\97\114\105\97\98\108\101\115"))
491+assert(string.find(b,"\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{32}") and string.find(b,"\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{73}"))
492mt.__index=oldmm
492mt.__index=oldmm
493−print("\79\75")
493+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/events.lua+132−132
@@ -1,30 +1,30 @@
1−print("\116\101\115\116\105\110\103\32\109\101\116\97\116\97\98\108\101\115")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3X=20
3X=20
4;
4;
5B=30
5B=30
6−_ENV=setmetatable({},{["\95\95\105\110\100\101\120"] = _G})
6+_ENV=setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = _G})
7collectgarbage()
7collectgarbage()
8X=X + 10
8X=X + 10
9assert(X == 30 and _G.X == 20)
9assert(X == 30 and _G.X == 20)
10B=false
10B=false
11assert(B == false)
11assert(B == false)
12−_ENV["\66"]=undef
12+_ENV["\u{42}"]=undef
13assert(B == 30)
13assert(B == 30)
14assert(getmetatable({}) == nil)
14assert(getmetatable({}) == nil)
15assert(getmetatable(4) == nil)
15assert(getmetatable(4) == nil)
16assert(getmetatable(nil) == nil)
16assert(getmetatable(nil) == nil)
17−a={["\110\97\109\101"] = "\78\65\77\69"}
17+a={["\u{6e}\u{61}\u{6d}\u{65}"] = "\u{4e}\u{41}\u{4d}\u{45}"}
18;
18;
19−setmetatable(a,{["\95\95\109\101\116\97\116\97\98\108\101"] = "\120\117\120\117",["\95\95\116\111\115\116\114\105\110\103"] = function (x)
19+setmetatable(a,{["\u{5f}\u{5f}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}"] = "\u{78}\u{75}\u{78}\u{75}",["\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"] = function (x)
20return x.name
20return x.name
21end})
21end})
22−assert(getmetatable(a) == "\120\117\120\117")
22+assert(getmetatable(a) == "\u{78}\u{75}\u{78}\u{75}")
23−assert(tostring(a) == "\78\65\77\69")
23+assert(tostring(a) == "\u{4e}\u{41}\u{4d}\u{45}")
24assert(pcall(setmetatable,a,{}) == false)
24assert(pcall(setmetatable,a,{}) == false)
25−a.name="\103\111\114\111\114\111\98\97"
25+a.name="\u{67}\u{6f}\u{72}\u{6f}\u{72}\u{6f}\u{62}\u{61}"
26−assert(tostring(a) == "\103\111\114\111\114\111\98\97")
26+assert(tostring(a) == "\u{67}\u{6f}\u{72}\u{6f}\u{72}\u{6f}\u{62}\u{61}")
27−local a,t = {10,20,30,["\120"] = "\49\48",["\121"] = "\50\48"},{}
27+local a,t = {10,20,30,["\u{78}"] = "\u{31}\u{30}",["\u{79}"] = "\u{32}\u{30}"},{}
28assert(setmetatable(a,t) == a)
28assert(setmetatable(a,t) == a)
29assert(getmetatable(a) == t)
29assert(getmetatable(a) == t)
30assert(setmetatable(a,nil) == a)
30assert(setmetatable(a,nil) == a)
@@ -32,12 +32,12 @@ assert(getmetatable(a) == nil)
32assert(setmetatable(a,t) == a)
32assert(setmetatable(a,t) == a)
33function f(t,i,e)
33function f(t,i,e)
34assert(not e)
34assert(not e)
35−local p = rawget(t,"\112\97\114\101\110\116")
35+local p = rawget(t,"\u{70}\u{61}\u{72}\u{65}\u{6e}\u{74}")
36−return (p and p[i] + 3),"\100\117\109\109\121\32\114\101\116\117\114\110"
36+return (p and p[i] + 3),"\u{64}\u{75}\u{6d}\u{6d}\u{79}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"
37end
37end
38t.__index=f
38t.__index=f
39−a.parent={["\122"] = 25,["\120"] = 12,[4] = 24}
39+a.parent={["\u{7a}"] = 25,["\u{78}"] = 12,[4] = 24}
40−assert(a[1] == 10 and a.z == 28 and a[4] == 27 and a.x == "\49\48")
40+assert(a[1] == 10 and a.z == 28 and a[4] == 27 and a.x == "\u{31}\u{30}")
41collectgarbage()
41collectgarbage()
42a=setmetatable({},t)
42a=setmetatable({},t)
43function f(t,i,v)
43function f(t,i,v)
@@ -47,7 +47,7 @@ setmetatable(t,t)
47t.__newindex=f
47t.__newindex=f
48a[1]=30
48a[1]=30
49;
49;
50−a.x="\49\48\49"
50+a.x="\u{31}\u{30}\u{31}"
51;
51;
52a[5]=200
52a[5]=200
53assert(a[1] == 27 and a.x == 98 and a[5] == 197)
53assert(a[1] == 27 and a.x == 98 and a[5] == 197)
@@ -81,8 +81,8 @@ assert(next(a) == nil)
81do
81do
82local a
82local a
83;
83;
84−a=setmetatable({},{["\95\95\105\110\100\101\120"] = setmetatable({},{["\95\95\105\110\100\101\120"] = setmetatable({},{["\95\95\105\110\100\101\120"] = function (_,n)
84+a=setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,n)
85−return a[n - 3] + 4,"\108\105\120\111"
85+return a[n - 3] + 4,"\u{6c}\u{69}\u{78}\u{6f}"
86end})})})
86end})})})
87a[0]=20
87a[0]=20
88for i = 0, 10
88for i = 0, 10
@@ -97,10 +97,10 @@ for i = 1, 10
97do
97do
98a[i]=0
98a[i]=0
99;
99;
100−a["\97" .. i]=0
100+a["\u{61}" .. i]=0
101;
101;
102end
102end
103−setmetatable(a,{["\95\95\110\101\119\105\110\100\101\120"] = function (t,k,v)
103+setmetatable(a,{["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k,v)
104foi=true
104foi=true
105;
105;
106rawset(t,k,v)
106rawset(t,k,v)
@@ -112,12 +112,12 @@ a[1]=0
112assert(not foi)
112assert(not foi)
113foi=false
113foi=false
114;
114;
115−a["\97\49"]=0
115+a["\u{61}\u{31}"]=0
116;
116;
117assert(not foi)
117assert(not foi)
118foi=false
118foi=false
119;
119;
120−a["\97\49\49"]=0
120+a["\u{61}\u{31}\u{31}"]=0
121;
121;
122assert(foi)
122assert(foi)
123foi=false
123foi=false
@@ -143,8 +143,8 @@ return t,{...}
143end
143end
144t.__call=f
144t.__call=f
145do
145do
146−local x,y = a(table.unpack({"\97",1}))
146+local x,y = a(table.unpack({"\u{61}",1}))
147−assert(x == a and y[1] == "\97" and y[2] == 1 and y[3] == undef)
147+assert(x == a and y[1] == "\u{61}" and y[2] == 1 and y[3] == undef)
148x,y=a()
148x,y=a()
149assert(x == a and y[1] == undef)
149assert(x == a and y[1] == undef)
150end
150end
@@ -157,23 +157,23 @@ cap={[0] = op,...}
157return (...)
157return (...)
158end
158end
159end
159end
160−t.__add=f("\97\100\100")
160+t.__add=f("\u{61}\u{64}\u{64}")
161−t.__sub=f("\115\117\98")
161+t.__sub=f("\u{73}\u{75}\u{62}")
162−t.__mul=f("\109\117\108")
162+t.__mul=f("\u{6d}\u{75}\u{6c}")
163−t.__div=f("\100\105\118")
163+t.__div=f("\u{64}\u{69}\u{76}")
164−t.__idiv=f("\105\100\105\118")
164+t.__idiv=f("\u{69}\u{64}\u{69}\u{76}")
165−t.__mod=f("\109\111\100")
165+t.__mod=f("\u{6d}\u{6f}\u{64}")
166−t.__unm=f("\117\110\109")
166+t.__unm=f("\u{75}\u{6e}\u{6d}")
167−t.__pow=f("\112\111\119")
167+t.__pow=f("\u{70}\u{6f}\u{77}")
168−t.__len=f("\108\101\110")
168+t.__len=f("\u{6c}\u{65}\u{6e}")
169−t.__band=f("\98\97\110\100")
169+t.__band=f("\u{62}\u{61}\u{6e}\u{64}")
170−t.__bor=f("\98\111\114")
170+t.__bor=f("\u{62}\u{6f}\u{72}")
171−t.__bxor=f("\98\120\111\114")
171+t.__bxor=f("\u{62}\u{78}\u{6f}\u{72}")
172−t.__shl=f("\115\104\108")
172+t.__shl=f("\u{73}\u{68}\u{6c}")
173−t.__shr=f("\115\104\114")
173+t.__shr=f("\u{73}\u{68}\u{72}")
174−t.__bnot=f("\98\110\111\116")
174+t.__bnot=f("\u{62}\u{6e}\u{6f}\u{74}")
175−t.__lt=f("\108\116")
175+t.__lt=f("\u{6c}\u{74}")
176−t.__le=f("\108\101")
176+t.__le=f("\u{6c}\u{65}")
177local function checkcap
177local function checkcap
178(t)
178(t)
179assert(# cap + 1 == # t)
179assert(# cap + 1 == # t)
@@ -185,174 +185,174 @@ end
185end
185end
186assert(b + 5 == b)
186assert(b + 5 == b)
187;
187;
188−checkcap({"\97\100\100",b,5})
188+checkcap({"\u{61}\u{64}\u{64}",b,5})
189assert(5.2 + b == 5.2)
189assert(5.2 + b == 5.2)
190;
190;
191−checkcap({"\97\100\100",5.2,b})
191+checkcap({"\u{61}\u{64}\u{64}",5.2,b})
192−assert(b + "\53" == b)
192+assert(b + "\u{35}" == b)
193;
193;
194−checkcap({"\97\100\100",b,"\53"})
194+checkcap({"\u{61}\u{64}\u{64}",b,"\u{35}"})
195assert(5 + b == 5)
195assert(5 + b == 5)
196;
196;
197−checkcap({"\97\100\100",5,b})
197+checkcap({"\u{61}\u{64}\u{64}",5,b})
198−assert("\53" + b == "\53")
198+assert("\u{35}" + b == "\u{35}")
199;
199;
200−checkcap({"\97\100\100","\53",b})
200+checkcap({"\u{61}\u{64}\u{64}","\u{35}",b})
201b=b - 3
201b=b - 3
202;
202;
203assert(getmetatable(b) == t)
203assert(getmetatable(b) == t)
204;
204;
205−checkcap({"\115\117\98",b,3})
205+checkcap({"\u{73}\u{75}\u{62}",b,3})
206assert(5 - a == 5)
206assert(5 - a == 5)
207;
207;
208−checkcap({"\115\117\98",5,a})
208+checkcap({"\u{73}\u{75}\u{62}",5,a})
209−assert("\53" - a == "\53")
209+assert("\u{35}" - a == "\u{35}")
210;
210;
211−checkcap({"\115\117\98","\53",a})
211+checkcap({"\u{73}\u{75}\u{62}","\u{35}",a})
212assert(a * a == a)
212assert(a * a == a)
213;
213;
214−checkcap({"\109\117\108",a,a})
214+checkcap({"\u{6d}\u{75}\u{6c}",a,a})
215assert(a / 0 == a)
215assert(a / 0 == a)
216;
216;
217−checkcap({"\100\105\118",a,0})
217+checkcap({"\u{64}\u{69}\u{76}",a,0})
218assert(a / 0.0 == a)
218assert(a / 0.0 == a)
219;
219;
220−checkcap({"\100\105\118",a,0.0})
220+checkcap({"\u{64}\u{69}\u{76}",a,0.0})
221assert(a % 2 == a)
221assert(a % 2 == a)
222;
222;
223−checkcap({"\109\111\100",a,2})
223+checkcap({"\u{6d}\u{6f}\u{64}",a,2})
224assert(a // (1 / 0) == a)
224assert(a // (1 / 0) == a)
225;
225;
226−checkcap({"\105\100\105\118",a,1 / 0})
226+checkcap({"\u{69}\u{64}\u{69}\u{76}",a,1 / 0})
227;
227;
228(function ()
228(function ()
229−assert(a & "\104\105" == a)
229+assert(a & "\u{68}\u{69}" == a)
230end)()
230end)()
231;
231;
232−checkcap({"\98\97\110\100",a,"\104\105"})
232+checkcap({"\u{62}\u{61}\u{6e}\u{64}",a,"\u{68}\u{69}"})
233;
233;
234(function ()
234(function ()
235assert(10 & a == 10)
235assert(10 & a == 10)
236end)()
236end)()
237;
237;
238−checkcap({"\98\97\110\100",10,a})
238+checkcap({"\u{62}\u{61}\u{6e}\u{64}",10,a})
239;
239;
240(function ()
240(function ()
241assert(a | 10 == a)
241assert(a | 10 == a)
242end)()
242end)()
243;
243;
244−checkcap({"\98\111\114",a,10})
244+checkcap({"\u{62}\u{6f}\u{72}",a,10})
245−assert(a | "\104\105" == a)
245+assert(a | "\u{68}\u{69}" == a)
246;
246;
247−checkcap({"\98\111\114",a,"\104\105"})
247+checkcap({"\u{62}\u{6f}\u{72}",a,"\u{68}\u{69}"})
248−assert("\104\105" ~ a == "\104\105")
248+assert("\u{68}\u{69}" ~ a == "\u{68}\u{69}")
249;
249;
250−checkcap({"\98\120\111\114","\104\105",a})
250+checkcap({"\u{62}\u{78}\u{6f}\u{72}","\u{68}\u{69}",a})
251;
251;
252(function ()
252(function ()
253assert(10 ~ a == 10)
253assert(10 ~ a == 10)
254end)()
254end)()
255;
255;
256−checkcap({"\98\120\111\114",10,a})
256+checkcap({"\u{62}\u{78}\u{6f}\u{72}",10,a})
257assert(- a == a)
257assert(- a == a)
258;
258;
259−checkcap({"\117\110\109",a,a})
259+checkcap({"\u{75}\u{6e}\u{6d}",a,a})
260assert(a ^ 4.0 == a)
260assert(a ^ 4.0 == a)
261;
261;
262−checkcap({"\112\111\119",a,4.0})
262+checkcap({"\u{70}\u{6f}\u{77}",a,4.0})
263−assert(a ^ "\52" == a)
263+assert(a ^ "\u{34}" == a)
264;
264;
265−checkcap({"\112\111\119",a,"\52"})
265+checkcap({"\u{70}\u{6f}\u{77}",a,"\u{34}"})
266assert(4 ^ a == 4)
266assert(4 ^ a == 4)
267;
267;
268−checkcap({"\112\111\119",4,a})
268+checkcap({"\u{70}\u{6f}\u{77}",4,a})
269−assert("\52" ^ a == "\52")
269+assert("\u{34}" ^ a == "\u{34}")
270;
270;
271−checkcap({"\112\111\119","\52",a})
271+checkcap({"\u{70}\u{6f}\u{77}","\u{34}",a})
272assert(# a == a)
272assert(# a == a)
273;
273;
274−checkcap({"\108\101\110",a,a})
274+checkcap({"\u{6c}\u{65}\u{6e}",a,a})
275assert(~ a == a)
275assert(~ a == a)
276;
276;
277−checkcap({"\98\110\111\116",a,a})
277+checkcap({"\u{62}\u{6e}\u{6f}\u{74}",a,a})
278assert(a << 3 == a)
278assert(a << 3 == a)
279;
279;
280−checkcap({"\115\104\108",a,3})
280+checkcap({"\u{73}\u{68}\u{6c}",a,3})
281assert(1.5 >> a == 1.5)
281assert(1.5 >> a == 1.5)
282;
282;
283−checkcap({"\115\104\114",1.5,a})
283+checkcap({"\u{73}\u{68}\u{72}",1.5,a})
284assert(5.0 > a)
284assert(5.0 > a)
285;
285;
286−checkcap({"\108\116",a,5.0})
286+checkcap({"\u{6c}\u{74}",a,5.0})
287assert(a >= 10)
287assert(a >= 10)
288;
288;
289−checkcap({"\108\101",10,a})
289+checkcap({"\u{6c}\u{65}",10,a})
290assert(a <= - 10.0)
290assert(a <= - 10.0)
291;
291;
292−checkcap({"\108\101",a,- 10.0})
292+checkcap({"\u{6c}\u{65}",a,- 10.0})
293assert(a < - 10)
293assert(a < - 10)
294;
294;
295−checkcap({"\108\116",a,- 10})
295+checkcap({"\u{6c}\u{74}",a,- 10})
296−t=setmetatable({1,2,3},{["\95\95\108\101\110"] = function ()
296+t=setmetatable({1,2,3},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
297return 10
297return 10
298end})
298end})
299assert(# t == 10 and rawlen(t) == 3)
299assert(# t == 10 and rawlen(t) == 3)
300−assert(rawlen("\97\98\99") == 3)
300+assert(rawlen("\u{61}\u{62}\u{63}") == 3)
301assert(not pcall(rawlen,io.stdin))
301assert(not pcall(rawlen,io.stdin))
302assert(not pcall(rawlen,34))
302assert(not pcall(rawlen,34))
303assert(not pcall(rawlen))
303assert(not pcall(rawlen))
304−assert(rawlen(string.rep("\97",1000)) == 1000)
304+assert(rawlen(string.rep("\u{61}",1000)) == 1000)
305t={}
305t={}
306t.__lt=function (a,b,c)
306t.__lt=function (a,b,c)
307collectgarbage()
307collectgarbage()
308assert(c == nil)
308assert(c == nil)
309−if type(a) == "\116\97\98\108\101" then
309+if type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
310a=a.x
310a=a.x
311end
311end
312−if type(b) == "\116\97\98\108\101" then
312+if type(b) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
313b=b.x
313b=b.x
314end
314end
315−return a < b,"\100\117\109\109\121"
315+return a < b,"\u{64}\u{75}\u{6d}\u{6d}\u{79}"
316end
316end
317t.__le=function (a,b,c)
317t.__le=function (a,b,c)
318assert(c == nil)
318assert(c == nil)
319−if type(a) == "\116\97\98\108\101" then
319+if type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
320a=a.x
320a=a.x
321end
321end
322−if type(b) == "\116\97\98\108\101" then
322+if type(b) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
323b=b.x
323b=b.x
324end
324end
325−return a <= b,"\100\117\109\109\121"
325+return a <= b,"\u{64}\u{75}\u{6d}\u{6d}\u{79}"
326end
326end
327t.__eq=function (a,b,c)
327t.__eq=function (a,b,c)
328assert(c == nil)
328assert(c == nil)
329−if type(a) == "\116\97\98\108\101" then
329+if type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
330a=a.x
330a=a.x
331end
331end
332−if type(b) == "\116\97\98\108\101" then
332+if type(b) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
333b=b.x
333b=b.x
334end
334end
335−return a == b,"\100\117\109\109\121"
335+return a == b,"\u{64}\u{75}\u{6d}\u{6d}\u{79}"
336end
336end
337function Op(x)
337function Op(x)
338−return setmetatable({["\120"] = x},t)
338+return setmetatable({["\u{78}"] = x},t)
339end
339end
340local function test
340local function test
341(a,b,c)
341(a,b,c)
342assert(not (Op(1) < Op(1)) and (Op(1) < Op(2)) and not (Op(2) < Op(1)))
342assert(not (Op(1) < Op(1)) and (Op(1) < Op(2)) and not (Op(2) < Op(1)))
343assert(not (1 < Op(1)) and (Op(1) < 2) and not (2 < Op(1)))
343assert(not (1 < Op(1)) and (Op(1) < 2) and not (2 < Op(1)))
344−assert(not (Op("\97") < Op("\97")) and (Op("\97") < Op("\98")) and not (Op("\98") < Op("\97")))
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 ("\97" < Op("\97")) and (Op("\97") < "\98") and not (Op("\98") < Op("\97")))
345+assert(not ("\u{61}" < Op("\u{61}")) and (Op("\u{61}") < "\u{62}") and not (Op("\u{62}") < Op("\u{61}")))
346assert((Op(1) <= Op(1)) and (Op(1) <= Op(2)) and not (Op(2) <= Op(1)))
346assert((Op(1) <= Op(1)) and (Op(1) <= Op(2)) and not (Op(2) <= Op(1)))
347−assert((Op("\97") <= Op("\97")) and (Op("\97") <= Op("\98")) and not (Op("\98") <= Op("\97")))
347+assert((Op("\u{61}") <= Op("\u{61}")) and (Op("\u{61}") <= Op("\u{62}")) and not (Op("\u{62}") <= Op("\u{61}")))
348assert(not (Op(1) > Op(1)) and not (Op(1) > Op(2)) and (Op(2) > Op(1)))
348assert(not (Op(1) > Op(1)) and not (Op(1) > Op(2)) and (Op(2) > Op(1)))
349−assert(not (Op("\97") > Op("\97")) and not (Op("\97") > Op("\98")) and (Op("\98") > Op("\97")))
349+assert(not (Op("\u{61}") > Op("\u{61}")) and not (Op("\u{61}") > Op("\u{62}")) and (Op("\u{62}") > Op("\u{61}")))
350assert((Op(1) >= Op(1)) and not (Op(1) >= Op(2)) and (Op(2) >= Op(1)))
350assert((Op(1) >= Op(1)) and not (Op(1) >= Op(2)) and (Op(2) >= Op(1)))
351assert((1 >= Op(1)) and not (1 >= Op(2)) and (Op(2) >= 1))
351assert((1 >= Op(1)) and not (1 >= Op(2)) and (Op(2) >= 1))
352−assert((Op("\97") >= Op("\97")) and not (Op("\97") >= Op("\98")) and (Op("\98") >= Op("\97")))
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(("\97" >= Op("\97")) and not (Op("\97") >= "\98") and (Op("\98") >= Op("\97")))
353+assert(("\u{61}" >= Op("\u{61}")) and not (Op("\u{61}") >= "\u{62}") and (Op("\u{62}") >= Op("\u{61}")))
354assert(Op(1) == Op(1) and Op(1) ~= Op(2))
354assert(Op(1) == Op(1) and Op(1) ~= Op(2))
355−assert(Op("\97") == Op("\97") and Op("\97") ~= Op("\98"))
355+assert(Op("\u{61}") == Op("\u{61}") and Op("\u{61}") ~= Op("\u{62}"))
356assert(a == a and a ~= b)
356assert(a == a and a ~= b)
357assert(Op(3) == c)
357assert(Op(3) == c)
358end
358end
@@ -416,7 +416,7 @@ assert(Set({1,3,5}) ~= Set({3,5,1,6}))
416t[Set({1,3,5})]=1
416t[Set({1,3,5})]=1
417assert(t[Set({1,3,5})] == undef)
417assert(t[Set({1,3,5})] == undef)
418do
418do
419−local mt = {["\95\95\101\113"] = true}
419+local mt = {["\u{5f}\u{5f}\u{65}\u{71}"] = true}
420local a = setmetatable({10},mt)
420local a = setmetatable({10},mt)
421local b = setmetatable({10},mt)
421local b = setmetatable({10},mt)
422mt.__eq=nil
422mt.__eq=nil
@@ -427,7 +427,7 @@ end
427assert(a == b)
427assert(a == b)
428end
428end
429if not T then
429if not T then
430−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\116\101\115\116\115\32\102\111\114\32\117\115\101\114\100\97\116\97\32\60\60\60\10")
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}")
431else
431else
432local u1 = T.newuserdata(0,1)
432local u1 = T.newuserdata(0,1)
433local u2 = T.newuserdata(0,1)
433local u2 = T.newuserdata(0,1)
@@ -439,10 +439,10 @@ debug.setuservalue(u2,2)
439;
439;
440debug.setuservalue(u3,1)
440debug.setuservalue(u3,1)
441;
441;
442−debug.setmetatable(u1,{["\95\95\101\113"] = function (a,b)
442+debug.setmetatable(u1,{["\u{5f}\u{5f}\u{65}\u{71}"] = function (a,b)
443return debug.getuservalue(a) == debug.getuservalue(b)
443return debug.getuservalue(a) == debug.getuservalue(b)
444end})
444end})
445−debug.setmetatable(u2,{["\95\95\101\113"] = function (a,b)
445+debug.setmetatable(u2,{["\u{5f}\u{5f}\u{65}\u{71}"] = function (a,b)
446return true
446return true
447end})
447end})
448assert(u1 == u3 and u3 == u1 and u1 ~= u2)
448assert(u1 == u3 and u3 == u1 and u1 ~= u2)
@@ -450,7 +450,7 @@ assert(u2 == u1 and u2 == u3 and u3 == u2)
450assert(u2 ~= {})
450assert(u2 ~= {})
451assert(rawequal(u1,u1) and not rawequal(u1,u3))
451assert(rawequal(u1,u1) and not rawequal(u1,u3))
452local mirror = {}
452local mirror = {}
453−debug.setmetatable(u3,{["\95\95\105\110\100\101\120"] = mirror,["\95\95\110\101\119\105\110\100\101\120"] = mirror})
453+debug.setmetatable(u3,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = mirror,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = mirror})
454for i = 1, 10
454for i = 1, 10
455do
455do
456u3[i]=i
456u3[i]=i
@@ -462,37 +462,37 @@ end
462end
462end
463t.__concat=function (a,b,c)
463t.__concat=function (a,b,c)
464assert(c == nil)
464assert(c == nil)
465−if type(a) == "\116\97\98\108\101" then
465+if type(a) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
466a=a.val
466a=a.val
467end
467end
468−if type(b) == "\116\97\98\108\101" then
468+if type(b) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" then
469b=b.val
469b=b.val
470end
470end
471if A then
471if A then
472return a .. b
472return a .. b
473else
473else
474−return setmetatable({["\118\97\108"] = a .. b},t)
474+return setmetatable({["\u{76}\u{61}\u{6c}"] = a .. b},t)
475end
475end
476end
476end
477−c={["\118\97\108"] = "\99"}
477+c={["\u{76}\u{61}\u{6c}"] = "\u{63}"}
478;
478;
479setmetatable(c,t)
479setmetatable(c,t)
480−d={["\118\97\108"] = "\100"}
480+d={["\u{76}\u{61}\u{6c}"] = "\u{64}"}
481;
481;
482setmetatable(d,t)
482setmetatable(d,t)
483A=true
483A=true
484−assert(c .. d == "\99\100")
484+assert(c .. d == "\u{63}\u{64}")
485−assert(0 .. "\97" .. "\98" .. c .. d .. "\101" .. "\102" .. (5 + 3) .. "\103" == "\48\97\98\99\100\101\102\56\103")
485+assert(0 .. "\u{61}" .. "\u{62}" .. c .. d .. "\u{65}" .. "\u{66}" .. (5 + 3) .. "\u{67}" == "\u{30}\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{38}\u{67}")
486A=false
486A=false
487−assert((c .. d .. c .. d).val == "\99\100\99\100")
487+assert((c .. d .. c .. d).val == "\u{63}\u{64}\u{63}\u{64}")
488x=c .. d
488x=c .. d
489−assert(getmetatable(x) == t and x.val == "\99\100")
489+assert(getmetatable(x) == t and x.val == "\u{63}\u{64}")
490−x=0 .. "\97" .. "\98" .. c .. d .. "\101" .. "\102" .. "\103"
490+x=0 .. "\u{61}" .. "\u{62}" .. c .. d .. "\u{65}" .. "\u{66}" .. "\u{67}"
491−assert(x.val == "\48\97\98\99\100\101\102\103")
491+assert(x.val == "\u{30}\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}")
492c={}
492c={}
493local x
493local x
494−setmetatable(c,{["\95\95\99\111\110\99\97\116"] = function (a,b)
494+setmetatable(c,{["\u{5f}\u{5f}\u{63}\u{6f}\u{6e}\u{63}\u{61}\u{74}"] = function (a,b)
495−assert(type(a) == "\110\117\109\98\101\114" and b == c or type(b) == "\110\117\109\98\101\114" and a == c)
495+assert(type(a) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" and b == c or type(b) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" and a == c)
496return c
496return c
497end})
497end})
498assert(c .. 5 == c and 5 .. c == c)
498assert(c .. 5 == c and 5 .. c == c)
@@ -521,7 +521,7 @@ t2.__lt=t1.__lt
521setmetatable(d,t2)
521setmetatable(d,t2)
522assert(c == d and c < d and not (d <= c))
522assert(c == d and c < d and not (d <= c))
523local i
523local i
524−local tt = {["\95\95\99\97\108\108"] = function (t, ...)
524+local tt = {["\u{5f}\u{5f}\u{63}\u{61}\u{6c}\u{6c}"] = function (t, ...)
525i=i + 1
525i=i + 1
526if t.f then
526if t.f then
527return t.f(...)
527return t.f(...)
@@ -530,31 +530,31 @@ return {...}
530end
530end
531end}
531end}
532local a = setmetatable({},tt)
532local a = setmetatable({},tt)
533−local b = setmetatable({["\102"] = a},tt)
533+local b = setmetatable({["\u{66}"] = a},tt)
534−local c = setmetatable({["\102"] = b},tt)
534+local c = setmetatable({["\u{66}"] = b},tt)
535i=0
535i=0
536x=c(3,4,5)
536x=c(3,4,5)
537assert(i == 3 and x[1] == 3 and x[3] == 5)
537assert(i == 3 and x[1] == 3 and x[3] == 5)
538assert(_G.X == 20)
538assert(_G.X == 20)
539_G.X,_G.B=nil
539_G.X,_G.B=nil
540−print("\43")
540+print("\u{2b}")
541local _g = _G
541local _g = _G
542−_ENV=setmetatable({},{["\95\95\105\110\100\101\120"] = function (_,k)
542+_ENV=setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k)
543return _g[k]
543return _g[k]
544end})
544end})
545a={}
545a={}
546−rawset(a,"\120",1,2,3)
546+rawset(a,"\u{78}",1,2,3)
547−assert(a.x == 1 and rawget(a,"\120",3) == 1)
547+assert(a.x == 1 and rawget(a,"\u{78}",3) == 1)
548−print("\43")
548+print("\u{2b}")
549−mt={["\95\95\105\110\100\101\120"] = function (a,b)
549+mt={["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (a,b)
550return a + b
550return a + b
551−end,["\95\95\108\101\110"] = function (x)
551+end,["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function (x)
552return math.floor(x)
552return math.floor(x)
553end}
553end}
554debug.setmetatable(10,mt)
554debug.setmetatable(10,mt)
555assert(getmetatable(- 2) == mt)
555assert(getmetatable(- 2) == mt)
556assert((10)[3] == 13)
556assert((10)[3] == 13)
557−assert((10)["\51"] == 13)
557+assert((10)["\u{33}"] == 13)
558assert(# 3.45 == 3)
558assert(# 3.45 == 3)
559debug.setmetatable(23,nil)
559debug.setmetatable(23,nil)
560assert(getmetatable(- 2) == nil)
560assert(getmetatable(- 2) == nil)
@@ -605,6 +605,6 @@ parent.__newindex=parent
605setmetatable(parent,grandparent)
605setmetatable(parent,grandparent)
606child=setmetatable({},parent)
606child=setmetatable({},parent)
607child.foo=10
607child.foo=10
608−assert(T == parent and K == "\102\111\111" and V == 10)
608+assert(T == parent and K == "\u{66}\u{6f}\u{6f}" and V == 10)
609−print("\79\75")
609+print("\u{4f}\u{4b}")
610return 12
610return 12
zod/luau/res/lua/cycled/files.lua+337−337
@@ -1,8 +1,8 @@
1−local debug = require("\100\101\98\117\103")
1+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
2local maxint = math.maxinteger
2local maxint = math.maxinteger
3−assert(type(os.getenv("\80\65\84\72")) == "\115\116\114\105\110\103")
3+assert(type(os.getenv("\u{50}\u{41}\u{54}\u{48}")) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
4assert(io.input(io.stdin) == io.stdin)
4assert(io.input(io.stdin) == io.stdin)
5−assert(not pcall(io.input,"\110\111\110\45\101\120\105\115\116\101\110\116\45\102\105\108\101"))
5+assert(not pcall(io.input,"\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}\u{6e}\u{74}\u{2d}\u{66}\u{69}\u{6c}\u{65}"))
6assert(io.output(io.stdout) == io.stdout)
6assert(io.output(io.stdout) == io.stdout)
7local function testerr
7local function testerr
8(msg,f, ...)
8(msg,f, ...)
@@ -14,37 +14,37 @@ local function checkerr
14assert(testerr(msg,f,...))
14assert(testerr(msg,f,...))
15end
15end
16assert(not io.close(io.stdin) and not io.stdout:close() and not io.stderr:close())
16assert(not io.close(io.stdin) and not io.stdout:close() and not io.stderr:close())
17−checkerr("\103\111\116\32\110\111\32\118\97\108\117\101",io.stdin.close)
17+checkerr("\u{67}\u{6f}\u{74}\u{20}\u{6e}\u{6f}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}",io.stdin.close)
18−assert(type(io.input()) == "\117\115\101\114\100\97\116\97" and io.type(io.output()) == "\102\105\108\101")
18+assert(type(io.input()) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}" and io.type(io.output()) == "\u{66}\u{69}\u{6c}\u{65}")
19−assert(type(io.stdin) == "\117\115\101\114\100\97\116\97" and io.type(io.stderr) == "\102\105\108\101")
19+assert(type(io.stdin) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}" and io.type(io.stderr) == "\u{66}\u{69}\u{6c}\u{65}")
20assert(not io.type(8))
20assert(not io.type(8))
21local a = {}
21local a = {}
22;
22;
23setmetatable(a,{})
23setmetatable(a,{})
24assert(not io.type(a))
24assert(not io.type(a))
25−assert(getmetatable(io.input()).__name == "\70\73\76\69\42")
25+assert(getmetatable(io.input()).__name == "\u{46}\u{49}\u{4c}\u{45}\u{2a}")
26−local a,b,c = io.open("\120\117\120\117\95\110\97\111\95\101\120\105\115\116\101")
26+local a,b,c = io.open("\u{78}\u{75}\u{78}\u{75}\u{5f}\u{6e}\u{61}\u{6f}\u{5f}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}")
27−assert(not a and type(b) == "\115\116\114\105\110\103" and type(c) == "\110\117\109\98\101\114")
27+assert(not a and type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(c) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
28−a,b,c=io.open("\47\97\47\98\47\99\47\100","\119")
28+a,b,c=io.open("\u{2f}\u{61}\u{2f}\u{62}\u{2f}\u{63}\u{2f}\u{64}","\u{77}")
29−assert(not a and type(b) == "\115\116\114\105\110\103" and type(c) == "\110\117\109\98\101\114")
29+assert(not a and type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(c) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
30local file = os.tmpname()
30local file = os.tmpname()
31−local f,msg = io.open(file,"\119")
31+local f,msg = io.open(file,"\u{77}")
32if not f then
32if not f then
33−(Message or print)("\39\111\115\46\116\109\112\110\97\109\101\39\32\102\105\108\101\32\99\97\110\110\111\116\32\98\101\32\111\112\101\110\59\32\115\107\105\112\112\105\110\103\32\102\105\108\101\32\116\101\115\116\115")
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}")
34else
34else
35f:close()
35f:close()
36−print("\116\101\115\116\105\110\103\32\105\47\111")
36+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{2f}\u{6f}")
37local otherfile = os.tmpname()
37local otherfile = os.tmpname()
38−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"\114\119")
38+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"\u{72}\u{77}")
39−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"\114\98\43")
39+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"\u{72}\u{62}\u{2b}")
40−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"\114\43\98\107")
40+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"\u{72}\u{2b}\u{62}\u{6b}")
41−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"")
41+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"")
42−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"\43")
42+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"\u{2b}")
43−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.open,file,"\98")
43+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.open,file,"\u{62}")
44−assert(io.open(file,"\114\43\98")):close()
44+assert(io.open(file,"\u{72}\u{2b}\u{62}")):close()
45−assert(io.open(file,"\114\43")):close()
45+assert(io.open(file,"\u{72}\u{2b}")):close()
46−assert(io.open(file,"\114\98")):close()
46+assert(io.open(file,"\u{72}\u{62}")):close()
47−assert(os.setlocale("\67","\97\108\108"))
47+assert(os.setlocale("\u{43}","\u{61}\u{6c}\u{6c}"))
48io.input(io.stdin)
48io.input(io.stdin)
49;
49;
50io.output(io.stdout)
50io.output(io.stdout)
@@ -56,28 +56,28 @@ assert(not io.open(file))
56io.output(file)
56io.output(file)
57assert(io.output() ~= io.stdout)
57assert(io.output() ~= io.stdout)
58if not _port then
58if not _port then
59−local status,msg,code = io.stdin:seek("\115\101\116",1000)
59+local status,msg,code = io.stdin:seek("\u{73}\u{65}\u{74}",1000)
60−assert(not status and type(msg) == "\115\116\114\105\110\103" and type(code) == "\110\117\109\98\101\114")
60+assert(not status and type(msg) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(code) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
61end
61end
62assert(io.output():seek() == 0)
62assert(io.output():seek() == 0)
63−assert(io.write("\97\108\111\32\97\108\111"):seek() == string.len("\97\108\111\32\97\108\111"))
63+assert(io.write("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}"):seek() == string.len("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}"))
64−assert(io.output():seek("\99\117\114",- 3) == string.len("\97\108\111\32\97\108\111") - 3)
64+assert(io.output():seek("\u{63}\u{75}\u{72}",- 3) == string.len("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}") - 3)
65−assert(io.write("\106\111\97\111"))
65+assert(io.write("\u{6a}\u{6f}\u{61}\u{6f}"))
66−assert(io.output():seek("\101\110\100") == string.len("\97\108\111\32\106\111\97\111"))
66+assert(io.output():seek("\u{65}\u{6e}\u{64}") == string.len("\u{61}\u{6c}\u{6f}\u{20}\u{6a}\u{6f}\u{61}\u{6f}"))
67−assert(io.output():seek("\115\101\116") == 0)
67+assert(io.output():seek("\u{73}\u{65}\u{74}") == 0)
68−assert(io.write("\34\97\108\111\34","\123\97\125\10","\115\101\99\111\110\100\32\108\105\110\101\10","\116\104\105\114\100\32\108\105\110\101\32\10"))
68+assert(io.write("\u{22}\u{61}\u{6c}\u{6f}\u{22}","\u{7b}\u{61}\u{7d}\u{a}","\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}","\u{74}\u{68}\u{69}\u{72}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{a}"))
69−assert(io.write("\88\102\111\117\114\116\104\95\108\105\110\101"))
69+assert(io.write("\u{58}\u{66}\u{6f}\u{75}\u{72}\u{74}\u{68}\u{5f}\u{6c}\u{69}\u{6e}\u{65}"))
70io.output(io.stdout)
70io.output(io.stdout)
71collectgarbage()
71collectgarbage()
72assert(io.input() == io.stdin and rawequal(io.output(),io.stdout))
72assert(io.input() == io.stdin and rawequal(io.output(),io.stdout))
73−print("\43")
73+print("\u{2b}")
74collectgarbage()
74collectgarbage()
75for i = 1, 120
75for i = 1, 120
76do
76do
77for i = 1, 5
77for i = 1, 5
78do
78do
79io.input(file)
79io.input(file)
80−assert(io.open(file,"\114"))
80+assert(io.open(file,"\u{72}"))
81io.lines(file)
81io.lines(file)
82end
82end
83collectgarbage()
83collectgarbage()
@@ -86,125 +86,125 @@ io.input():close()
86io.close()
86io.close()
87assert(os.rename(file,otherfile))
87assert(os.rename(file,otherfile))
88assert(not os.rename(file,otherfile))
88assert(not os.rename(file,otherfile))
89−io.output(io.open(otherfile,"\97\98"))
89+io.output(io.open(otherfile,"\u{61}\u{62}"))
90−assert(io.write("\10\10\9\9\32\32",3450,"\10"))
90+assert(io.write("\u{a}\u{a}\u{9}\u{9}\u{20}\u{20}",3450,"\u{a}"))
91;
91;
92io.close()
92io.close()
93do
93do
94local F = nil
94local F = nil
95do
95do
96−local f <close> = assert(io.open(file,"\119"))
96+local f <close> = assert(io.open(file,"\u{77}"))
97F=f
97F=f
98end
98end
99−assert(tostring(F) == "\102\105\108\101\32\40\99\108\111\115\101\100\41")
99+assert(tostring(F) == "\u{66}\u{69}\u{6c}\u{65}\u{20}\u{28}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{29}")
100end
100end
101assert(os.remove(file))
101assert(os.remove(file))
102do
102do
103−local f <close> = assert(io.open(file,"\119"))
103+local f <close> = assert(io.open(file,"\u{77}"))
104−f:write(maxint,"\10")
104+f:write(maxint,"\u{a}")
105−f:write(string.format("\48\88\37\120\10",maxint))
105+f:write(string.format("\u{30}\u{58}\u{25}\u{78}\u{a}",maxint))
106−f:write("\48\120\65\66\67\112\45\51","\10")
106+f:write("\u{30}\u{78}\u{41}\u{42}\u{43}\u{70}\u{2d}\u{33}","\u{a}")
107−f:write(0,"\10")
107+f:write(0,"\u{a}")
108−f:write(- maxint,"\10")
108+f:write(- maxint,"\u{a}")
109−f:write(string.format("\48\120\37\88\10",- maxint))
109+f:write(string.format("\u{30}\u{78}\u{25}\u{58}\u{a}",- maxint))
110−f:write("\45\48\120\65\66\67\112\45\51","\10")
110+f:write("\u{2d}\u{30}\u{78}\u{41}\u{42}\u{43}\u{70}\u{2d}\u{33}","\u{a}")
111assert(f:close())
111assert(f:close())
112−local f <close> = assert(io.open(file,"\114"))
112+local f <close> = assert(io.open(file,"\u{72}"))
113−assert(f:read("\110") == maxint)
113+assert(f:read("\u{6e}") == maxint)
114−assert(f:read("\110") == maxint)
114+assert(f:read("\u{6e}") == maxint)
115−assert(f:read("\110") == 343.5)
115+assert(f:read("\u{6e}") == 343.5)
116−assert(f:read("\110") == 0)
116+assert(f:read("\u{6e}") == 0)
117−assert(f:read("\42\110") == - maxint)
117+assert(f:read("\u{2a}\u{6e}") == - maxint)
118−assert(f:read("\110") == - maxint)
118+assert(f:read("\u{6e}") == - maxint)
119−assert(f:read("\42\110") == - 343.5)
119+assert(f:read("\u{2a}\u{6e}") == - 343.5)
120end
120end
121assert(os.remove(file))
121assert(os.remove(file))
122do
122do
123−local f <close> = assert(io.open(file,"\119"))
123+local f <close> = assert(io.open(file,"\u{77}"))
124−f:write("\97\32\108\105\110\101\10\97\110\111\116\104\101\114\32\108\105\110\101\10\49\50\51\52\10\51\46\52\53\10\111\110\101\10\116\119\111\10\116\104\114\101\101\10")
124+f:write("\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{31}\u{32}\u{33}\u{34}\u{a}\u{33}\u{2e}\u{34}\u{35}\u{a}\u{6f}\u{6e}\u{65}\u{a}\u{74}\u{77}\u{6f}\u{a}\u{74}\u{68}\u{72}\u{65}\u{65}\u{a}")
125local l1,l2,l3,l4,n1,n2,c,dummy
125local l1,l2,l3,l4,n1,n2,c,dummy
126assert(f:close())
126assert(f:close())
127−local f <close> = assert(io.open(file,"\114"))
127+local f <close> = assert(io.open(file,"\u{72}"))
128−l1,l2,n1,n2,dummy=f:read("\108","\76","\110","\110")
128+l1,l2,n1,n2,dummy=f:read("\u{6c}","\u{4c}","\u{6e}","\u{6e}")
129−assert(l1 == "\97\32\108\105\110\101" and l2 == "\97\110\111\116\104\101\114\32\108\105\110\101\10" and n1 == 1234 and n2 == 3.45 and dummy == nil)
129+assert(l1 == "\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}" and l2 == "\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}" and n1 == 1234 and n2 == 3.45 and dummy == nil)
130assert(f:close())
130assert(f:close())
131−local f <close> = assert(io.open(file,"\114"))
131+local f <close> = assert(io.open(file,"\u{72}"))
132−l1,l2,n1,n2,c,l3,l4,dummy=f:read(7,"\108","\110","\110",1,"\108","\108")
132+l1,l2,n1,n2,c,l3,l4,dummy=f:read(7,"\u{6c}","\u{6e}","\u{6e}",1,"\u{6c}","\u{6c}")
133−assert(l1 == "\97\32\108\105\110\101\10" and l2 == "\97\110\111\116\104\101\114\32\108\105\110\101" and c == "\10" and n1 == 1234 and n2 == 3.45 and l3 == "\111\110\101" and l4 == "\116\119\111" and dummy == nil)
133+assert(l1 == "\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}" and l2 == "\u{61}\u{6e}\u{6f}\u{74}\u{68}\u{65}\u{72}\u{20}\u{6c}\u{69}\u{6e}\u{65}" and c == "\u{a}" and n1 == 1234 and n2 == 3.45 and l3 == "\u{6f}\u{6e}\u{65}" and l4 == "\u{74}\u{77}\u{6f}" and dummy == nil)
134assert(f:close())
134assert(f:close())
135−local f <close> = assert(io.open(file,"\114"))
135+local f <close> = assert(io.open(file,"\u{72}"))
136−l1,n1,n2,dummy=f:read("\108","\110","\110","\108")
136+l1,n1,n2,dummy=f:read("\u{6c}","\u{6e}","\u{6e}","\u{6c}")
137−assert(l1 == "\97\32\108\105\110\101" and not n1)
137+assert(l1 == "\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}" and not n1)
138end
138end
139assert(os.remove(file))
139assert(os.remove(file))
140−f=assert(io.open(file,"\119"))
140+f=assert(io.open(file,"\u{77}"))
141−f:write("\108\111\99\97\108\32\120\44\32\122\32\61\32\99\111\114\111\117\116\105\110\101\46\121\105\101\108\100\40\49\48\41\10\108\111\99\97\108\32\121\32\61\32\99\111\114\111\117\116\105\110\101\46\121\105\101\108\100\40\50\48\41\10\114\101\116\117\114\110\32\120\32\43\32\121\32\42\32\122\10")
141+f:write("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{2c}\u{20}\u{7a}\u{20}\u{3d}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{28}\u{31}\u{30}\u{29}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{79}\u{20}\u{3d}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{2e}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{28}\u{32}\u{30}\u{29}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{20}\u{2b}\u{20}\u{79}\u{20}\u{2a}\u{20}\u{7a}\u{a}")
142assert(f:close())
142assert(f:close())
143f=coroutine.wrap(dofile)
143f=coroutine.wrap(dofile)
144assert(f(file) == 10)
144assert(f(file) == 10)
145assert(f(100,101) == 20)
145assert(f(100,101) == 20)
146assert(f(200) == 100 + 200 * 101)
146assert(f(200) == 100 + 200 * 101)
147assert(os.remove(file))
147assert(os.remove(file))
148−f=assert(io.open(file,"\119"))
148+f=assert(io.open(file,"\u{77}"))
149−f:write("\45\49\50\46\51\45\9\45\48\120\102\102\102\102\43\32\32\46\51\124\53\46\69\45\51\88\32\32\43\50\51\52\101\43\49\51\69\32\48\120\68\69\65\68\66\69\69\70\68\69\65\68\66\69\69\70\120\10\48\120\49\46\49\51\65\112\43\51\101\10")
149+f:write("\u{2d}\u{31}\u{32}\u{2e}\u{33}\u{2d}\u{9}\u{2d}\u{30}\u{78}\u{66}\u{66}\u{66}\u{66}\u{2b}\u{20}\u{20}\u{2e}\u{33}\u{7c}\u{35}\u{2e}\u{45}\u{2d}\u{33}\u{58}\u{20}\u{20}\u{2b}\u{32}\u{33}\u{34}\u{65}\u{2b}\u{31}\u{33}\u{45}\u{20}\u{30}\u{78}\u{44}\u{45}\u{41}\u{44}\u{42}\u{45}\u{45}\u{46}\u{44}\u{45}\u{41}\u{44}\u{42}\u{45}\u{45}\u{46}\u{78}\u{a}\u{30}\u{78}\u{31}\u{2e}\u{31}\u{33}\u{41}\u{70}\u{2b}\u{33}\u{65}\u{a}")
150−f:write("\49\50\51\52")
150+f:write("\u{31}\u{32}\u{33}\u{34}")
151;
151;
152for i = 1, 1000
152for i = 1, 1000
153do
153do
154−f:write("\48")
154+f:write("\u{30}")
155end
155end
156;
156;
157−f:write("\10")
157+f:write("\u{a}")
158−f:write("\46\101\43\9\48\46\101\59\9\45\45\59\32\32\48\120\88\59\10")
158+f:write("\u{2e}\u{65}\u{2b}\u{9}\u{30}\u{2e}\u{65}\u{3b}\u{9}\u{2d}\u{2d}\u{3b}\u{20}\u{20}\u{30}\u{78}\u{58}\u{3b}\u{a}")
159assert(f:close())
159assert(f:close())
160−f=assert(io.open(file,"\114"))
160+f=assert(io.open(file,"\u{72}"))
161−assert(f:read("\110") == - 12.3)
161+assert(f:read("\u{6e}") == - 12.3)
162;
162;
163−assert(f:read(1) == "\45")
163+assert(f:read(1) == "\u{2d}")
164−assert(f:read("\110") == - 65535)
164+assert(f:read("\u{6e}") == - 65535)
165;
165;
166−assert(f:read(2) == "\43\32")
166+assert(f:read(2) == "\u{2b}\u{20}")
167−assert(f:read("\110") == 0.3)
167+assert(f:read("\u{6e}") == 0.3)
168;
168;
169−assert(f:read(1) == "\124")
169+assert(f:read(1) == "\u{7c}")
170−assert(f:read("\110") == 5e-3)
170+assert(f:read("\u{6e}") == 5e-3)
171;
171;
172−assert(f:read(1) == "\88")
172+assert(f:read(1) == "\u{58}")
173−assert(f:read("\110") == 2.34e15)
173+assert(f:read("\u{6e}") == 2.34e15)
174;
174;
175−assert(f:read(1) == "\69")
175+assert(f:read(1) == "\u{45}")
176−assert(f:read("\110") == 16045690984833335023)
176+assert(f:read("\u{6e}") == 16045690984833335023)
177;
177;
178−assert(f:read(2) == "\120\10")
178+assert(f:read(2) == "\u{78}\u{a}")
179−assert(f:read("\110") == 8.61328125)
179+assert(f:read("\u{6e}") == 8.61328125)
180;
180;
181−assert(f:read(1) == "\101")
181+assert(f:read(1) == "\u{65}")
182do
182do
183−assert(not f:read("\110"))
183+assert(not f:read("\u{6e}"))
184−local s = f:read("\76")
184+local s = f:read("\u{4c}")
185−assert(string.find(s,"\94\48\48\42\10\36"))
185+assert(string.find(s,"\u{5e}\u{30}\u{30}\u{2a}\u{a}\u{24}"))
186end
186end
187−assert(not f:read("\110"))
187+assert(not f:read("\u{6e}"))
188;
188;
189−assert(f:read(2) == "\101\43")
189+assert(f:read(2) == "\u{65}\u{2b}")
190−assert(not f:read("\110"))
190+assert(not f:read("\u{6e}"))
191;
191;
192−assert(f:read(1) == "\59")
192+assert(f:read(1) == "\u{3b}")
193−assert(not f:read("\110"))
193+assert(not f:read("\u{6e}"))
194;
194;
195−assert(f:read(2) == "\45\59")
195+assert(f:read(2) == "\u{2d}\u{3b}")
196−assert(not f:read("\110"))
196+assert(not f:read("\u{6e}"))
197;
197;
198−assert(f:read(1) == "\88")
198+assert(f:read(1) == "\u{58}")
199−assert(not f:read("\110"))
199+assert(not f:read("\u{6e}"))
200;
200;
201−assert(f:read(1) == "\59")
201+assert(f:read(1) == "\u{3b}")
202−assert(not f:read("\110"))
202+assert(not f:read("\u{6e}"))
203;
203;
204assert(not f:read(0))
204assert(not f:read(0))
205assert(f:close())
205assert(f:close())
206assert(os.remove(file))
206assert(os.remove(file))
207−assert(not pcall(io.lines,"\110\111\110\45\101\120\105\115\116\101\110\116\45\102\105\108\101"))
207+assert(not pcall(io.lines,"\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{78}\u{69}\u{73}\u{74}\u{65}\u{6e}\u{74}\u{2d}\u{66}\u{69}\u{6c}\u{65}"))
208assert(os.rename(otherfile,file))
208assert(os.rename(otherfile,file))
209io.output(otherfile)
209io.output(otherfile)
210local n = 0
210local n = 0
@@ -214,36 +214,36 @@ n=n + 1
214end
214end
215;
215;
216assert(n == 6)
216assert(n == 6)
217−checkerr("\102\105\108\101\32\105\115\32\97\108\114\101\97\100\121\32\99\108\111\115\101\100",f)
217+checkerr("\u{66}\u{69}\u{6c}\u{65}\u{20}\u{69}\u{73}\u{20}\u{61}\u{6c}\u{72}\u{65}\u{61}\u{64}\u{79}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}",f)
218−checkerr("\102\105\108\101\32\105\115\32\97\108\114\101\97\100\121\32\99\108\111\115\101\100",f)
218+checkerr("\u{66}\u{69}\u{6c}\u{65}\u{20}\u{69}\u{73}\u{20}\u{61}\u{6c}\u{72}\u{65}\u{61}\u{64}\u{79}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}",f)
219n=0
219n=0
220for l in io.lines(file)
220for l in io.lines(file)
221do
221do
222−io.write(l,"\10")
222+io.write(l,"\u{a}")
223;
223;
224n=n + 1
224n=n + 1
225end
225end
226io.close()
226io.close()
227assert(n == 6)
227assert(n == 6)
228local f = assert(io.open(otherfile))
228local f = assert(io.open(otherfile))
229−assert(io.type(f) == "\102\105\108\101")
229+assert(io.type(f) == "\u{66}\u{69}\u{6c}\u{65}")
230io.output(file)
230io.output(file)
231assert(not io.output():read())
231assert(not io.output():read())
232n=0
232n=0
233for l in f:lines()
233for l in f:lines()
234do
234do
235−io.write(l,"\10")
235+io.write(l,"\u{a}")
236;
236;
237n=n + 1
237n=n + 1
238end
238end
239−assert(tostring(f):sub(1,5) == "\102\105\108\101\32")
239+assert(tostring(f):sub(1,5) == "\u{66}\u{69}\u{6c}\u{65}\u{20}")
240assert(f:close())
240assert(f:close())
241;
241;
242io.close()
242io.close()
243assert(n == 6)
243assert(n == 6)
244−checkerr("\99\108\111\115\101\100\32\102\105\108\101",io.close,f)
244+checkerr("\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{66}\u{69}\u{6c}\u{65}",io.close,f)
245−assert(tostring(f) == "\102\105\108\101\32\40\99\108\111\115\101\100\41")
245+assert(tostring(f) == "\u{66}\u{69}\u{6c}\u{65}\u{20}\u{28}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{29}")
246−assert(io.type(f) == "\99\108\111\115\101\100\32\102\105\108\101")
246+assert(io.type(f) == "\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{66}\u{69}\u{6c}\u{65}")
247io.input(file)
247io.input(file)
248f=io.open(otherfile):lines()
248f=io.open(otherfile):lines()
249n=0
249n=0
@@ -260,7 +260,7 @@ assert(n == 6)
260assert(os.remove(otherfile))
260assert(os.remove(otherfile))
261do
261do
262io.output(otherfile)
262io.output(otherfile)
263−io.write(string.rep("\97",300),"\10")
263+io.write(string.rep("\u{61}",300),"\u{a}")
264io.close()
264io.close()
265local t = {}
265local t = {}
266;
266;
@@ -269,49 +269,49 @@ do
269t[i]=1
269t[i]=1
270end
270end
271t={io.lines(otherfile,table.unpack(t))()}
271t={io.lines(otherfile,table.unpack(t))()}
272−assert(# t == 250 and t[1] == "\97" and t[# t] == "\97")
272+assert(# t == 250 and t[1] == "\u{61}" and t[# t] == "\u{61}")
273t[# t + 1]=1
273t[# t + 1]=1
274−checkerr("\116\111\111\32\109\97\110\121\32\97\114\103\117\109\101\110\116\115",io.lines,otherfile,table.unpack(t))
274+checkerr("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{73}",io.lines,otherfile,table.unpack(t))
275collectgarbage()
275collectgarbage()
276assert(os.remove(otherfile))
276assert(os.remove(otherfile))
277end
277end
278io.input(file)
278io.input(file)
279do
279do
280−local a,b,c = io.input():write("\120\117\120\117")
280+local a,b,c = io.input():write("\u{78}\u{75}\u{78}\u{75}")
281−assert(not a and type(b) == "\115\116\114\105\110\103" and type(c) == "\110\117\109\98\101\114")
281+assert(not a and type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(c) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
282end
282end
283−checkerr("\105\110\118\97\108\105\100\32\102\111\114\109\97\116",io.read,"\120")
283+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}",io.read,"\u{78}")
284assert(io.read(0) == "")
284assert(io.read(0) == "")
285−assert(io.read(5,"\108") == "\34\97\108\111\34")
285+assert(io.read(5,"\u{6c}") == "\u{22}\u{61}\u{6c}\u{6f}\u{22}")
286assert(io.read(0) == "")
286assert(io.read(0) == "")
287−assert(io.read() == "\115\101\99\111\110\100\32\108\105\110\101")
287+assert(io.read() == "\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}")
288local x = io.input():seek()
288local x = io.input():seek()
289−assert(io.read() == "\116\104\105\114\100\32\108\105\110\101\32")
289+assert(io.read() == "\u{74}\u{68}\u{69}\u{72}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}")
290−assert(io.input():seek("\115\101\116",x))
290+assert(io.input():seek("\u{73}\u{65}\u{74}",x))
291−assert(io.read("\76") == "\116\104\105\114\100\32\108\105\110\101\32\10")
291+assert(io.read("\u{4c}") == "\u{74}\u{68}\u{69}\u{72}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{a}")
292−assert(io.read(1) == "\88")
292+assert(io.read(1) == "\u{58}")
293−assert(io.read(string.len("\102\111\117\114\116\104\95\108\105\110\101")) == "\102\111\117\114\116\104\95\108\105\110\101")
293+assert(io.read(string.len("\u{66}\u{6f}\u{75}\u{72}\u{74}\u{68}\u{5f}\u{6c}\u{69}\u{6e}\u{65}")) == "\u{66}\u{6f}\u{75}\u{72}\u{74}\u{68}\u{5f}\u{6c}\u{69}\u{6e}\u{65}")
294−assert(io.input():seek("\99\117\114",- string.len("\102\111\117\114\116\104\95\108\105\110\101")))
294+assert(io.input():seek("\u{63}\u{75}\u{72}",- string.len("\u{66}\u{6f}\u{75}\u{72}\u{74}\u{68}\u{5f}\u{6c}\u{69}\u{6e}\u{65}")))
295−assert(io.read() == "\102\111\117\114\116\104\95\108\105\110\101")
295+assert(io.read() == "\u{66}\u{6f}\u{75}\u{72}\u{74}\u{68}\u{5f}\u{6c}\u{69}\u{6e}\u{65}")
296assert(io.read() == "")
296assert(io.read() == "")
297−assert(io.read("\110") == 3450)
297+assert(io.read("\u{6e}") == 3450)
298−assert(io.read(1) == "\10")
298+assert(io.read(1) == "\u{a}")
299assert(not io.read(0))
299assert(not io.read(0))
300assert(not io.read(1))
300assert(not io.read(1))
301assert(not io.read(30000))
301assert(not io.read(30000))
302assert(({io.read(1)})[2] == undef)
302assert(({io.read(1)})[2] == undef)
303assert(not io.read())
303assert(not io.read())
304assert(({io.read()})[2] == undef)
304assert(({io.read()})[2] == undef)
305−assert(not io.read("\110"))
305+assert(not io.read("\u{6e}"))
306−assert(({io.read("\110")})[2] == undef)
306+assert(({io.read("\u{6e}")})[2] == undef)
307−assert(io.read("\97") == "")
307+assert(io.read("\u{61}") == "")
308−assert(io.read("\97") == "")
308+assert(io.read("\u{61}") == "")
309collectgarbage()
309collectgarbage()
310−print("\43")
310+print("\u{2b}")
311io.close(io.input())
311io.close(io.input())
312−checkerr("\32\105\110\112\117\116\32\102\105\108\101\32\105\115\32\99\108\111\115\101\100",io.read)
312+checkerr("\u{20}\u{69}\u{6e}\u{70}\u{75}\u{74}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{69}\u{73}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}",io.read)
313assert(os.remove(file))
313assert(os.remove(file))
314−local t = "\48\49\50\51\52\53\54\55\56\57"
314+local t = "\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}"
315for i = 1, 10
315for i = 1, 10
316do
316do
317t=t .. t
317t=t .. t
@@ -319,42 +319,42 @@ t=t .. t
319end
319end
320assert(string.len(t) == 10 * 2 ^ 10)
320assert(string.len(t) == 10 * 2 ^ 10)
321io.output(file)
321io.output(file)
322−io.write("\97\108\111"):write("\10")
322+io.write("\u{61}\u{6c}\u{6f}"):write("\u{a}")
323io.close()
323io.close()
324−checkerr("\32\111\117\116\112\117\116\32\102\105\108\101\32\105\115\32\99\108\111\115\101\100",io.write)
324+checkerr("\u{20}\u{6f}\u{75}\u{74}\u{70}\u{75}\u{74}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{69}\u{73}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}",io.write)
325−local f = io.open(file,"\97\43\98")
325+local f = io.open(file,"\u{61}\u{2b}\u{62}")
326io.output(f)
326io.output(f)
327collectgarbage()
327collectgarbage()
328−assert(io.write("\32" .. t .. "\32"))
328+assert(io.write("\u{20}" .. t .. "\u{20}"))
329−assert(io.write("\59","\101\110\100\32\111\102\32\102\105\108\101\10"))
329+assert(io.write("\u{3b}","\u{65}\u{6e}\u{64}\u{20}\u{6f}\u{66}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{a}"))
330f:flush()
330f:flush()
331;
331;
332io.flush()
332io.flush()
333f:close()
333f:close()
334−print("\43")
334+print("\u{2b}")
335io.input(file)
335io.input(file)
336−assert(io.read() == "\97\108\111")
336+assert(io.read() == "\u{61}\u{6c}\u{6f}")
337−assert(io.read(1) == "\32")
337+assert(io.read(1) == "\u{20}")
338assert(io.read(string.len(t)) == t)
338assert(io.read(string.len(t)) == t)
339−assert(io.read(1) == "\32")
339+assert(io.read(1) == "\u{20}")
340assert(io.read(0))
340assert(io.read(0))
341−assert(io.read("\97") == "\59\101\110\100\32\111\102\32\102\105\108\101\10")
341+assert(io.read("\u{61}") == "\u{3b}\u{65}\u{6e}\u{64}\u{20}\u{6f}\u{66}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{a}")
342assert(not io.read(0))
342assert(not io.read(0))
343assert(io.close(io.input()))
343assert(io.close(io.input()))
344do
344do
345local function ismsg
345local function ismsg
346(m)
346(m)
347−return (type(m) == "\115\116\114\105\110\103" and not tonumber(m))
347+return (type(m) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and not tonumber(m))
348end
348end
349−local f = io.open(file,"\119")
349+local f = io.open(file,"\u{77}")
350local r,m,c = f:read()
350local r,m,c = f:read()
351−assert(not r and ismsg(m) and type(c) == "\110\117\109\98\101\114")
351+assert(not r and ismsg(m) and type(c) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
352assert(f:close())
352assert(f:close())
353−f=io.open(file,"\114")
353+f=io.open(file,"\u{72}")
354−r,m,c=f:write("\119\104\97\116\101\118\101\114")
354+r,m,c=f:write("\u{77}\u{68}\u{61}\u{74}\u{65}\u{76}\u{65}\u{72}")
355−assert(not r and ismsg(m) and type(c) == "\110\117\109\98\101\114")
355+assert(not r and ismsg(m) and type(c) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
356assert(f:close())
356assert(f:close())
357−f=io.open(file,"\119")
357+f=io.open(file,"\u{77}")
358r,m=pcall(f:lines())
358r,m=pcall(f:lines())
359assert(r == false and ismsg(m))
359assert(r == false and ismsg(m))
360assert(f:close())
360assert(f:close())
@@ -362,47 +362,47 @@ end
362assert(os.remove(file))
362assert(os.remove(file))
363io.output(file)
363io.output(file)
364;
364;
365−io.write("\10\10\108\105\110\101\10\111\116\104\101\114"):close()
365+io.write("\u{a}\u{a}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{6f}\u{74}\u{68}\u{65}\u{72}"):close()
366io.input(file)
366io.input(file)
367−assert(io.read("\76") == "\10")
367+assert(io.read("\u{4c}") == "\u{a}")
368−assert(io.read("\76") == "\10")
368+assert(io.read("\u{4c}") == "\u{a}")
369−assert(io.read("\76") == "\108\105\110\101\10")
369+assert(io.read("\u{4c}") == "\u{6c}\u{69}\u{6e}\u{65}\u{a}")
370−assert(io.read("\76") == "\111\116\104\101\114")
370+assert(io.read("\u{4c}") == "\u{6f}\u{74}\u{68}\u{65}\u{72}")
371−assert(not io.read("\76"))
371+assert(not io.read("\u{4c}"))
372io.input():close()
372io.input():close()
373local f = assert(io.open(file))
373local f = assert(io.open(file))
374local s = ""
374local s = ""
375−for l in f:lines("\76")
375+for l in f:lines("\u{4c}")
376do
376do
377s=s .. l
377s=s .. l
378end
378end
379−assert(s == "\10\10\108\105\110\101\10\111\116\104\101\114")
379+assert(s == "\u{a}\u{a}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{6f}\u{74}\u{68}\u{65}\u{72}")
380f:close()
380f:close()
381io.input(file)
381io.input(file)
382s=""
382s=""
383−for l in io.lines(nil,"\76")
383+for l in io.lines(nil,"\u{4c}")
384do
384do
385s=s .. l
385s=s .. l
386end
386end
387−assert(s == "\10\10\108\105\110\101\10\111\116\104\101\114")
387+assert(s == "\u{a}\u{a}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{6f}\u{74}\u{68}\u{65}\u{72}")
388io.input():close()
388io.input():close()
389s=""
389s=""
390−for l in io.lines(file,"\76")
390+for l in io.lines(file,"\u{4c}")
391do
391do
392s=s .. l
392s=s .. l
393end
393end
394−assert(s == "\10\10\108\105\110\101\10\111\116\104\101\114")
394+assert(s == "\u{a}\u{a}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{6f}\u{74}\u{68}\u{65}\u{72}")
395s=""
395s=""
396−for l in io.lines(file,"\108")
396+for l in io.lines(file,"\u{6c}")
397do
397do
398s=s .. l
398s=s .. l
399end
399end
400−assert(s == "\108\105\110\101\111\116\104\101\114")
400+assert(s == "\u{6c}\u{69}\u{6e}\u{65}\u{6f}\u{74}\u{68}\u{65}\u{72}")
401io.output(file)
401io.output(file)
402;
402;
403−io.write("\97\32\61\32\49\48\32\43\32\51\52\10\97\32\61\32\50\42\97\10\97\32\61\32\45\97\10"):close()
403+io.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()
404local t = {}
404local t = {}
405−assert(load(io.lines(file,"\76"),nil,nil,t))()
405+assert(load(io.lines(file,"\u{4c}"),nil,nil,t))()
406assert(t.a == - ((10 + 34) * 2))
406assert(t.a == - ((10 + 34) * 2))
407do
407do
408local function gettoclose
408local function gettoclose
@@ -412,7 +412,7 @@ local stvar = 0
412for i = 1, 1000
412for i = 1, 1000
413do
413do
414local n,v = debug.getlocal(lv,i)
414local n,v = debug.getlocal(lv,i)
415−if n == "\40\102\111\114\32\115\116\97\116\101\41" then
415+if n == "\u{28}\u{66}\u{6f}\u{72}\u{20}\u{73}\u{74}\u{61}\u{74}\u{65}\u{29}" then
416stvar=stvar + 1
416stvar=stvar + 1
417if stvar == 4 then
417if stvar == 4 then
418return v
418return v
@@ -424,50 +424,50 @@ local f
424for l in io.lines(file)
424for l in io.lines(file)
425do
425do
426f=gettoclose(1)
426f=gettoclose(1)
427−assert(io.type(f) == "\102\105\108\101")
427+assert(io.type(f) == "\u{66}\u{69}\u{6c}\u{65}")
428break
428break
429end
429end
430−assert(io.type(f) == "\99\108\111\115\101\100\32\102\105\108\101")
430+assert(io.type(f) == "\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{66}\u{69}\u{6c}\u{65}")
431f=nil
431f=nil
432local function foo
432local function foo
433(name)
433(name)
434for l in io.lines(name)
434for l in io.lines(name)
435do
435do
436f=gettoclose(1)
436f=gettoclose(1)
437−assert(io.type(f) == "\102\105\108\101")
437+assert(io.type(f) == "\u{66}\u{69}\u{6c}\u{65}")
438error(f)
438error(f)
439end
439end
440end
440end
441local st,msg = pcall(foo,file)
441local st,msg = pcall(foo,file)
442−assert(st == false and io.type(msg) == "\99\108\111\115\101\100\32\102\105\108\101")
442+assert(st == false and io.type(msg) == "\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{64}\u{20}\u{66}\u{69}\u{6c}\u{65}")
443end
443end
444io.output(file)
444io.output(file)
445;
445;
446−io.write("\48\49\50\51\52\53\54\55\56\57\10"):close()
446+io.write("\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{a}"):close()
447for a,b in io.lines(file,1,1)
447for a,b in io.lines(file,1,1)
448do
448do
449−if a == "\10" then
449+if a == "\u{a}" then
450assert(not b)
450assert(not b)
451else
451else
452assert(tonumber(a) == tonumber(b) - 1)
452assert(tonumber(a) == tonumber(b) - 1)
453end
453end
454end
454end
455−for a,b,c in io.lines(file,1,2,"\97")
455+for a,b,c in io.lines(file,1,2,"\u{61}")
456do
456do
457−assert(a == "\48" and b == "\49\50" and c == "\51\52\53\54\55\56\57\10")
457+assert(a == "\u{30}" and b == "\u{31}\u{32}" and c == "\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{a}")
458end
458end
459−for a,b,c in io.lines(file,"\97",0,1)
459+for a,b,c in io.lines(file,"\u{61}",0,1)
460do
460do
461if a == "" then
461if a == "" then
462break
462break
463end
463end
464−assert(a == "\48\49\50\51\52\53\54\55\56\57\10" and not b and not c)
464+assert(a == "\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{a}" and not b and not c)
465end
465end
466collectgarbage()
466collectgarbage()
467io.output(file)
467io.output(file)
468;
468;
469−io.write("\48\48\10\49\48\10\50\48\10\51\48\10\52\48\10"):close()
469+io.write("\u{30}\u{30}\u{a}\u{31}\u{30}\u{a}\u{32}\u{30}\u{a}\u{33}\u{30}\u{a}\u{34}\u{30}\u{a}"):close()
470−for a,b in io.lines(file,"\110","\110")
470+for a,b in io.lines(file,"\u{6e}","\u{6e}")
471do
471do
472if a == 40 then
472if a == 40 then
473assert(not b)
473assert(not b)
@@ -477,26 +477,26 @@ end
477end
477end
478io.output(file)
478io.output(file)
479;
479;
480−io.write("\108\111\99\97\108\32\121\10\61\32\88\10\88\32\61\10\88\32\42\10\50\32\43\10\88\59\10\88\32\61\10\88\10\45\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\121\59\10"):close()
480+io.write("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{79}\u{a}\u{3d}\u{20}\u{58}\u{a}\u{58}\u{20}\u{3d}\u{a}\u{58}\u{20}\u{2a}\u{a}\u{32}\u{20}\u{2b}\u{a}\u{58}\u{3b}\u{a}\u{58}\u{20}\u{3d}\u{a}\u{58}\u{a}\u{2d}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{79}\u{3b}\u{a}"):close()
481_G.X=1
481_G.X=1
482assert(not load((io.lines(file))))
482assert(not load((io.lines(file))))
483collectgarbage()
483collectgarbage()
484−load((io.lines(file,"\76")))()
484+load((io.lines(file,"\u{4c}")))()
485assert(_G.X == 2)
485assert(_G.X == 2)
486load((io.lines(file,1)))()
486load((io.lines(file,1)))()
487assert(_G.X == 4)
487assert(_G.X == 4)
488load((io.lines(file,3)))()
488load((io.lines(file,3)))()
489assert(_G.X == 8)
489assert(_G.X == 8)
490_G.X=nil
490_G.X=nil
491−print("\43")
491+print("\u{2b}")
492−local x1 = "\115\116\114\105\110\103\10\10\92\99\111\109\32\34\34\39\39\99\111\105\115\97\115\32\91\91\101\115\116\114\97\110\104\97\115\93\93\32\93\93\39"
492+local x1 = "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{a}\u{a}\u{5c}\u{63}\u{6f}\u{6d}\u{20}\u{22}\u{22}\u{27}\u{27}\u{63}\u{6f}\u{69}\u{73}\u{61}\u{73}\u{20}\u{5b}\u{5b}\u{65}\u{73}\u{74}\u{72}\u{61}\u{6e}\u{68}\u{61}\u{73}\u{5d}\u{5d}\u{20}\u{5d}\u{5d}\u{27}"
493io.output(file)
493io.output(file)
494−assert(io.write(string.format("\88\50\32\61\32\37\113\10\45\45\32\99\111\109\109\101\110\116\32\119\105\116\104\111\117\116\32\101\110\100\105\110\103\32\69\79\83",x1)))
494+assert(io.write(string.format("\u{58}\u{32}\u{20}\u{3d}\u{20}\u{25}\u{71}\u{a}\u{2d}\u{2d}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{65}\u{6e}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{45}\u{4f}\u{53}",x1)))
495io.close()
495io.close()
496assert(loadfile(file))()
496assert(loadfile(file))()
497assert(x1 == _G.X2)
497assert(x1 == _G.X2)
498_G.X2=nil
498_G.X2=nil
499−print("\43")
499+print("\u{2b}")
500assert(os.remove(file))
500assert(os.remove(file))
501assert(not os.remove(file))
501assert(not os.remove(file))
502assert(not os.remove(otherfile))
502assert(not os.remove(otherfile))
@@ -512,142 +512,142 @@ assert(os.remove(file))
512assert(res == expres)
512assert(res == expres)
513end
513end
514testloadfile(nil,nil)
514testloadfile(nil,nil)
515−testloadfile("\35\32\97\32\110\111\110\45\101\110\100\105\110\103\32\99\111\109\109\101\110\116",nil)
515+testloadfile("\u{23}\u{20}\u{61}\u{20}\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{6e}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}",nil)
516−testloadfile("\239\187\191\35\32\115\111\109\101\32\99\111\109\109\101\110\116\10\114\101\116\117\114\110\32\50\51\52",234)
516+testloadfile("\u{ef}\u{bb}\u{bf}\u{23}\u{20}\u{73}\u{6f}\u{6d}\u{65}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{33}\u{34}",234)
517−testloadfile("\239\187\191\114\101\116\117\114\110\32\50\51\57",239)
517+testloadfile("\u{ef}\u{bb}\u{bf}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{33}\u{39}",239)
518−testloadfile("\239\187\191",nil)
518+testloadfile("\u{ef}\u{bb}\u{bf}",nil)
519−testloadfile("\35\32\97\32\99\111\109\109\101\110\116\10\114\101\116\117\114\110\32\114\101\113\117\105\114\101\39\100\101\98\117\103\39\46\103\101\116\105\110\102\111\40\49\41\46\99\117\114\114\101\110\116\108\105\110\101",2)
519+testloadfile("\u{23}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{27}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{31}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}",2)
520−io.output(io.open(file,"\119\98"))
520+io.output(io.open(file,"\u{77}\u{62}"))
521assert(io.write(string.dump(function ()
521assert(io.write(string.dump(function ()
522−return 10,"\97\108\111\255","\104\105"
522+return 10,"\u{0}\u{61}\u{6c}\u{6f}\u{ff}","\u{68}\u{69}"
523end)))
523end)))
524io.close()
524io.close()
525a,b,c=assert(loadfile(file))()
525a,b,c=assert(loadfile(file))()
526−assert(a == 10 and b == "\97\108\111\255" and c == "\104\105")
526+assert(a == 10 and b == "\u{0}\u{61}\u{6c}\u{6f}\u{ff}" and c == "\u{68}\u{69}")
527assert(os.remove(file))
527assert(os.remove(file))
528do
528do
529−io.output(io.open(file,"\119\98"))
529+io.output(io.open(file,"\u{77}\u{62}"))
530assert(io.write(string.dump(function ()
530assert(io.write(string.dump(function ()
531return 1
531return 1
532end)))
532end)))
533io.close()
533io.close()
534−f=assert(loadfile(file,"\98",{}))
534+f=assert(loadfile(file,"\u{62}",{}))
535−assert(type(f) == "\102\117\110\99\116\105\111\110" and f() == 1)
535+assert(type(f) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and f() == 1)
536assert(os.remove(file))
536assert(os.remove(file))
537end
537end
538−io.output(io.open(file,"\119\98"))
538+io.output(io.open(file,"\u{77}\u{62}"))
539−assert(io.write("\35\116\104\105\115\32\105\115\32\97\32\99\111\109\109\101\110\116\32\102\111\114\32\97\32\98\105\110\97\114\121\32\102\105\108\101\10",string.dump(function ()
539+assert(io.write("\u{23}\u{74}\u{68}\u{69}\u{73}\u{20}\u{69}\u{73}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{61}\u{20}\u{62}\u{69}\u{6e}\u{61}\u{72}\u{79}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{0}\u{a}",string.dump(function ()
540−return 20,""
540+return 20,"\u{0}\u{0}\u{0}"
541end)))
541end)))
542io.close()
542io.close()
543a,b,c=assert(loadfile(file))()
543a,b,c=assert(loadfile(file))()
544−assert(a == 20 and b == "" and c == nil)
544+assert(a == 20 and b == "\u{0}\u{0}\u{0}" and c == nil)
545assert(os.remove(file))
545assert(os.remove(file))
546do
546do
547−local f = io.open(file,"\119")
547+local f = io.open(file,"\u{77}")
548−f:write("\32\32\32\32\105\102\32\40\46\46\46\41\32\116\104\101\110\32\97\32\61\32\49\53\59\32\114\101\116\117\114\110\32\98\44\32\99\44\32\100\10\32\32\32\32\101\108\115\101\32\114\101\116\117\114\110\32\95\69\78\86\10\32\32\32\32\101\110\100\10\32\32")
548+f:write("\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{28}\u{2e}\u{2e}\u{2e}\u{29}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{35}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{62}\u{2c}\u{20}\u{63}\u{2c}\u{20}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6c}\u{73}\u{65}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{5f}\u{45}\u{4e}\u{56}\u{a}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}")
549f:close()
549f:close()
550−local t = {["\98"] = 12,["\99"] = "\120\117\120\117",["\100"] = print}
550+local t = {["\u{62}"] = 12,["\u{63}"] = "\u{78}\u{75}\u{78}\u{75}",["\u{64}"] = print}
551−local f = assert(loadfile(file,"\116",t))
551+local f = assert(loadfile(file,"\u{74}",t))
552local b,c,d = f(1)
552local b,c,d = f(1)
553assert(t.a == 15 and b == 12 and c == t.c and d == print)
553assert(t.a == 15 and b == 12 and c == t.c and d == print)
554assert(f() == t)
554assert(f() == t)
555−f=assert(loadfile(file,"\116",nil))
555+f=assert(loadfile(file,"\u{74}",nil))
556assert(f() == nil)
556assert(f() == nil)
557f=assert(loadfile(file))
557f=assert(loadfile(file))
558assert(f() == _G)
558assert(f() == _G)
559assert(os.remove(file))
559assert(os.remove(file))
560end
560end
561do
561do
562−io.open(file,"\119"):write("\114\101\116\117\114\110\32\49\48"):close()
562+io.open(file,"\u{77}"):write("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{30}"):close()
563−local s,m = loadfile(file,"\98")
563+local s,m = loadfile(file,"\u{62}")
564−assert(not s and string.find(m,"\97\32\116\101\120\116\32\99\104\117\110\107"))
564+assert(not s and string.find(m,"\u{61}\u{20}\u{74}\u{65}\u{78}\u{74}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}"))
565−io.open(file,"\119"):write("\27\32\114\101\116\117\114\110\32\49\48"):close()
565+io.open(file,"\u{77}"):write("\u{1b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{30}"):close()
566−local s,m = loadfile(file,"\116")
566+local s,m = loadfile(file,"\u{74}")
567−assert(not s and string.find(m,"\97\32\98\105\110\97\114\121\32\99\104\117\110\107"))
567+assert(not s and string.find(m,"\u{61}\u{20}\u{62}\u{69}\u{6e}\u{61}\u{72}\u{79}\u{20}\u{63}\u{68}\u{75}\u{6e}\u{6b}"))
568assert(os.remove(file))
568assert(os.remove(file))
569end
569end
570io.output(file)
570io.output(file)
571−assert(io.write("\113\117\97\108\113\117\101\114\32\99\111\105\115\97\10"))
571+assert(io.write("\u{71}\u{75}\u{61}\u{6c}\u{71}\u{75}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}\u{a}"))
572−assert(io.write("\109\97\105\115\32\113\117\97\108\113\117\101\114\32\99\111\105\115\97"))
572+assert(io.write("\u{6d}\u{61}\u{69}\u{73}\u{20}\u{71}\u{75}\u{61}\u{6c}\u{71}\u{75}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}"))
573io.close()
573io.close()
574−assert(io.output(assert(io.open(otherfile,"\119\98"))):write("\111\117\116\114\97\32\99\111\105\115\97\1\3\255"):close())
574+assert(io.output(assert(io.open(otherfile,"\u{77}\u{62}"))):write("\u{6f}\u{75}\u{74}\u{72}\u{61}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}\u{0}\u{1}\u{3}\u{0}\u{0}\u{0}\u{0}\u{ff}\u{0}"):close())
575−local filehandle = assert(io.open(file,"\114\43"))
575+local filehandle = assert(io.open(file,"\u{72}\u{2b}"))
576−local otherfilehandle = assert(io.open(otherfile,"\114\98"))
576+local otherfilehandle = assert(io.open(otherfile,"\u{72}\u{62}"))
577assert(filehandle ~= otherfilehandle)
577assert(filehandle ~= otherfilehandle)
578−assert(type(filehandle) == "\117\115\101\114\100\97\116\97")
578+assert(type(filehandle) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}")
579−assert(filehandle:read("\108") == "\113\117\97\108\113\117\101\114\32\99\111\105\115\97")
579+assert(filehandle:read("\u{6c}") == "\u{71}\u{75}\u{61}\u{6c}\u{71}\u{75}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}")
580io.input(otherfilehandle)
580io.input(otherfilehandle)
581−assert(io.read(string.len("\111\117\116\114\97\32\99\111\105\115\97")) == "\111\117\116\114\97\32\99\111\105\115\97")
581+assert(io.read(string.len("\u{6f}\u{75}\u{74}\u{72}\u{61}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}")) == "\u{6f}\u{75}\u{74}\u{72}\u{61}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}")
582−assert(filehandle:read("\108") == "\109\97\105\115\32\113\117\97\108\113\117\101\114\32\99\111\105\115\97")
582+assert(filehandle:read("\u{6c}") == "\u{6d}\u{61}\u{69}\u{73}\u{20}\u{71}\u{75}\u{61}\u{6c}\u{71}\u{75}\u{65}\u{72}\u{20}\u{63}\u{6f}\u{69}\u{73}\u{61}")
583filehandle:close()
583filehandle:close()
584;
584;
585−assert(type(filehandle) == "\117\115\101\114\100\97\116\97")
585+assert(type(filehandle) == "\u{75}\u{73}\u{65}\u{72}\u{64}\u{61}\u{74}\u{61}")
586io.input(otherfilehandle)
586io.input(otherfilehandle)
587−assert(io.read(4) == "\1\3")
587+assert(io.read(4) == "\u{0}\u{1}\u{3}\u{0}")
588−assert(io.read(3) == "")
588+assert(io.read(3) == "\u{0}\u{0}\u{0}")
589assert(io.read(0) == "")
589assert(io.read(0) == "")
590−assert(io.read(1) == "\255")
590+assert(io.read(1) == "\u{ff}")
591−assert(io.read("\97") == "")
591+assert(io.read("\u{61}") == "\u{0}")
592assert(not io.read(0))
592assert(not io.read(0))
593assert(otherfilehandle == io.input())
593assert(otherfilehandle == io.input())
594otherfilehandle:close()
594otherfilehandle:close()
595assert(os.remove(file))
595assert(os.remove(file))
596assert(os.remove(otherfile))
596assert(os.remove(otherfile))
597collectgarbage()
597collectgarbage()
598−io.output(file):write("\32\49\50\51\46\52\9\45\53\54\101\45\50\32\32\110\111\116\32\97\32\110\117\109\98\101\114\10\115\101\99\111\110\100\32\108\105\110\101\10\116\104\105\114\100\32\108\105\110\101\10\10\97\110\100\32\116\104\101\32\114\101\115\116\32\111\102\32\116\104\101\32\102\105\108\101\10"):close()
598+io.output(file):write("\u{20}\u{31}\u{32}\u{33}\u{2e}\u{34}\u{9}\u{2d}\u{35}\u{36}\u{65}\u{2d}\u{32}\u{20}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{a}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{74}\u{68}\u{69}\u{72}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{a}\u{a}\u{61}\u{6e}\u{64}\u{20}\u{74}\u{68}\u{65}\u{20}\u{72}\u{65}\u{73}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{74}\u{68}\u{65}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{a}"):close()
599io.input(file)
599io.input(file)
600−local _,a,b,c,d,e,h,__ = io.read(1,"\110","\110","\108","\108","\108","\97",10)
600+local _,a,b,c,d,e,h,__ = io.read(1,"\u{6e}","\u{6e}","\u{6c}","\u{6c}","\u{6c}","\u{61}",10)
601assert(io.close(io.input()))
601assert(io.close(io.input()))
602−assert(_ == "\32" and not __)
602+assert(_ == "\u{20}" and not __)
603−assert(type(a) == "\110\117\109\98\101\114" and a == 123.4 and b == - 0.56)
603+assert(type(a) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" and a == 123.4 and b == - 0.56)
604−assert(d == "\115\101\99\111\110\100\32\108\105\110\101" and e == "\116\104\105\114\100\32\108\105\110\101")
604+assert(d == "\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}" and e == "\u{74}\u{68}\u{69}\u{72}\u{64}\u{20}\u{6c}\u{69}\u{6e}\u{65}")
605−assert(h == "\10\97\110\100\32\116\104\101\32\114\101\115\116\32\111\102\32\116\104\101\32\102\105\108\101\10")
605+assert(h == "\u{a}\u{61}\u{6e}\u{64}\u{20}\u{74}\u{68}\u{65}\u{20}\u{72}\u{65}\u{73}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{74}\u{68}\u{65}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{a}")
606assert(os.remove(file))
606assert(os.remove(file))
607collectgarbage()
607collectgarbage()
608do
608do
609−local f = assert(io.open(file,"\119"))
609+local f = assert(io.open(file,"\u{77}"))
610−local fr = assert(io.open(file,"\114"))
610+local fr = assert(io.open(file,"\u{72}"))
611−assert(f:setvbuf("\102\117\108\108",2000))
611+assert(f:setvbuf("\u{66}\u{75}\u{6c}\u{6c}",2000))
612−f:write("\120")
612+f:write("\u{78}")
613−assert(fr:read("\97\108\108") == "")
613+assert(fr:read("\u{61}\u{6c}\u{6c}") == "")
614f:close()
614f:close()
615−fr:seek("\115\101\116")
615+fr:seek("\u{73}\u{65}\u{74}")
616−assert(fr:read("\97\108\108") == "\120")
616+assert(fr:read("\u{61}\u{6c}\u{6c}") == "\u{78}")
617−f=assert(io.open(file),"\119")
617+f=assert(io.open(file),"\u{77}")
618−assert(f:setvbuf("\110\111"))
618+assert(f:setvbuf("\u{6e}\u{6f}"))
619−f:write("\120")
619+f:write("\u{78}")
620−fr:seek("\115\101\116")
620+fr:seek("\u{73}\u{65}\u{74}")
621−assert(fr:read("\97\108\108") == "\120")
621+assert(fr:read("\u{61}\u{6c}\u{6c}") == "\u{78}")
622f:close()
622f:close()
623−f=assert(io.open(file,"\97"))
623+f=assert(io.open(file,"\u{61}"))
624−assert(f:setvbuf("\108\105\110\101"))
624+assert(f:setvbuf("\u{6c}\u{69}\u{6e}\u{65}"))
625−f:write("\120")
625+f:write("\u{78}")
626−fr:seek("\115\101\116",1)
626+fr:seek("\u{73}\u{65}\u{74}",1)
627−assert(fr:read("\97\108\108") == "")
627+assert(fr:read("\u{61}\u{6c}\u{6c}") == "")
628−f:write("\97\10"):seek("\115\101\116",1)
628+f:write("\u{61}\u{a}"):seek("\u{73}\u{65}\u{74}",1)
629−assert(fr:read("\97\108\108") == "\120\97\10")
629+assert(fr:read("\u{61}\u{6c}\u{6c}") == "\u{78}\u{61}\u{a}")
630f:close()
630f:close()
631;
631;
632fr:close()
632fr:close()
633assert(os.remove(file))
633assert(os.remove(file))
634end
634end
635if not _soft then
635if not _soft then
636−print("\116\101\115\116\105\110\103\32\108\97\114\103\101\32\102\105\108\101\115\32\40\62\32\66\85\70\83\73\90\41")
636+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}\u{65}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{73}\u{20}\u{28}\u{3e}\u{20}\u{42}\u{55}\u{46}\u{53}\u{49}\u{5a}\u{29}")
637io.output(file)
637io.output(file)
638for i = 1, 5001
638for i = 1, 5001
639do
639do
640−io.write("\48\49\50\51\52\53\54\55\56\57\49\50\51")
640+io.write("\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{31}\u{32}\u{33}")
641end
641end
642−io.write("\10\49\50\51\52\54"):close()
642+io.write("\u{a}\u{31}\u{32}\u{33}\u{34}\u{36}"):close()
643io.input(file)
643io.input(file)
644−local x = io.read("\97")
644+local x = io.read("\u{61}")
645−io.input():seek("\115\101\116",0)
645+io.input():seek("\u{73}\u{65}\u{74}",0)
646local y = io.read(30001) .. io.read(1005) .. io.read(0) .. io.read(1) .. io.read(100003)
646local y = io.read(30001) .. io.read(1005) .. io.read(0) .. io.read(1) .. io.read(100003)
647assert(x == y and string.len(x) == 5001 * 13 + 6)
647assert(x == y and string.len(x) == 5001 * 13 + 6)
648−io.input():seek("\115\101\116",0)
648+io.input():seek("\u{73}\u{65}\u{74}",0)
649y=io.read()
649y=io.read()
650−assert(x == y .. "\10" .. io.read())
650+assert(x == y .. "\u{a}" .. io.read())
651assert(not io.read())
651assert(not io.read())
652io.close(io.input())
652io.close(io.input())
653assert(os.remove(file))
653assert(os.remove(file))
@@ -663,31 +663,31 @@ local i = 0
663while arg[i] do
663while arg[i] do
664i=i - 1
664i=i - 1
665end
665end
666−progname="\34" .. arg[i + 1] .. "\34"
666+progname="\u{22}" .. arg[i + 1] .. "\u{22}"
667end
667end
668−print("\116\101\115\116\105\110\103\32\112\111\112\101\110\47\112\99\108\111\115\101\32\97\110\100\32\101\120\101\99\117\116\101")
668+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{6f}\u{70}\u{65}\u{6e}\u{2f}\u{70}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{65}\u{78}\u{65}\u{63}\u{75}\u{74}\u{65}")
669−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.popen,"\99\97\116","")
669+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.popen,"\u{63}\u{61}\u{74}","")
670−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.popen,"\99\97\116","\114\43")
670+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.popen,"\u{63}\u{61}\u{74}","\u{72}\u{2b}")
671−checkerr("\105\110\118\97\108\105\100\32\109\111\100\101",io.popen,"\99\97\116","\114\119")
671+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6d}\u{6f}\u{64}\u{65}",io.popen,"\u{63}\u{61}\u{74}","\u{72}\u{77}")
672do
672do
673local file = os.tmpname()
673local file = os.tmpname()
674−local f = assert(io.popen("\99\97\116\32\45\32\62\32" .. file,"\119"))
674+local f = assert(io.popen("\u{63}\u{61}\u{74}\u{20}\u{2d}\u{20}\u{3e}\u{20}" .. file,"\u{77}"))
675−f:write("\97\32\108\105\110\101")
675+f:write("\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}")
676assert(f:close())
676assert(f:close())
677−local f = assert(io.popen("\99\97\116\32\45\32\60\32" .. file,"\114"))
677+local f = assert(io.popen("\u{63}\u{61}\u{74}\u{20}\u{2d}\u{20}\u{3c}\u{20}" .. file,"\u{72}"))
678−assert(f:read("\97") == "\97\32\108\105\110\101")
678+assert(f:read("\u{61}") == "\u{61}\u{20}\u{6c}\u{69}\u{6e}\u{65}")
679assert(f:close())
679assert(f:close())
680assert(os.remove(file))
680assert(os.remove(file))
681end
681end
682−local tests = {{"\108\115\32\62\32\47\100\101\118\47\110\117\108\108","\111\107"},{"\110\111\116\45\116\111\45\98\101\45\102\111\117\110\100\45\99\111\109\109\97\110\100","\101\120\105\116"},{"\101\120\105\116\32\51","\101\120\105\116",3},{"\101\120\105\116\32\49\50\57","\101\120\105\116",129},{"\107\105\108\108\32\45\115\32\72\85\80\32\36\36","\115\105\103\110\97\108",1},{"\107\105\108\108\32\45\115\32\75\73\76\76\32\36\36","\115\105\103\110\97\108",9},{"\115\104\32\45\99\32\39\107\105\108\108\32\45\115\32\72\85\80\32\36\36\39","\101\120\105\116"},{progname .. "\32\45\101\32\34\32\34","\111\107"},{progname .. "\32\45\101\32\34\111\115\46\101\120\105\116\40\48\44\32\116\114\117\101\41\34","\111\107"},{progname .. "\32\45\101\32\34\111\115\46\101\120\105\116\40\50\48\44\32\116\114\117\101\41\34","\101\120\105\116",20}}
682+local tests = {{"\u{6c}\u{73}\u{20}\u{3e}\u{20}\u{2f}\u{64}\u{65}\u{76}\u{2f}\u{6e}\u{75}\u{6c}\u{6c}","\u{6f}\u{6b}"},{"\u{6e}\u{6f}\u{74}\u{2d}\u{74}\u{6f}\u{2d}\u{62}\u{65}\u{2d}\u{66}\u{6f}\u{75}\u{6e}\u{64}\u{2d}\u{63}\u{6f}\u{6d}\u{6d}\u{61}\u{6e}\u{64}","\u{65}\u{78}\u{69}\u{74}"},{"\u{65}\u{78}\u{69}\u{74}\u{20}\u{33}","\u{65}\u{78}\u{69}\u{74}",3},{"\u{65}\u{78}\u{69}\u{74}\u{20}\u{31}\u{32}\u{39}","\u{65}\u{78}\u{69}\u{74}",129},{"\u{6b}\u{69}\u{6c}\u{6c}\u{20}\u{2d}\u{73}\u{20}\u{48}\u{55}\u{50}\u{20}\u{24}\u{24}","\u{73}\u{69}\u{67}\u{6e}\u{61}\u{6c}",1},{"\u{6b}\u{69}\u{6c}\u{6c}\u{20}\u{2d}\u{73}\u{20}\u{4b}\u{49}\u{4c}\u{4c}\u{20}\u{24}\u{24}","\u{73}\u{69}\u{67}\u{6e}\u{61}\u{6c}",9},{"\u{73}\u{68}\u{20}\u{2d}\u{63}\u{20}\u{27}\u{6b}\u{69}\u{6c}\u{6c}\u{20}\u{2d}\u{73}\u{20}\u{48}\u{55}\u{50}\u{20}\u{24}\u{24}\u{27}","\u{65}\u{78}\u{69}\u{74}"},{progname .. "\u{20}\u{2d}\u{65}\u{20}\u{22}\u{20}\u{22}","\u{6f}\u{6b}"},{progname .. "\u{20}\u{2d}\u{65}\u{20}\u{22}\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{30}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}\u{22}","\u{6f}\u{6b}"},{progname .. "\u{20}\u{2d}\u{65}\u{20}\u{22}\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{32}\u{30}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}\u{22}","\u{65}\u{78}\u{69}\u{74}",20}}
683−print("\10\40\115\111\109\101\32\101\114\114\111\114\32\109\101\115\115\97\103\101\115\32\97\114\101\32\101\120\112\101\99\116\101\100\32\110\111\119\41")
683+print("\u{a}\u{28}\u{73}\u{6f}\u{6d}\u{65}\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}\u{73}\u{20}\u{61}\u{72}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{6e}\u{6f}\u{77}\u{29}")
684for _,v in ipairs(tests)
684for _,v in ipairs(tests)
685do
685do
686local x,y,z = io.popen(v[1]):close()
686local x,y,z = io.popen(v[1]):close()
687local x1,y1,z1 = os.execute(v[1])
687local x1,y1,z1 = os.execute(v[1])
688assert(x == x1 and y == y1 and z == z1)
688assert(x == x1 and y == y1 and z == z1)
689−if v[2] == "\111\107" then
689+if v[2] == "\u{6f}\u{6b}" then
690−assert(x and y == "\101\120\105\116" and z == 0)
690+assert(x and y == "\u{65}\u{78}\u{69}\u{74}" and z == 0)
691else
691else
692assert(not x and y == v[2])
692assert(not x and y == v[2])
693assert((v[3] == nil and z > 0) or v[3] == z)
693assert((v[3] == nil and z > 0) or v[3] == z)
@@ -695,28 +695,28 @@ end
695end
695end
696end
696end
697f=io.tmpfile()
697f=io.tmpfile()
698−assert(io.type(f) == "\102\105\108\101")
698+assert(io.type(f) == "\u{66}\u{69}\u{6c}\u{65}")
699−f:write("\97\108\111")
699+f:write("\u{61}\u{6c}\u{6f}")
700−f:seek("\115\101\116")
700+f:seek("\u{73}\u{65}\u{74}")
701−assert(f:read("\97") == "\97\108\111")
701+assert(f:read("\u{61}") == "\u{61}\u{6c}\u{6f}")
702end
702end
703−print("\43")
703+print("\u{2b}")
704−print("\116\101\115\116\105\110\103\32\100\97\116\101\47\116\105\109\101")
704+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{64}\u{61}\u{74}\u{65}\u{2f}\u{74}\u{69}\u{6d}\u{65}")
705assert(os.date("") == "")
705assert(os.date("") == "")
706−assert(os.date("\33") == "")
706+assert(os.date("\u{21}") == "")
707−assert(os.date("") == "")
707+assert(os.date("\u{0}\u{0}") == "\u{0}\u{0}")
708−assert(os.date("\33") == "")
708+assert(os.date("\u{21}\u{0}\u{0}") == "\u{0}\u{0}")
709−local x = string.rep("\97",10000)
709+local x = string.rep("\u{61}",10000)
710assert(os.date(x) == x)
710assert(os.date(x) == x)
711local t = os.time()
711local t = os.time()
712−D=os.date("\42\116",t)
712+D=os.date("\u{2a}\u{74}",t)
713−assert(os.date(string.rep("\37\100",1000),t) == string.rep(os.date("\37\100",t),1000))
713+assert(os.date(string.rep("\u{25}\u{64}",1000),t) == string.rep(os.date("\u{25}\u{64}",t),1000))
714−assert(os.date(string.rep("\37",200)) == string.rep("\37",100))
714+assert(os.date(string.rep("\u{25}",200)) == string.rep("\u{25}",100))
715local function checkDateTable
715local function checkDateTable
716(t)
716(t)
717−_G.D=os.date("\42\116",t)
717+_G.D=os.date("\u{2a}\u{74}",t)
718assert(os.time(D) == t)
718assert(os.time(D) == t)
719−load(os.date("\97\115\115\101\114\116\40\68\46\121\101\97\114\61\61\37\89\32\97\110\100\32\68\46\109\111\110\116\104\61\61\37\109\32\97\110\100\32\68\46\100\97\121\61\61\37\100\32\97\110\100\10\32\32\32\32\68\46\104\111\117\114\61\61\37\72\32\97\110\100\32\68\46\109\105\110\61\61\37\77\32\97\110\100\32\68\46\115\101\99\61\61\37\83\32\97\110\100\10\32\32\32\32\68\46\119\100\97\121\61\61\37\119\43\49\32\97\110\100\32\68\46\121\100\97\121\61\61\37\106\41",t))()
719+load(os.date("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{44}\u{2e}\u{79}\u{65}\u{61}\u{72}\u{3d}\u{3d}\u{25}\u{59}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{44}\u{2e}\u{6d}\u{6f}\u{6e}\u{74}\u{68}\u{3d}\u{3d}\u{25}\u{6d}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{44}\u{2e}\u{64}\u{61}\u{79}\u{3d}\u{3d}\u{25}\u{64}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{44}\u{2e}\u{68}\u{6f}\u{75}\u{72}\u{3d}\u{3d}\u{25}\u{48}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{44}\u{2e}\u{6d}\u{69}\u{6e}\u{3d}\u{3d}\u{25}\u{4d}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{44}\u{2e}\u{73}\u{65}\u{63}\u{3d}\u{3d}\u{25}\u{53}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{44}\u{2e}\u{77}\u{64}\u{61}\u{79}\u{3d}\u{3d}\u{25}\u{77}\u{2b}\u{31}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{44}\u{2e}\u{79}\u{64}\u{61}\u{79}\u{3d}\u{3d}\u{25}\u{6a}\u{29}",t))()
720_G.D=nil
720_G.D=nil
721end
721end
722checkDateTable(os.time())
722checkDateTable(os.time())
@@ -727,92 +727,92 @@ checkDateTable(1000)
727checkDateTable(2147483647)
727checkDateTable(2147483647)
728checkDateTable(2147483648)
728checkDateTable(2147483648)
729end
729end
730−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37")
730+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}")
731−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37\57")
731+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}\u{39}")
732−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37")
732+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}")
733−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37\79")
733+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}\u{4f}")
734−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37\69")
734+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}\u{45}")
735−checkerr("\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110\32\115\112\101\99\105\102\105\101\114",os.date,"\37\69\97")
735+checkerr("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}\u{20}\u{73}\u{70}\u{65}\u{63}\u{69}\u{66}\u{69}\u{65}\u{72}",os.date,"\u{25}\u{45}\u{61}")
736−checkerr("\110\111\116\32\97\110\32\105\110\116\101\103\101\114",os.time,{["\121\101\97\114"] = 1000,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1,["\104\111\117\114"] = "\120"})
736+checkerr("\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}"] = 1000,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1,["\u{68}\u{6f}\u{75}\u{72}"] = "\u{78}"})
737−checkerr("\110\111\116\32\97\110\32\105\110\116\101\103\101\114",os.time,{["\121\101\97\114"] = 1000,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1,["\104\111\117\114"] = 1.5})
737+checkerr("\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}"] = 1000,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1,["\u{68}\u{6f}\u{75}\u{72}"] = 1.5})
738−checkerr("\109\105\115\115\105\110\103",os.time,{["\104\111\117\114"] = 12})
738+checkerr("\u{6d}\u{69}\u{73}\u{73}\u{69}\u{6e}\u{67}",os.time,{["\u{68}\u{6f}\u{75}\u{72}"] = 12})
739−if string.packsize("\105") == 4 then
739+if string.packsize("\u{69}") == 4 then
740−checkerr("\102\105\101\108\100\32\39\121\101\97\114\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = - (1 << 31) + 1899,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
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}"] = - (1 << 31) + 1899,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
741−checkerr("\102\105\101\108\100\32\39\121\101\97\114\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = - (1 << 31),["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
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}"] = - (1 << 31),["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
742if math.maxinteger > 2 ^ 31 then
742if math.maxinteger > 2 ^ 31 then
743−checkerr("\102\105\101\108\100\32\39\121\101\97\114\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = (1 << 31) + 1900,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
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}"] = (1 << 31) + 1900,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
744end
744end
745end
745end
746if not _port then
746if not _port then
747−assert(type(os.date("\37\69\120")) == "\115\116\114\105\110\103")
747+assert(type(os.date("\u{25}\u{45}\u{78}")) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
748−assert(type(os.date("\37\79\121")) == "\115\116\114\105\110\103")
748+assert(type(os.date("\u{25}\u{4f}\u{79}")) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
749−local t0 = os.time({["\121\101\97\114"] = 1970,["\109\111\110\116\104"] = 1,["\100\97\121"] = 0})
749+local t0 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 1970,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 0})
750−local t1 = os.time({["\121\101\97\114"] = 1970,["\109\111\110\116\104"] = 1,["\100\97\121"] = 0,["\115\101\99"] = (1 << 31) - 1})
750+local t1 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 1970,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 0,["\u{73}\u{65}\u{63}"] = (1 << 31) - 1})
751assert(t1 - t0 == (1 << 31) - 1)
751assert(t1 - t0 == (1 << 31) - 1)
752−t0=os.time({["\121\101\97\114"] = 1970,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
752+t0=os.time({["\u{79}\u{65}\u{61}\u{72}"] = 1970,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
753−t1=os.time({["\121\101\97\114"] = 1970,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1,["\115\101\99"] = - (1 << 31)})
753+t1=os.time({["\u{79}\u{65}\u{61}\u{72}"] = 1970,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1,["\u{73}\u{65}\u{63}"] = - (1 << 31)})
754assert(t1 - t0 == - (1 << 31))
754assert(t1 - t0 == - (1 << 31))
755if maxint >= 2 ^ 62 then
755if maxint >= 2 ^ 62 then
756−checkerr("\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = - maxint,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
756+checkerr("\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}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
757−if string.packsize("\105") == 4 then
757+if string.packsize("\u{69}") == 4 then
758−if testerr("\111\117\116\45\111\102\45\98\111\117\110\100",os.date,"\37\89",2 ^ 40) then
758+if testerr("\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.date,"\u{25}\u{59}",2 ^ 40) then
759−print("\32\32\52\45\98\121\116\101\32\116\105\109\101\95\116")
759+print("\u{20}\u{20}\u{34}\u{2d}\u{62}\u{79}\u{74}\u{65}\u{20}\u{74}\u{69}\u{6d}\u{65}\u{5f}\u{74}")
760−checkerr("\99\97\110\110\111\116\32\98\101\32\114\101\112\114\101\115\101\110\116\101\100",os.time,{["\121\101\97\114"] = 4000,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
760+checkerr("\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.time,{["\u{79}\u{65}\u{61}\u{72}"] = 4000,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
761else
761else
762−print("\32\32\56\45\98\121\116\101\32\116\105\109\101\95\116")
762+print("\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}")
763−checkerr("\99\97\110\110\111\116\32\98\101\32\114\101\112\114\101\115\101\110\116\101\100",os.date,"\37\89",2 ^ 60)
763+checkerr("\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}",2 ^ 60)
764−assert(tonumber(os.time({["\121\101\97\114"] = (1 << 31) + 1899,["\109\111\110\116\104"] = 12,["\100\97\121"] = 31,["\104\111\117\114"] = 23,["\109\105\110"] = 59,["\115\101\99"] = 59})))
764+assert(tonumber(os.time({["\u{79}\u{65}\u{61}\u{72}"] = (1 << 31) + 1899,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 12,["\u{64}\u{61}\u{79}"] = 31,["\u{68}\u{6f}\u{75}\u{72}"] = 23,["\u{6d}\u{69}\u{6e}"] = 59,["\u{73}\u{65}\u{63}"] = 59})))
765−checkerr("\114\101\112\114\101\115\101\110\116\101\100",os.time,{["\121\101\97\114"] = (1 << 31) + 1899,["\109\111\110\116\104"] = 12,["\100\97\121"] = 31,["\104\111\117\114"] = 23,["\109\105\110"] = 59,["\115\101\99"] = 60})
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}"] = (1 << 31) + 1899,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 12,["\u{64}\u{61}\u{79}"] = 31,["\u{68}\u{6f}\u{75}\u{72}"] = 23,["\u{6d}\u{69}\u{6e}"] = 59,["\u{73}\u{65}\u{63}"] = 60})
766−end
766+end
767−checkerr("\102\105\101\108\100\32\39\100\97\121\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = 0,["\109\111\110\116\104"] = 1,["\100\97\121"] = 2 ^ 32})
767+checkerr("\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}"] = 0,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 2 ^ 32})
768−checkerr("\102\105\101\108\100\32\39\109\111\110\116\104\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = 0,["\109\111\110\116\104"] = - ((1 << 31) + 1),["\100\97\121"] = 1})
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}"] = 0,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = - ((1 << 31) + 1),["\u{64}\u{61}\u{79}"] = 1})
769−checkerr("\102\105\101\108\100\32\39\121\101\97\114\39\32\105\115\32\111\117\116\45\111\102\45\98\111\117\110\100",os.time,{["\121\101\97\114"] = (1 << 31) + 1900,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
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}"] = (1 << 31) + 1900,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
770else
770else
771−print("\32\32\56\45\98\121\116\101\32\116\105\109\101\95\116")
771+print("\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}")
772−assert(tonumber(os.date("\37\89",2 ^ 60)))
772+assert(tonumber(os.date("\u{25}\u{59}",2 ^ 60)))
773−checkerr("\99\97\110\110\111\116\32\98\101\32\114\101\112\114\101\115\101\110\116\101\100",os.time,{["\121\101\97\114"] = 2 ^ 60,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1})
773+checkerr("\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.time,{["\u{79}\u{65}\u{61}\u{72}"] = 2 ^ 60,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1})
774end
774end
775end
775end
776end
776end
777do
777do
778−local D = os.date("\42\116")
778+local D = os.date("\u{2a}\u{74}")
779local t = os.time(D)
779local t = os.time(D)
780if D.isdst == nil then
780if D.isdst == nil then
781−print("\110\111\32\100\97\121\108\105\103\104\116\32\115\97\118\105\110\103\32\105\110\102\111\114\109\97\116\105\111\110")
781+print("\u{6e}\u{6f}\u{20}\u{64}\u{61}\u{79}\u{6c}\u{69}\u{67}\u{68}\u{74}\u{20}\u{73}\u{61}\u{76}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{6e}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{69}\u{6f}\u{6e}")
782else
782else
783−assert(type(D.isdst) == "\98\111\111\108\101\97\110")
783+assert(type(D.isdst) == "\u{62}\u{6f}\u{6f}\u{6c}\u{65}\u{61}\u{6e}")
784end
784end
785D.isdst=nil
785D.isdst=nil
786local t1 = os.time(D)
786local t1 = os.time(D)
787assert(t == t1)
787assert(t == t1)
788end
788end
789−local D = os.date("\42\116")
789+local D = os.date("\u{2a}\u{74}")
790t=os.time(D)
790t=os.time(D)
791D.year=D.year - 1
791D.year=D.year - 1
792;
792;
793local t1 = os.time(D)
793local t1 = os.time(D)
794assert(math.abs(os.difftime(t,t1) / (24 * 3600) - 365) < 2)
794assert(math.abs(os.difftime(t,t1) / (24 * 3600) - 365) < 2)
795t=os.time()
795t=os.time()
796−t1=os.time(os.date("\42\116"))
796+t1=os.time(os.date("\u{2a}\u{74}"))
797local diff = os.difftime(t1,t)
797local diff = os.difftime(t1,t)
798assert(0 <= diff and diff <= 1)
798assert(0 <= diff and diff <= 1)
799diff=os.difftime(t,t1)
799diff=os.difftime(t,t1)
800assert(- 1 <= diff and diff <= 0)
800assert(- 1 <= diff and diff <= 0)
801−local t1 = os.time({["\121\101\97\114"] = 2000,["\109\111\110\116\104"] = 10,["\100\97\121"] = 1,["\104\111\117\114"] = 23,["\109\105\110"] = 12})
801+local t1 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 2000,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 10,["\u{64}\u{61}\u{79}"] = 1,["\u{68}\u{6f}\u{75}\u{72}"] = 23,["\u{6d}\u{69}\u{6e}"] = 12})
802−local t2 = os.time({["\121\101\97\114"] = 2000,["\109\111\110\116\104"] = 10,["\100\97\121"] = 1,["\104\111\117\114"] = 23,["\109\105\110"] = 10,["\115\101\99"] = 19})
802+local t2 = os.time({["\u{79}\u{65}\u{61}\u{72}"] = 2000,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 10,["\u{64}\u{61}\u{79}"] = 1,["\u{68}\u{6f}\u{75}\u{72}"] = 23,["\u{6d}\u{69}\u{6e}"] = 10,["\u{73}\u{65}\u{63}"] = 19})
803assert(os.difftime(t1,t2) == 60 * 2 - 19)
803assert(os.difftime(t1,t2) == 60 * 2 - 19)
804−t1={["\121\101\97\114"] = 2005,["\109\111\110\116\104"] = 1,["\100\97\121"] = 1,["\104\111\117\114"] = 1,["\109\105\110"] = 0,["\115\101\99"] = - 3602}
804+t1={["\u{79}\u{65}\u{61}\u{72}"] = 2005,["\u{6d}\u{6f}\u{6e}\u{74}\u{68}"] = 1,["\u{64}\u{61}\u{79}"] = 1,["\u{68}\u{6f}\u{75}\u{72}"] = 1,["\u{6d}\u{69}\u{6e}"] = 0,["\u{73}\u{65}\u{63}"] = - 3602}
805os.time(t1)
805os.time(t1)
806assert(t1.day == 31 and t1.month == 12 and t1.year == 2004 and t1.hour == 23 and t1.min == 59 and t1.sec == 58 and t1.yday == 366)
806assert(t1.day == 31 and t1.month == 12 and t1.year == 2004 and t1.hour == 23 and t1.min == 59 and t1.sec == 58 and t1.yday == 366)
807io.output(io.stdout)
807io.output(io.stdout)
808−local t = os.date("\37\100\32\37\109\32\37\89\32\37\72\32\37\77\32\37\83")
808+local t = os.date("\u{25}\u{64}\u{20}\u{25}\u{6d}\u{20}\u{25}\u{59}\u{20}\u{25}\u{48}\u{20}\u{25}\u{4d}\u{20}\u{25}\u{53}")
809−local d,m,a,h,min,s = string.match(t,"\40\37\100\43\41\32\40\37\100\43\41\32\40\37\100\43\41\32\40\37\100\43\41\32\40\37\100\43\41\32\40\37\100\43\41")
809+local d,m,a,h,min,s = string.match(t,"\u{28}\u{25}\u{64}\u{2b}\u{29}\u{20}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{20}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{20}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{20}\u{28}\u{25}\u{64}\u{2b}\u{29}\u{20}\u{28}\u{25}\u{64}\u{2b}\u{29}")
810d=tonumber(d)
810d=tonumber(d)
811m=tonumber(m)
811m=tonumber(m)
812a=tonumber(a)
812a=tonumber(a)
813h=tonumber(h)
813h=tonumber(h)
814min=tonumber(min)
814min=tonumber(min)
815s=tonumber(s)
815s=tonumber(s)
816−io.write(string.format("\116\101\115\116\32\100\111\110\101\32\111\110\32\37\50\46\50\100\47\37\50\46\50\100\47\37\100",d,m,a))
816+io.write(string.format("\u{74}\u{65}\u{73}\u{74}\u{20}\u{64}\u{6f}\u{6e}\u{65}\u{20}\u{6f}\u{6e}\u{20}\u{25}\u{32}\u{2e}\u{32}\u{64}\u{2f}\u{25}\u{32}\u{2e}\u{32}\u{64}\u{2f}\u{25}\u{64}",d,m,a))
817−io.write(string.format("\44\32\97\116\32\37\50\46\50\100\58\37\50\46\50\100\58\37\50\46\50\100\10",h,min,s))
817+io.write(string.format("\u{2c}\u{20}\u{61}\u{74}\u{20}\u{25}\u{32}\u{2e}\u{32}\u{64}\u{3a}\u{25}\u{32}\u{2e}\u{32}\u{64}\u{3a}\u{25}\u{32}\u{2e}\u{32}\u{64}\u{a}",h,min,s))
818−io.write(string.format("\37\115\10",_VERSION))
818+io.write(string.format("\u{25}\u{73}\u{a}",_VERSION))
zod/luau/res/lua/cycled/foo.lua+14−14
@@ -3,19 +3,19 @@ az=bar[nil]
3baz=bar(1).foo
3baz=bar(1).foo
4i=3
4i=3
5i,a[i]=i + 1,20 >> 9
5i,a[i]=i + 1,20 >> 9
6−hello="\104\101\108\108\111\100\107\110\100\106\208\178\208\179\208\190\208\178\209\136\208\190\208\178"
6+hello="\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{64}\u{6b}\u{6e}\u{64}\u{6a}\u{d0}\u{b2}\u{d0}\u{b3}\u{d0}\u{be}\u{d0}\u{b2}\u{d1}\u{88}\u{d0}\u{be}\u{d0}\u{b2}"
7−x={[hello] = 8,["\104\101\108\108\111"] = 12}
7+x={[hello] = 8,["\u{68}\u{65}\u{6c}\u{6c}\u{6f}"] = 12}
8;
8;
9−test_cases={{2147483647,"\50\49\52\55\52\56\51\54\52\55"},{2147483647,"\50\49\52\55\52\56\51\54\52\55"},{4294967295,"\52\50\57\52\57\54\55\50\57\53"},{4294967295,"\52\50\57\52\57\54\55\50\57\53"},{9223372036854775807,"\57\46\50\50\51\51\55\50\48\51\54\56\53\52\56\101\43\49\56"},{9223372036854775807,"\57\46\50\50\51\51\55\50\48\51\54\56\53\52\56\101\43\49\56"},{18446744073709551615,"\49\46\56\52\52\54\55\52\52\48\55\51\55\49\101\43\49\57"},{18446744073709551615,"\49\46\56\52\52\54\55\52\52\48\55\51\55\49\101\43\49\57"},{4294967296,"\52\50\57\52\57\54\55\50\57\54"},{4294967296,"\52\50\57\52\57\54\55\50\57\54"},{17592186044416,"\49\55\53\57\50\49\56\54\48\52\52\52\49\54"},{17592186044416,"\49\55\53\57\50\49\56\54\48\52\52\52\49\54"},{2147483648,"\50\49\52\55\52\56\51\54\52\56"},{2147483648,"\50\49\52\55\52\56\51\54\52\56"},{140737488355328,"\49\46\52\48\55\51\55\52\56\56\51\53\53\51\51\101\43\49\52"},{140737488355328,"\49\46\52\48\55\51\55\52\56\56\51\53\53\51\51\101\43\49\52"}}
9+test_cases={{2147483647,"\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{37}"},{2147483647,"\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{37}"},{4294967295,"\u{34}\u{32}\u{39}\u{34}\u{39}\u{36}\u{37}\u{32}\u{39}\u{35}"},{4294967295,"\u{34}\u{32}\u{39}\u{34}\u{39}\u{36}\u{37}\u{32}\u{39}\u{35}"},{9223372036854775807,"\u{39}\u{2e}\u{32}\u{32}\u{33}\u{33}\u{37}\u{32}\u{30}\u{33}\u{36}\u{38}\u{35}\u{34}\u{38}\u{65}\u{2b}\u{31}\u{38}"},{9223372036854775807,"\u{39}\u{2e}\u{32}\u{32}\u{33}\u{33}\u{37}\u{32}\u{30}\u{33}\u{36}\u{38}\u{35}\u{34}\u{38}\u{65}\u{2b}\u{31}\u{38}"},{18446744073709551615,"\u{31}\u{2e}\u{38}\u{34}\u{34}\u{36}\u{37}\u{34}\u{34}\u{30}\u{37}\u{33}\u{37}\u{31}\u{65}\u{2b}\u{31}\u{39}"},{18446744073709551615,"\u{31}\u{2e}\u{38}\u{34}\u{34}\u{36}\u{37}\u{34}\u{34}\u{30}\u{37}\u{33}\u{37}\u{31}\u{65}\u{2b}\u{31}\u{39}"},{4294967296,"\u{34}\u{32}\u{39}\u{34}\u{39}\u{36}\u{37}\u{32}\u{39}\u{36}"},{4294967296,"\u{34}\u{32}\u{39}\u{34}\u{39}\u{36}\u{37}\u{32}\u{39}\u{36}"},{17592186044416,"\u{31}\u{37}\u{35}\u{39}\u{32}\u{31}\u{38}\u{36}\u{30}\u{34}\u{34}\u{34}\u{31}\u{36}"},{17592186044416,"\u{31}\u{37}\u{35}\u{39}\u{32}\u{31}\u{38}\u{36}\u{30}\u{34}\u{34}\u{34}\u{31}\u{36}"},{2147483648,"\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{38}"},{2147483648,"\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{38}"},{140737488355328,"\u{31}\u{2e}\u{34}\u{30}\u{37}\u{33}\u{37}\u{34}\u{38}\u{38}\u{33}\u{35}\u{35}\u{33}\u{33}\u{65}\u{2b}\u{31}\u{34}"},{140737488355328,"\u{31}\u{2e}\u{34}\u{30}\u{37}\u{33}\u{37}\u{34}\u{38}\u{38}\u{33}\u{35}\u{35}\u{33}\u{33}\u{65}\u{2b}\u{31}\u{34}"}}
10::helli::
10::helli::
11foo={3.0,3.1416,3.1416,3.1416,340.0,0.1171875,162.1875,162.1875,3.141592653589793,1984.0}
11foo={3.0,3.1416,3.1416,3.1416,340.0,0.1171875,162.1875,162.1875,3.141592653589793,1984.0}
12do
12do
13foo=1
13foo=1
14return 8,foo
14return 8,foo
15end
15end
16−print("\116\104\101\32\119\97\121\32\111\102\32\116\104\101\32\102\117\116\117\114\101")
16+print("\u{74}\u{68}\u{65}\u{20}\u{77}\u{61}\u{79}\u{20}\u{6f}\u{66}\u{20}\u{74}\u{68}\u{65}\u{20}\u{66}\u{75}\u{74}\u{75}\u{72}\u{65}")
17−print("\104\101\108\108\111")
17+print("\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
18−h({["\107\101\121\49"] = "\83\111\110\109\105\126\52\53\49"})
18+h({["\u{6b}\u{65}\u{79}\u{31}"] = "\u{53}\u{6f}\u{6e}\u{6d}\u{69}\u{7e}\u{34}\u{35}\u{31}"})
19goto helli
19goto helli
20break
20break
21while true do
21while true do
@@ -30,11 +30,11 @@ until true
30if l == 3 then
30if l == 3 then
31a=a + 1
31a=a + 1
32;
32;
33−assert(getlocal(2,1) == "\40\116\101\109\112\111\114\97\114\121\41")
33+assert(getlocal(2,1) == "\u{28}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{29}")
34elseif l == 4 then
34elseif l == 4 then
35a=a + 1
35a=a + 1
36;
36;
37−assert(getlocal(2,1) == "\65")
37+assert(getlocal(2,1) == "\u{41}")
38else
38else
39;
39;
40end
40end
@@ -51,19 +51,19 @@ do
51print(key,val)
51print(key,val)
52end
52end
53function Dog:new()
53function Dog:new()
54−newObj={["\115\111\117\110\100"] = "\119\111\111\102"}
54+newObj={["\u{73}\u{6f}\u{75}\u{6e}\u{64}"] = "\u{77}\u{6f}\u{6f}\u{66}"}
55self.__index=self
55self.__index=self
56return setmetatable(newObj,self)
56return setmetatable(newObj,self)
57end
57end
58function Dog:makeSound()
58function Dog:makeSound()
59−print("\73\32\115\97\121\32" .. self.sound)
59+print("\u{49}\u{20}\u{73}\u{61}\u{79}\u{20}" .. self.sound)
60end
60end
61local function g
61local function g
62(x)
62(x)
63return math.sin(x)
63return math.sin(x)
64end
64end
65−local a = require("\109\111\100\50")
65+local a = require("\u{6d}\u{6f}\u{64}\u{32}")
66−local b = require("\109\111\100\50")
66+local b = require("\u{6d}\u{6f}\u{64}\u{32}")
67function adder(x)
67function adder(x)
68return function (y)
68return function (y)
69return x + y
69return x + y
@@ -71,12 +71,12 @@ end
71end
71end
72x=- 1 + 8
72x=- 1 + 8
73if _VERSION ~= version then
73if _VERSION ~= version then
74−io.stderr:write("\84\104\105\115\32\116\101\115\116\32\115\117\105\116\101\32\105\115\32\102\111\114\32",version,"\44\32\110\111\116\32\102\111\114\32",_VERSION,"\10\69\120\105\116\105\110\103\32\116\101\115\116\115")
74+io.stderr:write("\u{54}\u{68}\u{69}\u{73}\u{20}\u{74}\u{65}\u{73}\u{74}\u{20}\u{73}\u{75}\u{69}\u{74}\u{65}\u{20}\u{69}\u{73}\u{20}\u{66}\u{6f}\u{72}\u{20}",version,"\u{2c}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{6f}\u{72}\u{20}",_VERSION,"\u{a}\u{45}\u{78}\u{69}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}")
75return
75return
76end
76end
77math.randomseed()
77math.randomseed()
78local random_x,random_y = math.randomseed()
78local random_x,random_y = math.randomseed()
79do
79do
80local random_x,random_y = math.randomseed()
80local random_x,random_y = math.randomseed()
81−print(string.format("\114\97\110\100\111\109\32\115\101\101\100\115\58\32\37\100\44\32\37\100",random_x,random_y))
81+print(string.format("\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{20}\u{73}\u{65}\u{65}\u{64}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{25}\u{64}",random_x,random_y))
82end
82end
zod/luau/res/lua/cycled/gc.lua+159−159
@@ -1,23 +1,23 @@
1−print("\116\101\115\116\105\110\103\32\105\110\99\114\101\109\101\110\116\97\108\32\103\97\114\98\97\103\101\32\99\111\108\108\101\99\116\105\111\110")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}\u{20}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
3+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
4−collectgarbage()
4+collectgarbage()
5−local oldmode = collectgarbage("\105\110\99\114\101\109\101\110\116\97\108")
5+local oldmode = collectgarbage("\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}")
6−assert(collectgarbage("\103\101\110\101\114\97\116\105\111\110\97\108") == "\105\110\99\114\101\109\101\110\116\97\108")
6+assert(collectgarbage("\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{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}")
7−assert(collectgarbage("\103\101\110\101\114\97\116\105\111\110\97\108") == "\103\101\110\101\114\97\116\105\111\110\97\108")
7+assert(collectgarbage("\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{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{61}\u{6c}")
8−assert(collectgarbage("\105\110\99\114\101\109\101\110\116\97\108") == "\103\101\110\101\114\97\116\105\111\110\97\108")
8+assert(collectgarbage("\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}") == "\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{61}\u{6c}")
9−assert(collectgarbage("\105\110\99\114\101\109\101\110\116\97\108") == "\105\110\99\114\101\109\101\110\116\97\108")
9+assert(collectgarbage("\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}") == "\u{69}\u{6e}\u{63}\u{72}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{61}\u{6c}")
10local function nop
10local function nop
11()
11()
12
12
13end
13end
14local function gcinfo
14local function gcinfo
15()
15()
16−return collectgarbage("\99\111\117\110\116") * 1024
16+return collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 1024
17end
17end
18do
18do
19−local a = collectgarbage("\115\101\116\112\97\117\115\101",200)
19+local a = collectgarbage("\u{73}\u{65}\u{74}\u{70}\u{61}\u{75}\u{73}\u{65}",200)
20−local b = collectgarbage("\115\101\116\115\116\101\112\109\117\108",200)
20+local b = collectgarbage("\u{73}\u{65}\u{74}\u{73}\u{74}\u{65}\u{70}\u{6d}\u{75}\u{6c}",200)
21local t = {0,2,10,90,500,5000,30000,2147483646}
21local t = {0,2,10,90,500,5000,30000,2147483646}
22for i = 1, # t
22for i = 1, # t
23do
23do
@@ -25,23 +25,23 @@ local p = t[i]
25for j = 1, # t
25for j = 1, # t
26do
26do
27local m = t[j]
27local m = t[j]
28−collectgarbage("\115\101\116\112\97\117\115\101",p)
28+collectgarbage("\u{73}\u{65}\u{74}\u{70}\u{61}\u{75}\u{73}\u{65}",p)
29−collectgarbage("\115\101\116\115\116\101\112\109\117\108",m)
29+collectgarbage("\u{73}\u{65}\u{74}\u{73}\u{74}\u{65}\u{70}\u{6d}\u{75}\u{6c}",m)
30−collectgarbage("\115\116\101\112",0)
30+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
31−collectgarbage("\115\116\101\112",10000)
31+collectgarbage("\u{73}\u{74}\u{65}\u{70}",10000)
32end
32end
33end
33end
34−collectgarbage("\115\101\116\112\97\117\115\101",a)
34+collectgarbage("\u{73}\u{65}\u{74}\u{70}\u{61}\u{75}\u{73}\u{65}",a)
35−collectgarbage("\115\101\116\115\116\101\112\109\117\108",b)
35+collectgarbage("\u{73}\u{65}\u{74}\u{73}\u{74}\u{65}\u{70}\u{6d}\u{75}\u{6c}",b)
36collectgarbage()
36collectgarbage()
37end
37end
38−_G["\119\104\105\108\101"]=234
38+_G["\u{77}\u{68}\u{69}\u{6c}\u{65}"]=234
39local function GC1
39local function GC1
40()
40()
41local u
41local u
42local b
42local b
43local finish = false
43local finish = false
44−u=setmetatable({},{["\95\95\103\99"] = function ()
44+u=setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
45finish=true
45finish=true
46end})
46end})
47b={34}
47b={34}
@@ -52,7 +52,7 @@ assert(b[1] == 34)
52finish=false
52finish=false
53;
53;
54local i = 1
54local i = 1
55−u=setmetatable({},{["\95\95\103\99"] = function ()
55+u=setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
56finish=true
56finish=true
57end})
57end})
58repeat
58repeat
@@ -62,7 +62,7 @@ u=tostring(i) .. tostring(i)
62until finish
62until finish
63assert(b[1] == 34)
63assert(b[1] == 34)
64finish=false
64finish=false
65−u=setmetatable({},{["\95\95\103\99"] = function ()
65+u=setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
66finish=true
66finish=true
67end})
67end})
68repeat
68repeat
@@ -78,7 +78,7 @@ local function GC2
78()
78()
79local u
79local u
80local finish = false
80local finish = false
81−u={setmetatable({},{["\95\95\103\99"] = function ()
81+u={setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
82finish=true
82finish=true
83end})}
83end})}
84local b = {34}
84local b = {34}
@@ -89,7 +89,7 @@ assert(b[1] == 34)
89finish=false
89finish=false
90;
90;
91local i = 1
91local i = 1
92−u={setmetatable({},{["\95\95\103\99"] = function ()
92+u={setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
93finish=true
93finish=true
94end})}
94end})}
95repeat
95repeat
@@ -99,7 +99,7 @@ u={tostring(i) .. tostring(i)}
99until finish
99until finish
100assert(b[1] == 34)
100assert(b[1] == 34)
101finish=false
101finish=false
102−u={setmetatable({},{["\95\95\103\99"] = function ()
102+u={setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
103finish=true
103finish=true
104end})}
104end})}
105repeat
105repeat
@@ -118,7 +118,7 @@ GC1()
118GC2()
118GC2()
119end
119end
120do
120do
121−print("\99\114\101\97\116\105\110\103\32\109\97\110\121\32\111\98\106\101\99\116\115")
121+print("\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{73}")
122local limit = 5000
122local limit = 5000
123for i = 1, limit
123for i = 1, limit
124do
124do
@@ -126,20 +126,20 @@ local a = {}
126;
126;
127a=nil
127a=nil
128end
128end
129−local a = "\97"
129+local a = "\u{61}"
130for i = 1, limit
130for i = 1, limit
131do
131do
132−a=i .. "\98"
132+a=i .. "\u{62}"
133;
133;
134−a=string.gsub(a,"\40\37\100\37\100\42\41","\37\49\32\37\49")
134+a=string.gsub(a,"\u{28}\u{25}\u{64}\u{25}\u{64}\u{2a}\u{29}","\u{25}\u{31}\u{20}\u{25}\u{31}")
135−a="\97"
135+a="\u{61}"
136end
136end
137a={}
137a={}
138function a:test()
138function a:test()
139for i = 1, limit
139for i = 1, limit
140do
140do
141−load(string.format("\102\117\110\99\116\105\111\110\32\116\101\109\112\40\97\41\32\114\101\116\117\114\110\32\39\97\37\100\39\32\101\110\100",i),"")()
141+load(string.format("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{74}\u{65}\u{6d}\u{70}\u{28}\u{61}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}\u{61}\u{25}\u{64}\u{27}\u{20}\u{65}\u{6e}\u{64}",i),"")()
142−assert(temp() == string.format("\97\37\100",i))
142+assert(temp() == string.format("\u{61}\u{25}\u{64}",i))
143end
143end
144end
144end
145a:test()
145a:test()
@@ -150,8 +150,8 @@ local f = function ()
150
150
151end
151end
152end
152end
153−print("\102\117\110\99\116\105\111\110\115\32\119\105\116\104\32\101\114\114\111\114\115")
153+print("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}")
154−local prog = "\100\111\10\32\32\97\32\61\32\49\48\59\10\32\32\102\117\110\99\116\105\111\110\32\102\111\111\40\120\44\121\41\10\32\32\32\32\97\32\61\32\115\105\110\40\97\43\48\46\52\53\54\45\48\46\50\51\101\45\49\50\41\59\10\32\32\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\122\41\32\114\101\116\117\114\110\32\115\105\110\40\37\120\43\122\41\32\101\110\100\10\32\32\101\110\100\10\32\32\108\111\99\97\108\32\120\32\61\32\102\117\110\99\116\105\111\110\32\40\119\41\32\97\61\97\43\119\59\32\101\110\100\10\101\110\100\10"
154+local prog = "\u{64}\u{6f}\u{a}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{a}\u{20}\u{20}\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{28}\u{78}\u{2c}\u{79}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{73}\u{69}\u{6e}\u{28}\u{61}\u{2b}\u{30}\u{2e}\u{34}\u{35}\u{36}\u{2d}\u{30}\u{2e}\u{32}\u{33}\u{65}\u{2d}\u{31}\u{32}\u{29}\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{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{7a}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{69}\u{6e}\u{28}\u{25}\u{78}\u{2b}\u{7a}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{77}\u{29}\u{20}\u{61}\u{3d}\u{61}\u{2b}\u{77}\u{3b}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{65}\u{6e}\u{64}\u{a}"
155do
155do
156local step = 1
156local step = 1
157if _soft then
157if _soft then
@@ -165,12 +165,12 @@ pcall(load(string.sub(prog,i,j),""))
165end
165end
166end
166end
167end
167end
168−rawset(_G,"\97",nil)
168+rawset(_G,"\u{61}",nil)
169_G.x=nil
169_G.x=nil
170do
170do
171foo=nil
171foo=nil
172−print("\108\111\110\103\32\115\116\114\105\110\103\115")
172+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}")
173−local x = "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
173+local 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}"
174assert(string.len(x) == 80)
174assert(string.len(x) == 80)
175local s = ""
175local s = ""
176local k = math.min(300,(math.maxinteger // 80) // 2)
176local k = math.min(300,(math.maxinteger // 80) // 2)
@@ -182,14 +182,14 @@ local j = tostring(n)
182end
182end
183assert(string.len(s) == k * 80)
183assert(string.len(s) == k * 80)
184s=string.sub(s,1,10000)
184s=string.sub(s,1,10000)
185−local s,i = string.gsub(s,"\40\37\100\37\100\37\100\37\100\41","")
185+local s,i = string.gsub(s,"\u{28}\u{25}\u{64}\u{25}\u{64}\u{25}\u{64}\u{25}\u{64}\u{29}","")
186assert(i == 10000 // 4)
186assert(i == 10000 // 4)
187−assert(_G["\119\104\105\108\101"] == 234)
187+assert(_G["\u{77}\u{68}\u{69}\u{6c}\u{65}"] == 234)
188−_G["\119\104\105\108\101"]=nil
188+_G["\u{77}\u{68}\u{69}\u{6c}\u{65}"]=nil
189end
189end
190do
190do
191−print("\115\116\101\112\115")
191+print("\u{73}\u{74}\u{65}\u{70}\u{73}")
192−print("\115\116\101\112\115\32\40\50\41")
192+print("\u{73}\u{74}\u{65}\u{70}\u{73}\u{20}\u{28}\u{32}\u{29}")
193local function dosteps
193local function dosteps
194(siz)
194(siz)
195collectgarbage()
195collectgarbage()
@@ -204,37 +204,37 @@ local x = gcinfo()
204local i = 0
204local i = 0
205repeat
205repeat
206i=i + 1
206i=i + 1
207−until collectgarbage("\115\116\101\112",siz)
207+until collectgarbage("\u{73}\u{74}\u{65}\u{70}",siz)
208assert(gcinfo() < x)
208assert(gcinfo() < x)
209return i
209return i
210end
210end
211−collectgarbage("\115\116\111\112")
211+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
212if not _port then
212if not _port then
213assert(dosteps(10) < dosteps(2))
213assert(dosteps(10) < dosteps(2))
214end
214end
215assert(dosteps(20000) == 1)
215assert(dosteps(20000) == 1)
216−assert(collectgarbage("\115\116\101\112",20000) == true)
216+assert(collectgarbage("\u{73}\u{74}\u{65}\u{70}",20000) == true)
217−assert(collectgarbage("\115\116\101\112",20000) == true)
217+assert(collectgarbage("\u{73}\u{74}\u{65}\u{70}",20000) == true)
218−assert(not collectgarbage("\105\115\114\117\110\110\105\110\103"))
218+assert(not collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
219−collectgarbage("\114\101\115\116\97\114\116")
219+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
220−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
220+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
221end
221end
222if not _port then
222if not _port then
223collectgarbage()
223collectgarbage()
224;
224;
225collectgarbage()
225collectgarbage()
226local x = gcinfo()
226local x = gcinfo()
227−collectgarbage("\115\116\111\112")
227+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
228repeat
228repeat
229local a = {}
229local a = {}
230until gcinfo() > 3 * x
230until gcinfo() > 3 * x
231−collectgarbage("\114\101\115\116\97\114\116")
231+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
232−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
232+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
233repeat
233repeat
234local a = {}
234local a = {}
235until gcinfo() <= x * 2
235until gcinfo() <= x * 2
236end
236end
237−print("\99\108\101\97\114\105\110\103\32\116\97\98\108\101\115")
237+print("\u{63}\u{6c}\u{65}\u{61}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}")
238local lim = 15
238local lim = 15
239local a = {}
239local a = {}
240for i = 1, lim
240for i = 1, lim
@@ -249,14 +249,14 @@ end
249for n in pairs(b)
249for n in pairs(b)
250do
250do
251a[n]=undef
251a[n]=undef
252−assert(type(n) == "\116\97\98\108\101" and next(n) == nil)
252+assert(type(n) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and next(n) == nil)
253collectgarbage()
253collectgarbage()
254end
254end
255b=nil
255b=nil
256collectgarbage()
256collectgarbage()
257for n in pairs(a)
257for n in pairs(a)
258do
258do
259−error("\99\97\110\110\111\116\32\98\101\32\104\101\114\101")
259+error("\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}")
260end
260end
261for i = 1, lim
261for i = 1, lim
262do
262do
@@ -266,10 +266,10 @@ for i = 1, lim
266do
266do
267assert(a[i] == i)
267assert(a[i] == i)
268end
268end
269−print("\119\101\97\107\32\116\97\98\108\101\115")
269+print("\u{77}\u{65}\u{61}\u{6b}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}")
270a={}
270a={}
271;
271;
272−setmetatable(a,{["\95\95\109\111\100\101"] = "\107"})
272+setmetatable(a,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}"})
273;
273;
274for i = 1, lim
274for i = 1, lim
275do
275do
@@ -281,24 +281,24 @@ a[i]=i
281end
281end
282for i = 1, lim
282for i = 1, lim
283do
283do
284−local s = string.rep("\64",i)
284+local s = string.rep("\u{40}",i)
285;
285;
286−a[s]=s .. "\35"
286+a[s]=s .. "\u{23}"
287end
287end
288collectgarbage()
288collectgarbage()
289local i = 0
289local i = 0
290for k,v in pairs(a)
290for k,v in pairs(a)
291do
291do
292−assert(k == v or k .. "\35" == v)
292+assert(k == v or k .. "\u{23}" == v)
293;
293;
294i=i + 1
294i=i + 1
295end
295end
296assert(i == 2 * lim)
296assert(i == 2 * lim)
297a={}
297a={}
298;
298;
299−setmetatable(a,{["\95\95\109\111\100\101"] = "\118"})
299+setmetatable(a,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{76}"})
300;
300;
301−a[1]=string.rep("\98",21)
301+a[1]=string.rep("\u{62}",21)
302collectgarbage()
302collectgarbage()
303assert(a[1])
303assert(a[1])
304a[1]=undef
304a[1]=undef
@@ -308,7 +308,7 @@ a[i]={}
308end
308end
309for i = 1, lim
309for i = 1, lim
310do
310do
311−a[i .. "\120"]={}
311+a[i .. "\u{78}"]={}
312end
312end
313for i = 1, lim
313for i = 1, lim
314do
314do
@@ -318,24 +318,24 @@ a[t]=t
318end
318end
319for i = 1, lim
319for i = 1, lim
320do
320do
321−a[i + lim]=i .. "\120"
321+a[i + lim]=i .. "\u{78}"
322end
322end
323collectgarbage()
323collectgarbage()
324local i = 0
324local i = 0
325for k,v in pairs(a)
325for k,v in pairs(a)
326do
326do
327−assert(k == v or k - lim .. "\120" == v)
327+assert(k == v or k - lim .. "\u{78}" == v)
328;
328;
329i=i + 1
329i=i + 1
330end
330end
331assert(i == 2 * lim)
331assert(i == 2 * lim)
332a={}
332a={}
333;
333;
334−setmetatable(a,{["\95\95\109\111\100\101"] = "\107\118"})
334+setmetatable(a,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
335;
335;
336local x,y,z = {},{},{}
336local x,y,z = {},{},{}
337a[1],a[2],a[3]=x,y,z
337a[1],a[2],a[3]=x,y,z
338−a[string.rep("\36",11)]=string.rep("\36",11)
338+a[string.rep("\u{24}",11)]=string.rep("\u{24}",11)
339for i = 4, lim
339for i = 4, lim
340do
340do
341a[i]={}
341a[i]={}
@@ -362,22 +362,22 @@ end
362assert(i == 4)
362assert(i == 4)
363x,y,z=nil
363x,y,z=nil
364collectgarbage()
364collectgarbage()
365−assert(next(a) == string.rep("\36",11))
365+assert(next(a) == string.rep("\u{24}",11))
366a={}
366a={}
367−local t = {["\120"] = 10}
367+local t = {["\u{78}"] = 10}
368−local C = setmetatable({["\107\101\121"] = t},{["\95\95\109\111\100\101"] = "\118"})
368+local C = setmetatable({["\u{6b}\u{65}\u{79}"] = t},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{76}"})
369−local C1 = setmetatable({[t] = 1},{["\95\95\109\111\100\101"] = "\107"})
369+local C1 = setmetatable({[t] = 1},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}"})
370a.x=t
370a.x=t
371−setmetatable(a,{["\95\95\103\99"] = function (u)
371+setmetatable(a,{["\u{5f}\u{5f}\u{67}\u{63}"] = function (u)
372assert(C.key == nil)
372assert(C.key == nil)
373−assert(type(next(C1)) == "\116\97\98\108\101")
373+assert(type(next(C1)) == "\u{74}\u{61}\u{62}\u{6c}\u{65}")
374end})
374end})
375a,t=nil
375a,t=nil
376collectgarbage()
376collectgarbage()
377collectgarbage()
377collectgarbage()
378assert(next(C) == nil and next(C1) == nil)
378assert(next(C) == nil and next(C1) == nil)
379C,C1=nil
379C,C1=nil
380−local mt = {["\95\95\109\111\100\101"] = "\107"}
380+local mt = {["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}"}
381a={{10},{20},{30},{40}}
381a={{10},{20},{30},{40}}
382;
382;
383setmetatable(a,mt)
383setmetatable(a,mt)
@@ -386,7 +386,7 @@ for i = 1, 100
386do
386do
387local n = {}
387local n = {}
388;
388;
389−a[n]={["\107"] = {x}}
389+a[n]={["\u{6b}"] = {x}}
390;
390;
391x=n
391x=n
392end
392end
@@ -423,7 +423,7 @@ do
423local n = {}
423local n = {}
424;
424;
425local nk = k % 10 + 1
425local nk = k % 10 + 1
426−a[a[K][nk]][n]={x,["\107"] = k}
426+a[a[K][nk]][n]={x,["\u{6b}"] = k}
427;
427;
428x=n
428x=n
429;
429;
@@ -445,17 +445,17 @@ assert(i == 100)
445K=nil
445K=nil
446GC()
446GC()
447if T then
447if T then
448−collectgarbage("\115\116\111\112")
448+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
449local u = {}
449local u = {}
450local s = {}
450local s = {}
451;
451;
452−setmetatable(s,{["\95\95\109\111\100\101"] = "\107"})
452+setmetatable(s,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}"})
453−setmetatable(u,{["\95\95\103\99"] = function (o)
453+setmetatable(u,{["\u{5f}\u{5f}\u{67}\u{63}"] = function (o)
454local i = s[o]
454local i = s[o]
455s[i]=true
455s[i]=true
456assert(not s[i - 1])
456assert(not s[i - 1])
457if i == 8 then
457if i == 8 then
458−error("\64\101\120\112\101\99\116\101\100\64")
458+error("\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{40}")
459end
459end
460end})
460end})
461for i = 6, 10
461for i = 6, 10
@@ -463,12 +463,12 @@ do
463local n = setmetatable({},getmetatable(u))
463local n = setmetatable({},getmetatable(u))
464s[n]=i
464s[n]=i
465end
465end
466−warn("\64\111\110")
466+warn("\u{40}\u{6f}\u{6e}")
467;
467;
468−warn("\64\115\116\111\114\101")
468+warn("\u{40}\u{73}\u{74}\u{6f}\u{72}\u{65}")
469collectgarbage()
469collectgarbage()
470−assert(string.find(_WARN,"\101\114\114\111\114\32\105\110\32\95\95\103\99"))
470+assert(string.find(_WARN,"\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{69}\u{6e}\u{20}\u{5f}\u{5f}\u{67}\u{63}"))
471−assert(string.match(_WARN,"\64\40\46\45\41\64") == "\101\120\112\101\99\116\101\100")
471+assert(string.match(_WARN,"\u{40}\u{28}\u{2e}\u{2d}\u{29}\u{40}") == "\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}")
472;
472;
473_WARN=false
473_WARN=false
474for i = 8, 10
474for i = 8, 10
@@ -486,23 +486,23 @@ do
486assert(s[i])
486assert(s[i])
487end
487end
488getmetatable(u).__gc=nil
488getmetatable(u).__gc=nil
489−warn("\64\110\111\114\109\97\108")
489+warn("\u{40}\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}")
490end
490end
491−print("\43")
491+print("\u{2b}")
492if T == nil then
492if T == nil then
493−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\117\115\101\114\100\97\116\97\32\71\67\32\116\101\115\116\115\32\60\60\60\10")
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}")
494else
494else
495local function newproxy
495local function newproxy
496(u)
496(u)
497return debug.setmetatable(T.newuserdata(0),debug.getmetatable(u))
497return debug.setmetatable(T.newuserdata(0),debug.getmetatable(u))
498end
498end
499−collectgarbage("\115\116\111\112")
499+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
500local u = newproxy(nil)
500local u = newproxy(nil)
501−debug.setmetatable(u,{["\95\95\103\99"] = true})
501+debug.setmetatable(u,{["\u{5f}\u{5f}\u{67}\u{63}"] = true})
502local s = 0
502local s = 0
503local a = {[u] = 0}
503local a = {[u] = 0}
504;
504;
505−setmetatable(a,{["\95\95\109\111\100\101"] = "\118\107"})
505+setmetatable(a,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{76}\u{6b}"})
506for i = 1, 10
506for i = 1, 10
507do
507do
508a[newproxy(u)]=i
508a[newproxy(u)]=i
@@ -544,18 +544,18 @@ assert(s == 11)
544collectgarbage()
544collectgarbage()
545assert(next(a) == nil)
545assert(next(a) == nil)
546end
546end
547−local u = setmetatable({},{["\95\95\103\99"] = true})
547+local u = setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = true})
548−setmetatable(getmetatable(u),{["\95\95\109\111\100\101"] = "\118"})
548+setmetatable(getmetatable(u),{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{76}"})
549getmetatable(u).__gc=function (o)
549getmetatable(u).__gc=function (o)
550os.exit(1)
550os.exit(1)
551end
551end
552u=nil
552u=nil
553collectgarbage()
553collectgarbage()
554−local u = setmetatable({},{["\95\95\103\99"] = true})
554+local u = setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = true})
555local m = getmetatable(u)
555local m = getmetatable(u)
556m.x={[{0}] = 1,[0] = {1}}
556m.x={[{0}] = 1,[0] = {1}}
557;
557;
558−setmetatable(m.x,{["\95\95\109\111\100\101"] = "\107\118"})
558+setmetatable(m.x,{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
559;
559;
560m.__gc=function (o)
560m.__gc=function (o)
561assert(next(getmetatable(o).x) == nil)
561assert(next(getmetatable(o).x) == nil)
@@ -568,48 +568,48 @@ do
568collectgarbage()
568collectgarbage()
569;
569;
570collectgarbage()
570collectgarbage()
571−local m = collectgarbage("\99\111\117\110\116")
571+local m = collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
572−local a = setmetatable({},{["\95\95\109\111\100\101"] = "\107\118"})
572+local a = setmetatable({},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
573−a[string.rep("\97",2 ^ 22)]=25
573+a[string.rep("\u{61}",2 ^ 22)]=25
574−a[string.rep("\98",2 ^ 22)]={}
574+a[string.rep("\u{62}",2 ^ 22)]={}
575a[{}]=14
575a[{}]=14
576−assert(collectgarbage("\99\111\117\110\116") > m + 2 ^ 13)
576+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") > m + 2 ^ 13)
577collectgarbage()
577collectgarbage()
578−assert(collectgarbage("\99\111\117\110\116") >= m + 2 ^ 12 and collectgarbage("\99\111\117\110\116") < m + 2 ^ 13)
578+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") >= m + 2 ^ 12 and collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") < m + 2 ^ 13)
579local k,v = next(a)
579local k,v = next(a)
580−assert(k == string.rep("\97",2 ^ 22) and v == 25)
580+assert(k == string.rep("\u{61}",2 ^ 22) and v == 25)
581assert(next(a,k) == nil)
581assert(next(a,k) == nil)
582−assert(a[string.rep("\98",2 ^ 22)] == undef)
582+assert(a[string.rep("\u{62}",2 ^ 22)] == undef)
583a[k]=undef
583a[k]=undef
584k=nil
584k=nil
585collectgarbage()
585collectgarbage()
586assert(next(a) == nil)
586assert(next(a) == nil)
587−assert(a[string.rep("\98",100)] == undef)
587+assert(a[string.rep("\u{62}",100)] == undef)
588−assert(collectgarbage("\99\111\117\110\116") <= m + 1)
588+assert(collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") <= m + 1)
589end
589end
590if T then
590if T then
591−warn("\64\115\116\111\114\101")
591+warn("\u{40}\u{73}\u{74}\u{6f}\u{72}\u{65}")
592−u=setmetatable({},{["\95\95\103\99"] = function ()
592+u=setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
593−error("\64\101\120\112\101\99\116\101\100\32\101\114\114\111\114")
593+error("\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}")
594end})
594end})
595u=nil
595u=nil
596collectgarbage()
596collectgarbage()
597−assert(string.find(_WARN,"\64\101\120\112\101\99\116\101\100\32\101\114\114\111\114"))
597+assert(string.find(_WARN,"\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}"))
598;
598;
599_WARN=false
599_WARN=false
600−warn("\64\110\111\114\109\97\108")
600+warn("\u{40}\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}")
601end
601end
602if not _soft then
602if not _soft then
603−print("\108\111\110\103\32\108\105\115\116")
603+print("\u{6c}\u{6f}\u{6e}\u{67}\u{20}\u{6c}\u{69}\u{73}\u{74}")
604local a = {}
604local a = {}
605for i = 1, 200000
605for i = 1, 200000
606do
606do
607−a={["\110\101\120\116"] = a}
607+a={["\u{6e}\u{65}\u{78}\u{74}"] = a}
608end
608end
609a=nil
609a=nil
610collectgarbage()
610collectgarbage()
611end
611end
612−print("\115\101\108\102\45\114\101\102\101\114\101\110\99\101\100\32\116\104\114\101\97\100\115")
612+print("\u{73}\u{65}\u{6c}\u{66}\u{2d}\u{72}\u{65}\u{66}\u{65}\u{72}\u{65}\u{6e}\u{63}\u{65}\u{64}\u{20}\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}\u{73}")
613local thread_id = 0
613local thread_id = 0
614local threads = {}
614local threads = {}
615local function fn
615local function fn
@@ -629,15 +629,15 @@ do
629local collected = false
629local collected = false
630collectgarbage()
630collectgarbage()
631;
631;
632−collectgarbage("\115\116\111\112")
632+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
633do
633do
634local function f
634local function f
635(param)
635(param)
636;
636;
637(function ()
637(function ()
638−assert(type(f) == "\102\117\110\99\116\105\111\110" and type(param) == "\116\104\114\101\97\100")
638+assert(type(f) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and type(param) == "\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}")
639param={param,f}
639param={param,f}
640−setmetatable(param,{["\95\95\103\99"] = function ()
640+setmetatable(param,{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
641collected=true
641collected=true
642end})
642end})
643coroutine.yield(100)
643coroutine.yield(100)
@@ -648,12 +648,12 @@ assert(coroutine.resume(co,co))
648end
648end
649collectgarbage()
649collectgarbage()
650assert(collected)
650assert(collected)
651−collectgarbage("\114\101\115\116\97\114\116")
651+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
652end
652end
653do
653do
654collectgarbage()
654collectgarbage()
655−collectgarbage("\115\116\111\112")
655+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
656−collectgarbage("\115\116\101\112",0)
656+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
657local x = gcinfo()
657local x = gcinfo()
658repeat
658repeat
659for i = 1, 1000
659for i = 1, 1000
@@ -661,61 +661,61 @@ do
661_ENV.a={}
661_ENV.a={}
662end
662end
663until gcinfo() > 2 * x
663until gcinfo() > 2 * x
664−collectgarbage("\114\101\115\116\97\114\116")
664+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
665_ENV.a=nil
665_ENV.a=nil
666end
666end
667if T then
667if T then
668local function foo
668local function foo
669()
669()
670−local a = {["\120"] = 20}
670+local a = {["\u{78}"] = 20}
671coroutine.yield(function ()
671coroutine.yield(function ()
672return a.x
672return a.x
673end)
673end)
674assert(a.x == 20)
674assert(a.x == 20)
675−a={["\120"] = 30}
675+a={["\u{78}"] = 30}
676−assert(T.gccolor(a) == "\119\104\105\116\101")
676+assert(T.gccolor(a) == "\u{77}\u{68}\u{69}\u{74}\u{65}")
677coroutine.yield(100)
677coroutine.yield(100)
678end
678end
679−local t = setmetatable({},{["\95\95\109\111\100\101"] = "\107\118"})
679+local t = setmetatable({},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
680collectgarbage()
680collectgarbage()
681;
681;
682−collectgarbage("\115\116\111\112")
682+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
683t.co=coroutine.wrap(foo)
683t.co=coroutine.wrap(foo)
684local f = t.co()
684local f = t.co()
685−T.gcstate("\97\116\111\109\105\99")
685+T.gcstate("\u{61}\u{74}\u{6f}\u{6d}\u{69}\u{63}")
686−assert(T.gcstate() == "\97\116\111\109\105\99")
686+assert(T.gcstate() == "\u{61}\u{74}\u{6f}\u{6d}\u{69}\u{63}")
687assert(t.co() == 100)
687assert(t.co() == 100)
688−assert(T.gccolor(t.co) == "\119\104\105\116\101")
688+assert(T.gccolor(t.co) == "\u{77}\u{68}\u{69}\u{74}\u{65}")
689−T.gcstate("\112\97\117\115\101")
689+T.gcstate("\u{70}\u{61}\u{75}\u{73}\u{65}")
690assert(t.co == nil and f() == 30)
690assert(t.co == nil and f() == 30)
691−collectgarbage("\114\101\115\116\97\114\116")
691+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
692local u = T.newuserdata(0,1)
692local u = T.newuserdata(0,1)
693collectgarbage()
693collectgarbage()
694−collectgarbage("\115\116\111\112")
694+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
695local a = {}
695local a = {}
696−T.gcstate("\97\116\111\109\105\99")
696+T.gcstate("\u{61}\u{74}\u{6f}\u{6d}\u{69}\u{63}")
697−T.gcstate("\115\119\101\101\112\97\108\108\103\99")
697+T.gcstate("\u{73}\u{77}\u{65}\u{65}\u{70}\u{61}\u{6c}\u{6c}\u{67}\u{63}")
698local x = {}
698local x = {}
699−assert(T.gccolor(u) == "\98\108\97\99\107")
699+assert(T.gccolor(u) == "\u{62}\u{6c}\u{61}\u{63}\u{6b}")
700−assert(T.gccolor(x) == "\119\104\105\116\101")
700+assert(T.gccolor(x) == "\u{77}\u{68}\u{69}\u{74}\u{65}")
701debug.setuservalue(u,x)
701debug.setuservalue(u,x)
702−assert(T.gccolor(u) == "\103\114\97\121")
702+assert(T.gccolor(u) == "\u{67}\u{72}\u{61}\u{79}")
703−collectgarbage("\114\101\115\116\97\114\116")
703+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
704−print("\43")
704+print("\u{2b}")
705end
705end
706if T then
706if T then
707−local debug = require("\100\101\98\117\103")
707+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
708−collectgarbage("\115\116\111\112")
708+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
709local x = T.newuserdata(0)
709local x = T.newuserdata(0)
710local y = T.newuserdata(0)
710local y = T.newuserdata(0)
711−debug.setmetatable(y,{["\95\95\103\99"] = nop})
711+debug.setmetatable(y,{["\u{5f}\u{5f}\u{67}\u{63}"] = nop})
712−debug.setmetatable(x,{["\95\95\103\99"] = nop})
712+debug.setmetatable(x,{["\u{5f}\u{5f}\u{67}\u{63}"] = nop})
713−assert(T.gccolor(y) == "\119\104\105\116\101")
713+assert(T.gccolor(y) == "\u{77}\u{68}\u{69}\u{74}\u{65}")
714T.checkmemory()
714T.checkmemory()
715−collectgarbage("\114\101\115\116\97\114\116")
715+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
716end
716end
717if T then
717if T then
718−print("\101\109\101\114\103\101\110\99\121\32\99\111\108\108\101\99\116\105\111\110\115")
718+print("\u{65}\u{6d}\u{65}\u{72}\u{67}\u{65}\u{6e}\u{63}\u{79}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}")
719collectgarbage()
719collectgarbage()
720collectgarbage()
720collectgarbage()
721T.totalmem(T.totalmem() + 200)
721T.totalmem(T.totalmem() + 200)
@@ -725,29 +725,29 @@ local a = {}
725end
725end
726T.totalmem(0)
726T.totalmem(0)
727collectgarbage()
727collectgarbage()
728−local t = T.totalmem("\116\97\98\108\101")
728+local t = T.totalmem("\u{74}\u{61}\u{62}\u{6c}\u{65}")
729local a = {{},{},{}}
729local a = {{},{},{}}
730−assert(T.totalmem("\116\97\98\108\101") == t + 4)
730+assert(T.totalmem("\u{74}\u{61}\u{62}\u{6c}\u{65}") == t + 4)
731−t=T.totalmem("\102\117\110\99\116\105\111\110")
731+t=T.totalmem("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
732a=function ()
732a=function ()
733
733
734end
734end
735−assert(T.totalmem("\102\117\110\99\116\105\111\110") == t + 1)
735+assert(T.totalmem("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}") == t + 1)
736−t=T.totalmem("\116\104\114\101\97\100")
736+t=T.totalmem("\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}")
737a=coroutine.create(function ()
737a=coroutine.create(function ()
738
738
739end)
739end)
740−assert(T.totalmem("\116\104\114\101\97\100") == t + 1)
740+assert(T.totalmem("\u{74}\u{68}\u{72}\u{65}\u{61}\u{64}") == t + 1)
741end
741end
742do
742do
743local setmetatable,assert,type,print,getmetatable = setmetatable,assert,type,print,getmetatable
743local setmetatable,assert,type,print,getmetatable = setmetatable,assert,type,print,getmetatable
744local tt = {}
744local tt = {}
745tt.__gc=function (o)
745tt.__gc=function (o)
746assert(getmetatable(o) == tt)
746assert(getmetatable(o) == tt)
747−local a = "\120\117\120\117" .. (10 + 3) .. "\106\111\97\111",{}
747+local a = "\u{78}\u{75}\u{78}\u{75}" .. (10 + 3) .. "\u{6a}\u{6f}\u{61}\u{6f}",{}
748___Glob=o
748___Glob=o
749setmetatable({},tt)
749setmetatable({},tt)
750−print("\62\62\62\32\99\108\111\115\105\110\103\32\115\116\97\116\101\32" .. "\60\60\60\10")
750+print("\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}")
751end
751end
752local u = setmetatable({},tt)
752local u = setmetatable({},tt)
753___Glob={u}
753___Glob={u}
@@ -756,35 +756,35 @@ if T then
756local error,assert,find,warn = error,assert,string.find,warn
756local error,assert,find,warn = error,assert,string.find,warn
757local n = 0
757local n = 0
758local lastmsg
758local lastmsg
759−local mt = {["\95\95\103\99"] = function (o)
759+local mt = {["\u{5f}\u{5f}\u{67}\u{63}"] = function (o)
760n=n + 1
760n=n + 1
761assert(n == o[1])
761assert(n == o[1])
762if n == 1 then
762if n == 1 then
763_WARN=false
763_WARN=false
764elseif n == 2 then
764elseif n == 2 then
765−assert(find(_WARN,"\64\101\120\112\101\99\116\101\100\32\119\97\114\110\105\110\103"))
765+assert(find(_WARN,"\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}"))
766lastmsg=_WARN
766lastmsg=_WARN
767else
767else
768assert(lastmsg == _WARN)
768assert(lastmsg == _WARN)
769end
769end
770−warn("\64\115\116\111\114\101")
770+warn("\u{40}\u{73}\u{74}\u{6f}\u{72}\u{65}")
771;
771;
772_WARN=false
772_WARN=false
773−error("\64\101\120\112\101\99\116\101\100\32\119\97\114\110\105\110\103")
773+error("\u{40}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}")
774end}
774end}
775for i = 10, 1, - 1
775for i = 10, 1, - 1
776do
776do
777table.insert(___Glob,setmetatable({i},mt))
777table.insert(___Glob,setmetatable({i},mt))
778end
778end
779end
779end
780−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
780+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
781do
781do
782local res = true
782local res = true
783−setmetatable({},{["\95\95\103\99"] = function ()
783+setmetatable({},{["\u{5f}\u{5f}\u{67}\u{63}"] = function ()
784res=collectgarbage()
784res=collectgarbage()
785end})
785end})
786collectgarbage()
786collectgarbage()
787assert(not res)
787assert(not res)
788end
788end
789collectgarbage(oldmode)
789collectgarbage(oldmode)
790−print("\79\75")
790+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/gengc.lua+50−50
@@ -1,18 +1,18 @@
1−print("\116\101\115\116\105\110\103\32\103\101\110\101\114\97\116\105\111\110\97\108\32\103\97\114\98\97\103\101\32\99\111\108\108\101\99\116\105\111\110")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\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{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
3+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
4collectgarbage()
4collectgarbage()
5−local oldmode = collectgarbage("\103\101\110\101\114\97\116\105\111\110\97\108")
5+local oldmode = collectgarbage("\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{61}\u{6c}")
6do
6do
7local U = {}
7local U = {}
8collectgarbage()
8collectgarbage()
9−assert(not T or T.gcage(U) == "\111\108\100")
9+assert(not T or T.gcage(U) == "\u{6f}\u{6c}\u{64}")
10−U[1]={["\120"] = {234}}
10+U[1]={["\u{78}"] = {234}}
11−assert(not T or (T.gcage(U) == "\116\111\117\99\104\101\100\49" and T.gcage(U[1]) == "\110\101\119"))
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[1]) == "\u{6e}\u{65}\u{77}"))
12−collectgarbage("\115\116\101\112",0)
12+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
13−assert(not T or (T.gcage(U) == "\116\111\117\99\104\101\100\50" and T.gcage(U[1]) == "\115\117\114\118\105\118\97\108"))
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[1]) == "\u{73}\u{75}\u{72}\u{76}\u{69}\u{76}\u{61}\u{6c}"))
14−collectgarbage("\115\116\101\112",0)
14+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
15−assert(not T or (T.gcage(U) == "\111\108\100" and T.gcage(U[1]) == "\111\108\100\49"))
15+assert(not T or (T.gcage(U) == "\u{6f}\u{6c}\u{64}" and T.gcage(U[1]) == "\u{6f}\u{6c}\u{64}\u{31}"))
16assert(U[1].x[1] == 234)
16assert(U[1].x[1] == 234)
17end
17end
18do
18do
@@ -22,13 +22,13 @@ local function foo
22end
22end
23local old = {10}
23local old = {10}
24collectgarbage()
24collectgarbage()
25−assert(not T or T.gcage(old) == "\111\108\100")
25+assert(not T or T.gcage(old) == "\u{6f}\u{6c}\u{64}")
26setmetatable(old,{})
26setmetatable(old,{})
27−assert(not T or T.gcage(getmetatable(old)) == "\111\108\100\48")
27+assert(not T or T.gcage(getmetatable(old)) == "\u{6f}\u{6c}\u{64}\u{30}")
28−collectgarbage("\115\116\101\112",0)
28+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
29−assert(not T or T.gcage(getmetatable(old)) == "\111\108\100\49")
29+assert(not T or T.gcage(getmetatable(old)) == "\u{6f}\u{6c}\u{64}\u{31}")
30−setmetatable(getmetatable(old),{["\95\95\103\99"] = foo})
30+setmetatable(getmetatable(old),{["\u{5f}\u{5f}\u{67}\u{63}"] = foo})
31−collectgarbage("\115\116\101\112",0)
31+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
32end
32end
33do
33do
34local A = {}
34local A = {}
@@ -36,19 +36,19 @@ A[1]=false
36local function gcf
36local function gcf
37(obj)
37(obj)
38A[1]=obj
38A[1]=obj
39−assert(not T or T.gcage(obj) == "\111\108\100\49")
39+assert(not T or T.gcage(obj) == "\u{6f}\u{6c}\u{64}\u{31}")
40obj=nil
40obj=nil
41−collectgarbage("\115\116\101\112",0)
41+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
42print(getmetatable(A[1]).x)
42print(getmetatable(A[1]).x)
43end
43end
44collectgarbage()
44collectgarbage()
45local obj = {}
45local obj = {}
46−collectgarbage("\115\116\101\112",0)
46+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
47−assert(not T or T.gcage(obj) == "\115\117\114\118\105\118\97\108")
47+assert(not T or T.gcage(obj) == "\u{73}\u{75}\u{72}\u{76}\u{69}\u{76}\u{61}\u{6c}")
48−setmetatable(obj,{["\95\95\103\99"] = gcf,["\120"] = "\43"})
48+setmetatable(obj,{["\u{5f}\u{5f}\u{67}\u{63}"] = gcf,["\u{78}"] = "\u{2b}"})
49−assert(not T or T.gcage(getmetatable(obj)) == "\110\101\119")
49+assert(not T or T.gcage(getmetatable(obj)) == "\u{6e}\u{65}\u{77}")
50obj=nil
50obj=nil
51−collectgarbage("\115\116\101\112",0)
51+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
52end
52end
53do
53do
54local old = {10}
54local old = {10}
@@ -62,47 +62,47 @@ x=coroutine.yield(f)
62coroutine.yield()
62coroutine.yield()
63end)
63end)
64local _,f = coroutine.resume(co)
64local _,f = coroutine.resume(co)
65−collectgarbage("\115\116\101\112",0)
65+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
66−old[1]={"\104\101\108\108\111"}
66+old[1]={"\u{68}\u{65}\u{6c}\u{6c}\u{6f}"}
67coroutine.resume(co,{123})
67coroutine.resume(co,{123})
68co=nil
68co=nil
69−collectgarbage("\115\116\101\112",0)
69+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
70−assert(f() == 123 and old[1][1] == "\104\101\108\108\111")
70+assert(f() == 123 and old[1][1] == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
71−collectgarbage("\115\116\101\112",0)
71+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
72−assert(f() == 123 and old[1][1] == "\104\101\108\108\111")
72+assert(f() == 123 and old[1][1] == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
73end
73end
74do
74do
75−local t = setmetatable({},{["\95\95\109\111\100\101"] = "\107\118"})
75+local t = setmetatable({},{["\u{5f}\u{5f}\u{6d}\u{6f}\u{64}\u{65}"] = "\u{6b}\u{76}"})
76collectgarbage()
76collectgarbage()
77−assert(not T or T.gcage(t) == "\111\108\100")
77+assert(not T or T.gcage(t) == "\u{6f}\u{6c}\u{64}")
78t[1]={10}
78t[1]={10}
79−assert(not T or (T.gcage(t) == "\116\111\117\99\104\101\100\49" and T.gccolor(t) == "\103\114\97\121"))
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}"))
80−collectgarbage("\115\116\101\112",0)
80+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
81−assert(not T or (T.gcage(t) == "\116\111\117\99\104\101\100\50" and T.gccolor(t) == "\98\108\97\99\107"))
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}"))
82−collectgarbage("\115\116\101\112",0)
82+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
83−assert(not T or T.gcage(t) == "\111\108\100")
83+assert(not T or T.gcage(t) == "\u{6f}\u{6c}\u{64}")
84t[1]={10}
84t[1]={10}
85−collectgarbage("\115\116\101\112",0)
85+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
86assert(t[1] == nil)
86assert(t[1] == nil)
87end
87end
88if T == nil then
88if T == nil then
89−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\115\111\109\101\32\103\101\110\101\114\97\116\105\111\110\97\108\32\116\101\115\116\115\32\60\60\60\10")
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}")
90−print("\79\75")
90+print("\u{4f}\u{4b}")
91return
91return
92end
92end
93do
93do
94local U = T.newuserdata(0,1)
94local U = T.newuserdata(0,1)
95collectgarbage()
95collectgarbage()
96−assert(T.gcage(U) == "\111\108\100")
96+assert(T.gcage(U) == "\u{6f}\u{6c}\u{64}")
97−debug.setuservalue(U,{["\120"] = {234}})
97+debug.setuservalue(U,{["\u{78}"] = {234}})
98−assert(T.gcage(U) == "\116\111\117\99\104\101\100\49" and T.gcage(debug.getuservalue(U)) == "\110\101\119")
98+assert(T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{31}" and T.gcage(debug.getuservalue(U)) == "\u{6e}\u{65}\u{77}")
99−collectgarbage("\115\116\101\112",0)
99+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
100−assert(T.gcage(U) == "\116\111\117\99\104\101\100\50" and T.gcage(debug.getuservalue(U)) == "\115\117\114\118\105\118\97\108")
100+assert(T.gcage(U) == "\u{74}\u{6f}\u{75}\u{63}\u{68}\u{65}\u{64}\u{32}" and T.gcage(debug.getuservalue(U)) == "\u{73}\u{75}\u{72}\u{76}\u{69}\u{76}\u{61}\u{6c}")
101−collectgarbage("\115\116\101\112",0)
101+collectgarbage("\u{73}\u{74}\u{65}\u{70}",0)
102−assert(T.gcage(U) == "\111\108\100" and T.gcage(debug.getuservalue(U)) == "\111\108\100\49")
102+assert(T.gcage(U) == "\u{6f}\u{6c}\u{64}" and T.gcage(debug.getuservalue(U)) == "\u{6f}\u{6c}\u{64}\u{31}")
103assert(debug.getuservalue(U).x[1] == 234)
103assert(debug.getuservalue(U).x[1] == 234)
104end
104end
105−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
105+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
106−assert(collectgarbage("\105\115\114\117\110\110\105\110\103"))
106+assert(collectgarbage("\u{69}\u{73}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}"))
107collectgarbage(oldmode)
107collectgarbage(oldmode)
108−print("\79\75")
108+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/goto.lua+25−25
@@ -4,15 +4,15 @@ local function errmsg
4local st,msg = load(code)
4local st,msg = load(code)
5assert(not st and string.find(msg,m))
5assert(not st and string.find(msg,m))
6end
6end
7−errmsg("\32\103\111\116\111\32\108\49\59\32\100\111\32\58\58\108\49\58\58\32\101\110\100\32","\108\97\98\101\108\32\39\108\49\39")
7+errmsg("\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{3b}\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
8−errmsg("\32\100\111\32\58\58\108\49\58\58\32\101\110\100\32\103\111\116\111\32\108\49\59\32","\108\97\98\101\108\32\39\108\49\39")
8+errmsg("\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{3b}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
9−errmsg("\32\58\58\108\49\58\58\32\58\58\108\49\58\58\32","\108\97\98\101\108\32\39\108\49\39")
9+errmsg("\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
10−errmsg("\32\58\58\108\49\58\58\32\100\111\32\58\58\108\49\58\58\32\101\110\100","\108\97\98\101\108\32\39\108\49\39")
10+errmsg("\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
11−errmsg("\32\103\111\116\111\32\108\49\59\32\108\111\99\97\108\32\97\97\32\58\58\108\49\58\58\32\58\58\108\50\58\58\32\112\114\105\110\116\40\51\41\32","\108\111\99\97\108\32\39\97\97\39")
11+errmsg("\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{3b}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{3a}\u{3a}\u{6c}\u{32}\u{3a}\u{3a}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}\u{20}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{27}")
12−errmsg("\100\111\32\108\111\99\97\108\32\98\98\44\32\99\99\59\32\103\111\116\111\32\108\49\59\32\101\110\100\10\108\111\99\97\108\32\97\97\10\58\58\108\49\58\58\32\112\114\105\110\116\40\51\41\10","\108\111\99\97\108\32\39\97\97\39")
12+errmsg("\u{64}\u{6f}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{62}\u{2c}\u{20}\u{63}\u{63}\u{3b}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{3b}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{61}\u{a}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}\u{a}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{61}\u{61}\u{27}")
13−errmsg("\32\100\111\32\58\58\108\49\58\58\32\101\110\100\32\103\111\116\111\32\108\49\32","\108\97\98\101\108\32\39\108\49\39")
13+errmsg("\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
14−errmsg("\32\103\111\116\111\32\108\49\32\100\111\32\58\58\108\49\58\58\32\101\110\100\32","\108\97\98\101\108\32\39\108\49\39")
14+errmsg("\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{31}\u{20}\u{64}\u{6f}\u{20}\u{3a}\u{3a}\u{6c}\u{31}\u{3a}\u{3a}\u{20}\u{65}\u{6e}\u{64}\u{20}","\u{6c}\u{61}\u{62}\u{65}\u{6c}\u{20}\u{27}\u{6c}\u{31}\u{27}")
15−errmsg("\32\32\114\101\112\101\97\116\10\32\32\32\32\105\102\32\120\32\116\104\101\110\32\103\111\116\111\32\99\111\110\116\32\101\110\100\10\32\32\32\32\108\111\99\97\108\32\120\117\120\117\32\61\32\49\48\10\32\32\32\32\58\58\99\111\110\116\58\58\10\32\32\117\110\116\105\108\32\120\117\120\117\32\60\32\120\10","\108\111\99\97\108\32\39\120\117\120\117\39")
15+errmsg("\u{20}\u{20}\u{72}\u{65}\u{70}\u{65}\u{61}\u{74}\u{a}\u{20}\u{20}\u{20}\u{20}\u{69}\u{66}\u{20}\u{78}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{75}\u{78}\u{75}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{63}\u{6f}\u{6e}\u{74}\u{3a}\u{3a}\u{a}\u{20}\u{20}\u{75}\u{6e}\u{74}\u{69}\u{6c}\u{20}\u{78}\u{75}\u{78}\u{75}\u{20}\u{3c}\u{20}\u{78}\u{a}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{27}\u{78}\u{75}\u{78}\u{75}\u{27}")
16local x
16local x
17do
17do
18local y = 12
18local y = 12
@@ -30,8 +30,8 @@ end
30::l3_1::
30::l3_1::
31assert(x == 13)
31assert(x == 13)
32do
32do
33−local prog = "\32\32\100\111\10\32\32\32\32\108\111\99\97\108\32\97\32\61\32\49\10\32\32\32\32\103\111\116\111\32\108\37\115\97\59\32\97\32\61\32\97\32\43\32\49\10\32\32\32\58\58\108\37\115\97\58\58\32\97\32\61\32\97\32\43\32\49\48\10\32\32\32\32\103\111\116\111\32\108\37\115\98\59\32\97\32\61\32\97\32\43\32\50\10\32\32\32\58\58\108\37\115\98\58\58\32\97\32\61\32\97\32\43\32\50\48\10\32\32\32\32\114\101\116\117\114\110\32\97\10\32\32\101\110\100\10\32\32"
33+local prog = "\u{20}\u{20}\u{64}\u{6f}\u{a}\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\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{6c}\u{25}\u{73}\u{61}\u{3b}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{6c}\u{25}\u{73}\u{61}\u{3a}\u{3a}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{67}\u{6f}\u{74}\u{6f}\u{20}\u{6c}\u{25}\u{73}\u{62}\u{3b}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{32}\u{a}\u{20}\u{20}\u{20}\u{3a}\u{3a}\u{6c}\u{25}\u{73}\u{62}\u{3a}\u{3a}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{32}\u{30}\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{61}\u{a}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}"
34−local label = string.rep("\48\49\50\51\52\53\54\55\56\57",40)
34+local label = string.rep("\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",40)
35prog=string.format(prog,label,label,label,label)
35prog=string.format(prog,label,label,label,label)
36assert(assert(load(prog))() == 31)
36assert(assert(load(prog))() == 31)
37end
37end
@@ -56,7 +56,7 @@ end
56assert(x == 13)
56assert(x == 13)
57if print then
57if print then
58goto l1
58goto l1
59−error("\115\104\111\117\108\100\32\110\111\116\32\98\101\32\104\101\114\101")
59+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}")
60goto l2
60goto l2
61local x
61local x
62::l1::
62::l1::
@@ -146,7 +146,7 @@ goto c
146goto b
146goto b
147end
147end
148::escape::
148::escape::
149−local debug = require("\100\101\98\117\103")
149+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
150local function foo
150local function foo
151()
151()
152local t = {}
152local t = {}
@@ -213,14 +213,14 @@ local function testG
213(a)
213(a)
214if a == 1 then
214if a == 1 then
215goto l1
215goto l1
216−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
216+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
217elseif a == 2 then
217elseif a == 2 then
218goto l2
218goto l2
219elseif a == 3 then
219elseif a == 3 then
220goto l3
220goto l3
221elseif a == 4 then
221elseif a == 4 then
222goto l1
222goto l1
223−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
223+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
224::l1::
224::l1::
225a=a + 1
225a=a + 1
226else
226else
@@ -229,10 +229,10 @@ goto l4
229a=a * 2
229a=a * 2
230;
230;
231goto l4b
231goto l4b
232−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
232+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
233::l4::
233::l4::
234goto l4a
234goto l4a
235−error("\115\104\111\117\108\100\32\110\101\118\101\114\32\98\101\32\104\101\114\101\33")
235+error("\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{65}\u{76}\u{65}\u{72}\u{20}\u{62}\u{65}\u{20}\u{68}\u{65}\u{72}\u{65}\u{21}")
236::l4b::
236::l4b::
237end
237end
238do
238do
@@ -240,18 +240,18 @@ return a
240end
240end
241::l2::
241::l2::
242do
242do
243−return "\50"
243+return "\u{32}"
244end
244end
245::l3::
245::l3::
246do
246do
247−return "\51"
247+return "\u{33}"
248end
248end
249::l1::
249::l1::
250−return "\49"
250+return "\u{31}"
251end
251end
252−assert(testG(1) == "\49")
252+assert(testG(1) == "\u{31}")
253−assert(testG(2) == "\50")
253+assert(testG(2) == "\u{32}")
254−assert(testG(3) == "\51")
254+assert(testG(3) == "\u{33}")
255assert(testG(4) == 5)
255assert(testG(4) == 5)
256assert(testG(5) == 10)
256assert(testG(5) == 10)
257do
257do
@@ -261,7 +261,7 @@ goto L1
261goto L3
261goto L3
262::L1::
262::L1::
263do
263do
264−local a <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
264+local a <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
265X=true
265X=true
266end})
266end})
267assert(X == nil)
267assert(X == nil)
@@ -272,4 +272,4 @@ end
272::L3::
272::L3::
273assert(X == true)
273assert(X == true)
274end
274end
275−print("\79\75")
275+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/heavy.lua+47−47
@@ -1,18 +1,18 @@
1local function teststring
1local function teststring
2()
2()
3−print("\99\114\101\97\116\105\110\103\32\97\32\115\116\114\105\110\103\32\116\111\111\32\108\111\110\103")
3+print("\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}")
4do
4do
5−local a = "\120"
5+local a = "\u{78}"
6local st,msg = pcall(function ()
6local st,msg = pcall(function ()
7while true do
7while true do
8a=a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a
8a=a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a .. a
9−print(string.format("\115\116\114\105\110\103\32\119\105\116\104\32\37\100\32\98\121\116\101\115",# a))
9+print(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))
10end
10end
11end)
11end)
12−assert(not st and (string.find(msg,"\115\116\114\105\110\103\32\108\101\110\103\116\104\32\111\118\101\114\102\108\111\119") or string.find(msg,"\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")))
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}")))
13−print("\115\116\114\105\110\103\32\108\101\110\103\116\104\32\111\118\101\114\102\108\111\119\32\119\105\116\104\32" .. # a * 100)
13+print("\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 * 100)
14end
14end
15−print("\43")
15+print("\u{2b}")
16end
16end
17local function loadrep
17local function loadrep
18(x,what)
18(x,what)
@@ -23,46 +23,46 @@ local function f
23()
23()
24count=count + p
24count=count + p
25if count % (128 * p) == 0 then
25if count % (128 * p) == 0 then
26−io.stderr:write("\40",count // 2 ^ 20,"\32\77\41")
26+io.stderr:write("\u{28}",count // 2 ^ 20,"\u{20}\u{4d}\u{29}")
27end
27end
28return s
28return s
29end
29end
30−local st,msg = load(f,"\61\98\105\103")
30+local st,msg = load(f,"\u{3d}\u{62}\u{69}\u{67}")
31−print("\10\109\101\109\111\114\121\58\32",collectgarbage("\99\111\117\110\116") * 1024)
31+print("\u{a}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}\u{20}",collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 1024)
32−msg=string.match(msg,"\94\91\94\10\93\43")
32+msg=string.match(msg,"\u{5e}\u{5b}\u{5e}\u{a}\u{5d}\u{2b}")
33−print(string.format("\116\111\116\97\108\58\32\48\120\37\120\32\37\115\32\40\39\37\115\39\41",count,what,msg))
33+print(string.format("\u{74}\u{6f}\u{74}\u{61}\u{6c}\u{3a}\u{20}\u{30}\u{78}\u{25}\u{78}\u{20}\u{25}\u{73}\u{20}\u{28}\u{27}\u{25}\u{73}\u{27}\u{29}",count,what,msg))
34return st,msg
34return st,msg
35end
35end
36function controlstruct()
36function controlstruct()
37−print("\99\111\110\116\114\111\108\32\115\116\114\117\99\116\117\114\101\32\116\111\111\32\108\111\110\103")
37+print("\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}")
38local lim = ((1 << 24) - 2) // 3
38local lim = ((1 << 24) - 2) // 3
39−local s = string.rep("\97\32\61\32\97\32\43\32\49\10",lim)
39+local s = string.rep("\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{a}",lim)
40−s="\119\104\105\108\101\32\116\114\117\101\32\100\111\32" .. s .. "\101\110\100"
40+s="\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}"
41assert(load(s))
41assert(load(s))
42−print("\111\107\32\119\105\116\104\32" .. lim .. "\32\108\105\110\101\115")
42+print("\u{6f}\u{6b}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}" .. lim .. "\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{73}")
43lim=lim + 3
43lim=lim + 3
44−s=string.rep("\97\32\61\32\97\32\43\32\49\10",lim)
44+s=string.rep("\u{61}\u{20}\u{3d}\u{20}\u{61}\u{20}\u{2b}\u{20}\u{31}\u{a}",lim)
45−s="\119\104\105\108\101\32\116\114\117\101\32\100\111\32" .. s .. "\101\110\100"
45+s="\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}"
46local st,msg = load(s)
46local st,msg = load(s)
47−assert(not st and string.find(msg,"\116\111\111\32\108\111\110\103"))
47+assert(not st and string.find(msg,"\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}"))
48print(msg)
48print(msg)
49end
49end
50function manylines()
50function manylines()
51−print("\108\111\97\100\105\110\103\32\99\104\117\110\107\32\119\105\116\104\32\116\111\111\32\109\97\110\121\32\108\105\110\101\115")
51+print("\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{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{73}")
52−local st,msg = loadrep("\10","\108\105\110\101\115")
52+local st,msg = loadrep("\u{a}","\u{6c}\u{69}\u{6e}\u{65}\u{73}")
53−assert(not st and string.find(msg,"\116\111\111\32\109\97\110\121\32\108\105\110\101\115"))
53+assert(not st and string.find(msg,"\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{73}"))
54−print("\43")
54+print("\u{2b}")
55end
55end
56function hugeid()
56function hugeid()
57−print("\108\111\97\100\105\110\103\32\99\104\117\110\107\32\119\105\116\104\32\104\117\103\101\32\105\100\101\110\116\105\102\105\101\114")
57+print("\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}")
58−local st,msg = loadrep("\97","\99\104\97\114\115")
58+local st,msg = loadrep("\u{61}","\u{63}\u{68}\u{61}\u{72}\u{73}")
59−assert(not st and (string.find(msg,"\108\101\120\105\99\97\108\32\101\108\101\109\101\110\116\32\116\111\111\32\108\111\110\103") or string.find(msg,"\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")))
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}")))
60−print("\43")
60+print("\u{2b}")
61end
61end
62function toomanyinst()
62function toomanyinst()
63−print("\108\111\97\100\105\110\103\32\99\104\117\110\107\32\119\105\116\104\32\116\111\111\32\109\97\110\121\32\105\110\115\116\114\117\99\116\105\111\110\115")
63+print("\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{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}\u{20}\u{69}\u{6e}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}")
64−local st,msg = loadrep("\97\32\61\32\49\48\59\32","\105\110\115\116\114\117\99\116\105\111\110\115")
64+local st,msg = loadrep("\u{61}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{20}","\u{69}\u{6e}\u{73}\u{74}\u{72}\u{75}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{73}")
65−print("\43")
65+print("\u{2b}")
66end
66end
67local function loadrepfunc
67local function loadrepfunc
68(prefix,f)
68(prefix,f)
@@ -74,19 +74,19 @@ if count == 0 then
74return prefix
74return prefix
75else
75else
76if count % (1048576) == 0 then
76if count % (1048576) == 0 then
77−io.stderr:write("\40",count // 2 ^ 20,"\32\77\41")
77+io.stderr:write("\u{28}",count // 2 ^ 20,"\u{20}\u{4d}\u{29}")
78end
78end
79return f(count)
79return f(count)
80end
80end
81end
81end
82−local st,msg = load(aux,"\107")
82+local st,msg = load(aux,"\u{6b}")
83−print("\10\109\101\109\111\114\121\58\32",collectgarbage("\99\111\117\110\116") * 1024)
83+print("\u{a}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}\u{20}",collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 1024)
84−msg=string.match(msg,"\94\91\94\10\93\43")
84+msg=string.match(msg,"\u{5e}\u{5b}\u{5e}\u{a}\u{5d}\u{2b}")
85−print("\101\120\112\101\99\116\101\100\32\101\114\114\111\114\58\32",msg)
85+print("\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{3a}\u{20}",msg)
86end
86end
87function toomanyconst()
87function toomanyconst()
88−print("\108\111\97\100\105\110\103\32\102\117\110\99\116\105\111\110\32\119\105\116\104\32\116\111\111\32\109\97\110\121\32\99\111\110\115\116\97\110\116\115")
88+print("\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}")
89−loadrepfunc("\102\117\110\99\116\105\111\110\32\102\111\111\32\40\41\32\114\101\116\117\114\110\32\123\48\44",function (n)
89+loadrepfunc("\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)
90return string.char(34,((n // 128 ^ 0) & 127) + 128,((n // 128 ^ 1) & 127) + 128,((n // 128 ^ 2) & 127) + 128,((n // 128 ^ 3) & 127) + 128,((n // 128 ^ 4) & 127) + 128,34,44)
90return string.char(34,((n // 128 ^ 0) & 127) + 128,((n // 128 ^ 1) & 127) + 128,((n // 128 ^ 2) & 127) + 128,((n // 128 ^ 3) & 127) + 128,((n // 128 ^ 4) & 127) + 128,34,44)
91end)
91end)
92end
92end
@@ -96,16 +96,16 @@ local st,msg = pcall(function ()
96for i = 1, math.huge
96for i = 1, math.huge
97do
97do
98if i % (1048576) == 0 then
98if i % (1048576) == 0 then
99−io.stderr:write("\40",i // 2 ^ 20,"\32\77\41")
99+io.stderr:write("\u{28}",i // 2 ^ 20,"\u{20}\u{4d}\u{29}")
100end
100end
101−a[i]=string.pack("\73",i)
101+a[i]=string.pack("\u{49}",i)
102end
102end
103end)
103end)
104local size = # a
104local size = # a
105−a=collectgarbage("\99\111\117\110\116")
105+a=collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}")
106−print("\10\109\101\109\111\114\121\58",a * 1024)
106+print("\u{a}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}",a * 1024)
107−print("\101\120\112\101\99\116\101\100\32\101\114\114\111\114\58",msg)
107+print("\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{3a}",msg)
108−print("\115\105\122\101\58",size)
108+print("\u{73}\u{69}\u{7a}\u{65}\u{3a}",size)
109end
109end
110function toomanyidx()
110function toomanyidx()
111local a = {}
111local a = {}
@@ -113,14 +113,14 @@ local st,msg = pcall(function ()
113for i = 1, math.huge
113for i = 1, math.huge
114do
114do
115if i % (1048576) == 0 then
115if i % (1048576) == 0 then
116−io.stderr:write("\40",i // 2 ^ 20,"\32\77\41")
116+io.stderr:write("\u{28}",i // 2 ^ 20,"\u{20}\u{4d}\u{29}")
117end
117end
118a[i]=i
118a[i]=i
119end
119end
120end)
120end)
121−print("\10\109\101\109\111\114\121\58\32",collectgarbage("\99\111\117\110\116") * 1024)
121+print("\u{a}\u{6d}\u{65}\u{6d}\u{6f}\u{72}\u{79}\u{3a}\u{20}",collectgarbage("\u{63}\u{6f}\u{75}\u{6e}\u{74}") * 1024)
122−print("\101\120\112\101\99\116\101\100\32\101\114\114\111\114\58\32",msg)
122+print("\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{3a}\u{20}",msg)
123−print("\115\105\122\101\58",# a)
123+print("\u{73}\u{69}\u{7a}\u{65}\u{3a}",# a)
124end
124end
125toomanyidx()
125toomanyidx()
126−print("\79\75")
126+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/literals.lua+126−126
@@ -1,101 +1,101 @@
1−print("\116\101\115\116\105\110\103\32\115\99\97\110\110\101\114")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{63}\u{61}\u{6e}\u{6e}\u{65}\u{72}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3local function dostring
3local function dostring
4(x)
4(x)
5return assert(load(x),"")()
5return assert(load(x),"")()
6end
6end
7−dostring("\120\32\11\12\32\61\32\9\13\32\39\97\97\39\32\11\12\12")
7+dostring("\u{78}\u{20}\u{b}\u{c}\u{20}\u{3d}\u{20}\u{9}\u{d}\u{20}\u{27}\u{61}\u{0}\u{61}\u{27}\u{20}\u{b}\u{c}\u{c}")
8−assert(x == "\97\97" and string.len(x) == 3)
8+assert(x == "\u{61}\u{0}\u{61}" and string.len(x) == 3)
9_G.x=nil
9_G.x=nil
10−assert("\10\34\39\92" == "\10\34\39\92")
10+assert("\u{a}\u{22}\u{27}\u{5c}" == "\u{a}\u{22}\u{27}\u{5c}")
11−assert(string.find("\7\8\12\10\13\9\11","\94\37\99\37\99\37\99\37\99\37\99\37\99\37\99\36"))
11+assert(string.find("\u{7}\u{8}\u{c}\u{a}\u{d}\u{9}\u{b}","\u{5e}\u{25}\u{63}\u{25}\u{63}\u{25}\u{63}\u{25}\u{63}\u{25}\u{63}\u{25}\u{63}\u{25}\u{63}\u{24}"))
12−assert("\99\49\50" == "\99\49\50")
12+assert("\u{63}\u{31}\u{32}" == "\u{63}\u{31}\u{32}")
13−assert("\99\97\98" == "\99\97\98")
13+assert("\u{63}\u{61}\u{62}" == "\u{63}\u{61}\u{62}")
14−assert("\99" == "\99")
14+assert("\u{63}" == "\u{63}")
15−assert("\99\10" == "\99\10")
15+assert("\u{63}\u{a}" == "\u{63}\u{a}")
16−assert("\97\108\111" == "" .. "" .. "\97\108\111")
16+assert("\u{0}\u{0}\u{0}\u{61}\u{6c}\u{6f}" == "\u{0}" .. "\u{0}\u{0}" .. "\u{61}\u{6c}\u{6f}")
17−assert(10 .. 20 .. - 30 == "\49\48\50\48\45\51\48")
17+assert(10 .. 20 .. - 30 == "\u{31}\u{30}\u{32}\u{30}\u{2d}\u{33}\u{30}")
18−assert("\5\16\31\60\255\232" == "\5\16\31\60\255\232")
18+assert("\u{0}\u{5}\u{10}\u{1f}\u{3c}\u{ff}\u{e8}" == "\u{0}\u{5}\u{10}\u{1f}\u{3c}\u{ff}\u{e8}")
19local function lexstring
19local function lexstring
20(x,y,n)
20(x,y,n)
21−local f = assert(load("\114\101\116\117\114\110\32" .. x .. "\44\32\114\101\113\117\105\114\101\34\100\101\98\117\103\34\46\103\101\116\105\110\102\111\40\49\41\46\99\117\114\114\101\110\116\108\105\110\101",""))
21+local f = assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. x .. "\u{2c}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{22}\u{64}\u{65}\u{62}\u{75}\u{67}\u{22}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{31}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}",""))
22local s,l = f()
22local s,l = f()
23assert(s == y and l == n)
23assert(s == y and l == n)
24end
24end
25−lexstring("\39\97\98\99\92\122\32\32\10\32\32\32\101\102\103\39","\97\98\99\101\102\103",2)
25+lexstring("\u{27}\u{61}\u{62}\u{63}\u{5c}\u{7a}\u{20}\u{20}\u{a}\u{20}\u{20}\u{20}\u{65}\u{66}\u{67}\u{27}","\u{61}\u{62}\u{63}\u{65}\u{66}\u{67}",2)
26−lexstring("\39\97\98\99\92\122\32\32\10\10\10\39","\97\98\99",4)
26+lexstring("\u{27}\u{61}\u{62}\u{63}\u{5c}\u{7a}\u{20}\u{20}\u{a}\u{a}\u{a}\u{27}","\u{61}\u{62}\u{63}",4)
27−lexstring("\39\92\122\32\32\10\9\12\11\10\39","",3)
27+lexstring("\u{27}\u{5c}\u{7a}\u{20}\u{20}\u{a}\u{9}\u{c}\u{b}\u{a}\u{27}","",3)
28−lexstring("\91\91\10\97\108\111\10\97\108\111\10\10\93\93","\97\108\111\10\97\108\111\10\10",5)
28+lexstring("\u{5b}\u{5b}\u{a}\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}\u{a}\u{a}\u{5d}\u{5d}","\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}\u{a}\u{a}",5)
29−lexstring("\91\91\10\97\108\111\13\97\108\111\10\10\93\93","\97\108\111\10\97\108\111\10\10",5)
29+lexstring("\u{5b}\u{5b}\u{a}\u{61}\u{6c}\u{6f}\u{d}\u{61}\u{6c}\u{6f}\u{a}\u{a}\u{5d}\u{5d}","\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}\u{a}\u{a}",5)
30−lexstring("\91\91\10\97\108\111\13\97\108\111\13\10\93\93","\97\108\111\10\97\108\111\10",4)
30+lexstring("\u{5b}\u{5b}\u{a}\u{61}\u{6c}\u{6f}\u{d}\u{61}\u{6c}\u{6f}\u{d}\u{a}\u{5d}\u{5d}","\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}\u{a}",4)
31−lexstring("\91\91\13\97\108\111\10\13\97\108\111\13\10\93\93","\97\108\111\10\97\108\111\10",4)
31+lexstring("\u{5b}\u{5b}\u{d}\u{61}\u{6c}\u{6f}\u{a}\u{d}\u{61}\u{6c}\u{6f}\u{d}\u{a}\u{5d}\u{5d}","\u{61}\u{6c}\u{6f}\u{a}\u{61}\u{6c}\u{6f}\u{a}",4)
32−lexstring("\91\91\97\108\111\93\10\93\97\108\111\93\93","\97\108\111\93\10\93\97\108\111",2)
32+lexstring("\u{5b}\u{5b}\u{61}\u{6c}\u{6f}\u{5d}\u{a}\u{5d}\u{61}\u{6c}\u{6f}\u{5d}\u{5d}","\u{61}\u{6c}\u{6f}\u{5d}\u{a}\u{5d}\u{61}\u{6c}\u{6f}",2)
33−assert("\97\98\99\100\101\102\103\104\105" == "\97\98\99\100\101\102\103\104\105")
33+assert("\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}" == "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}")
34−assert("" == string.char(0,0,0,0))
34+assert("\u{0}\u{0}\u{0}\u{0}" == string.char(0,0,0,0))
35−assert("\127" == "\127")
35+assert("\u{0}\u{7f}" == "\u{0}\u{7f}")
36−assert("\128\255\7" == "\194\128\223\191")
36+assert("\u{80}\u{7ff}" == "\u{c2}\u{80}\u{df}\u{bf}")
37−assert("\0\8\255\255" == "\224\160\128\239\191\191")
37+assert("\u{800}\u{ffff}" == "\u{e0}\u{a0}\u{80}\u{ef}\u{bf}\u{bf}")
38−assert("\0\0\1\255\255\31" == "\240\144\128\128\247\191\191\191")
38+assert("\u{10000}\u{1fffff}" == "\u{f0}\u{90}\u{80}\u{80}\u{f7}\u{bf}\u{bf}\u{bf}")
39−assert("\0\0\32\255\255\255\3" == "\248\136\128\128\128\251\191\191\191\191")
39+assert("\u{200000}\u{3ffffff}" == "\u{f8}\u{88}\u{80}\u{80}\u{80}\u{fb}\u{bf}\u{bf}\u{bf}\u{bf}")
40−assert("\0\0\0\4\255\255\255\127" == "\252\132\128\128\128\128\253\191\191\191\191\191")
40+assert("\u{4000000}\u{7fffffff}" == "\u{fc}\u{84}\u{80}\u{80}\u{80}\u{80}\u{fd}\u{bf}\u{bf}\u{bf}\u{bf}\u{bf}")
41local function lexerror
41local function lexerror
42(s,err)
42(s,err)
43−local st,msg = load("\114\101\116\117\114\110\32" .. s,"")
43+local st,msg = load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. s,"")
44−if err ~= "\60\101\111\102\62" then
44+if err ~= "\u{3c}\u{65}\u{6f}\u{66}\u{3e}" then
45−err=err .. "\39"
45+err=err .. "\u{27}"
46−end
46+end
47−assert(not st and string.find(msg,"\110\101\97\114\32\46\45" .. err))
47+assert(not st and string.find(msg,"\u{6e}\u{65}\u{61}\u{72}\u{20}\u{2e}\u{2d}" .. err))
48−end
48+end
49−lexerror("\34\97\98\99\92\120\34","\92\120\34")
49+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{78}\u{22}","\u{5c}\u{78}\u{22}")
50−lexerror("\34\97\98\99\92\120","\92\120")
50+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{78}","\u{5c}\u{78}")
51−lexerror("\34\92\120","\92\120")
51+lexerror("\u{22}\u{5c}\u{78}","\u{5c}\u{78}")
52−lexerror("\34\92\120\53\34","\92\120\53\34")
52+lexerror("\u{22}\u{5c}\u{78}\u{35}\u{22}","\u{5c}\u{78}\u{35}\u{22}")
53−lexerror("\34\92\120\53","\92\120\53")
53+lexerror("\u{22}\u{5c}\u{78}\u{35}","\u{5c}\u{78}\u{35}")
54−lexerror("\34\92\120\114\34","\92\120\114")
54+lexerror("\u{22}\u{5c}\u{78}\u{72}\u{22}","\u{5c}\u{78}\u{72}")
55−lexerror("\34\92\120\114","\92\120\114")
55+lexerror("\u{22}\u{5c}\u{78}\u{72}","\u{5c}\u{78}\u{72}")
56−lexerror("\34\92\120\46","\92\120\46")
56+lexerror("\u{22}\u{5c}\u{78}\u{2e}","\u{5c}\u{78}\u{2e}")
57−lexerror("\34\92\120\56\37\34","\92\120\56\37\37")
57+lexerror("\u{22}\u{5c}\u{78}\u{38}\u{25}\u{22}","\u{5c}\u{78}\u{38}\u{25}\u{25}")
58−lexerror("\34\92\120\65\71","\92\120\65\71")
58+lexerror("\u{22}\u{5c}\u{78}\u{41}\u{47}","\u{5c}\u{78}\u{41}\u{47}")
59−lexerror("\34\92\103\34","\92\103")
59+lexerror("\u{22}\u{5c}\u{67}\u{22}","\u{5c}\u{67}")
60−lexerror("\34\92\103","\92\103")
60+lexerror("\u{22}\u{5c}\u{67}","\u{5c}\u{67}")
61−lexerror("\34\92\46\34","\92\37\46")
61+lexerror("\u{22}\u{5c}\u{2e}\u{22}","\u{5c}\u{25}\u{2e}")
62−lexerror("\34\92\57\57\57\34","\92\57\57\57\34")
62+lexerror("\u{22}\u{5c}\u{39}\u{39}\u{39}\u{22}","\u{5c}\u{39}\u{39}\u{39}\u{22}")
63−lexerror("\34\120\121\122\92\51\48\48\34","\92\51\48\48\34")
63+lexerror("\u{22}\u{78}\u{79}\u{7a}\u{5c}\u{33}\u{30}\u{30}\u{22}","\u{5c}\u{33}\u{30}\u{30}\u{22}")
64−lexerror("\34\32\32\32\92\50\53\54\34","\92\50\53\54\34")
64+lexerror("\u{22}\u{20}\u{20}\u{20}\u{5c}\u{32}\u{35}\u{36}\u{22}","\u{5c}\u{32}\u{35}\u{36}\u{22}")
65−lexerror("\34\97\98\99\92\117\123\49\48\48\48\48\48\48\48\48\125\34","\97\98\99\92\117\123\49\48\48\48\48\48\48\48\48")
65+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{7d}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}")
66−lexerror("\34\97\98\99\92\117\49\49\114\34","\97\98\99\92\117\49")
66+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{31}\u{31}\u{72}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{31}")
67−lexerror("\34\97\98\99\92\117\34","\97\98\99\92\117\34")
67+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{22}")
68−lexerror("\34\97\98\99\92\117\123\49\49\114\34","\97\98\99\92\117\123\49\49\114")
68+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}\u{72}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}\u{72}")
69−lexerror("\34\97\98\99\92\117\123\49\49\34","\97\98\99\92\117\123\49\49\34")
69+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}\u{22}")
70−lexerror("\34\97\98\99\92\117\123\49\49","\97\98\99\92\117\123\49\49")
70+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{31}\u{31}")
71−lexerror("\34\97\98\99\92\117\123\114\34","\97\98\99\92\117\123\114")
71+lexerror("\u{22}\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{72}\u{22}","\u{61}\u{62}\u{63}\u{5c}\u{75}\u{7b}\u{72}")
72−lexerror("\91\61\91\97\108\111\93\93","\60\101\111\102\62")
72+lexerror("\u{5b}\u{3d}\u{5b}\u{61}\u{6c}\u{6f}\u{5d}\u{5d}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
73−lexerror("\91\61\91\97\108\111\93\61","\60\101\111\102\62")
73+lexerror("\u{5b}\u{3d}\u{5b}\u{61}\u{6c}\u{6f}\u{5d}\u{3d}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
74−lexerror("\91\61\91\97\108\111\93","\60\101\111\102\62")
74+lexerror("\u{5b}\u{3d}\u{5b}\u{61}\u{6c}\u{6f}\u{5d}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
75−lexerror("\39\97\108\111","\60\101\111\102\62")
75+lexerror("\u{27}\u{61}\u{6c}\u{6f}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
76−lexerror("\39\97\108\111\32\92\122\32\32\10\10","\60\101\111\102\62")
76+lexerror("\u{27}\u{61}\u{6c}\u{6f}\u{20}\u{5c}\u{7a}\u{20}\u{20}\u{a}\u{a}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
77−lexerror("\39\97\108\111\32\92\122","\60\101\111\102\62")
77+lexerror("\u{27}\u{61}\u{6c}\u{6f}\u{20}\u{5c}\u{7a}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
78−lexerror("\39\97\108\111\32\92\57\56","\60\101\111\102\62")
78+lexerror("\u{27}\u{61}\u{6c}\u{6f}\u{20}\u{5c}\u{39}\u{38}","\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
79for i = 0, 255
79for i = 0, 255
80do
80do
81local s = string.char(i)
81local s = string.char(i)
82−assert(not string.find(s,"\91\97\45\122\65\45\90\95\93") == not load(s .. "\61\49",""))
82+assert(not string.find(s,"\u{5b}\u{61}\u{2d}\u{7a}\u{41}\u{2d}\u{5a}\u{5f}\u{5d}") == not load(s .. "\u{3d}\u{31}",""))
83−assert(not string.find(s,"\91\97\45\122\65\45\90\95\48\45\57\93") == not load("\97" .. s .. "\49\32\61\32\49",""))
83+assert(not string.find(s,"\u{5b}\u{61}\u{2d}\u{7a}\u{41}\u{2d}\u{5a}\u{5f}\u{30}\u{2d}\u{39}\u{5d}") == not load("\u{61}" .. s .. "\u{31}\u{20}\u{3d}\u{20}\u{31}",""))
84end
84end
85−local var1 = string.rep("\97",15000) .. "\49"
85+local var1 = string.rep("\u{61}",15000) .. "\u{31}"
86−local var2 = string.rep("\97",15000) .. "\50"
86+local var2 = string.rep("\u{61}",15000) .. "\u{32}"
87−local prog = string.format("\32\32\37\115\32\61\32\53\10\32\32\37\115\32\61\32\37\115\32\43\32\49\10\32\32\114\101\116\117\114\110\32\102\117\110\99\116\105\111\110\32\40\41\32\114\101\116\117\114\110\32\37\115\32\45\32\37\115\32\101\110\100\10",var1,var2,var1,var1,var2)
87+local prog = string.format("\u{20}\u{20}\u{25}\u{73}\u{20}\u{3d}\u{20}\u{35}\u{a}\u{20}\u{20}\u{25}\u{73}\u{20}\u{3d}\u{20}\u{25}\u{73}\u{20}\u{2b}\u{20}\u{31}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{73}\u{20}\u{2d}\u{20}\u{25}\u{73}\u{20}\u{65}\u{6e}\u{64}\u{a}",var1,var2,var1,var1,var2)
88local f = dostring(prog)
88local f = dostring(prog)
89assert(_G[var1] == 5 and _G[var2] == 6 and f() == - 1)
89assert(_G[var1] == 5 and _G[var2] == 6 and f() == - 1)
90_G[var1],_G[var2]=nil
90_G[var1],_G[var2]=nil
91−print("\43")
91+print("\u{2b}")
92−assert("\10\9" == "\10\9")
92+assert("\u{a}\u{9}" == "\u{a}\u{9}")
93−assert("\10\32\36\100\101\98\117\103" == "\10\32\36\100\101\98\117\103")
93+assert("\u{a}\u{20}\u{24}\u{64}\u{65}\u{62}\u{75}\u{67}" == "\u{a}\u{20}\u{24}\u{64}\u{65}\u{62}\u{75}\u{67}")
94−assert("\32\91\32" ~= "\32\93\32")
94+assert("\u{20}\u{5b}\u{20}" ~= "\u{20}\u{5d}\u{20}")
95−local b = "\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
95+local b = "\u{30}\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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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}"
96assert(string.len(b) == 960)
96assert(string.len(b) == 960)
97−prog="\112\114\105\110\116\40\39\43\39\41\10\10\108\111\99\97\108\32\97\49\32\61\32\91\91\34\116\104\105\115\32\105\115\32\97\32\39\115\116\114\105\110\103\39\32\119\105\116\104\32\115\101\118\101\114\97\108\32\39\113\117\111\116\101\115\39\34\93\93\10\108\111\99\97\108\32\97\50\32\61\32\34\39\113\117\111\116\101\115\39\34\10\10\97\115\115\101\114\116\40\115\116\114\105\110\103\46\102\105\110\100\40\97\49\44\32\97\50\41\32\61\61\32\51\52\41\10\112\114\105\110\116\40\39\43\39\41\10\10\97\49\32\61\32\91\61\61\91\116\101\109\112\32\61\32\91\91\97\110\32\97\114\98\105\116\114\97\114\121\32\118\97\108\117\101\93\93\59\32\93\61\61\93\10\97\115\115\101\114\116\40\108\111\97\100\40\97\49\41\41\40\41\10\97\115\115\101\114\116\40\116\101\109\112\32\61\61\32\39\97\110\32\97\114\98\105\116\114\97\114\121\32\118\97\108\117\101\39\41\10\95\71\46\116\101\109\112\32\61\32\110\105\108\10\45\45\32\108\111\110\103\32\115\116\114\105\110\103\115\32\45\45\10\108\111\99\97\108\32\98\32\61\32\34\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\34\10\97\115\115\101\114\116\40\115\116\114\105\110\103\46\108\101\110\40\98\41\32\61\61\32\57\54\48\41\10\112\114\105\110\116\40\39\43\39\41\10\10\108\111\99\97\108\32\97\32\61\32\91\91\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\48\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\10\93\93\10\97\115\115\101\114\116\40\115\116\114\105\110\103\46\108\101\110\40\97\41\32\61\61\32\49\56\54\51\41\10\97\115\115\101\114\116\40\115\116\114\105\110\103\46\115\117\98\40\97\44\32\49\44\32\52\48\41\32\61\61\32\115\116\114\105\110\103\46\115\117\98\40\98\44\32\49\44\32\52\48\41\41\10\120\32\61\32\49\10"
97+prog="\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{27}\u{2b}\u{27}\u{29}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{31}\u{20}\u{3d}\u{20}\u{5b}\u{5b}\u{22}\u{74}\u{68}\u{69}\u{73}\u{20}\u{69}\u{73}\u{20}\u{61}\u{20}\u{27}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{20}\u{77}\u{69}\u{74}\u{68}\u{20}\u{73}\u{65}\u{76}\u{65}\u{72}\u{61}\u{6c}\u{20}\u{27}\u{71}\u{75}\u{6f}\u{74}\u{65}\u{73}\u{27}\u{22}\u{5d}\u{5d}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{32}\u{20}\u{3d}\u{20}\u{22}\u{27}\u{71}\u{75}\u{6f}\u{74}\u{65}\u{73}\u{27}\u{22}\u{a}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{66}\u{69}\u{6e}\u{64}\u{28}\u{61}\u{31}\u{2c}\u{20}\u{61}\u{32}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{33}\u{34}\u{29}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{27}\u{2b}\u{27}\u{29}\u{a}\u{a}\u{61}\u{31}\u{20}\u{3d}\u{20}\u{5b}\u{3d}\u{3d}\u{5b}\u{74}\u{65}\u{6d}\u{70}\u{20}\u{3d}\u{20}\u{5b}\u{5b}\u{61}\u{6e}\u{20}\u{61}\u{72}\u{62}\u{69}\u{74}\u{72}\u{61}\u{72}\u{79}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{5d}\u{5d}\u{3b}\u{20}\u{5d}\u{3d}\u{3d}\u{5d}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{6c}\u{6f}\u{61}\u{64}\u{28}\u{61}\u{31}\u{29}\u{29}\u{28}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{74}\u{65}\u{6d}\u{70}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{61}\u{6e}\u{20}\u{61}\u{72}\u{62}\u{69}\u{74}\u{72}\u{61}\u{72}\u{79}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{27}\u{29}\u{a}\u{5f}\u{47}\u{2e}\u{74}\u{65}\u{6d}\u{70}\u{20}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{a}\u{2d}\u{2d}\u{20}\u{6c}\u{6f}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}\u{20}\u{2d}\u{2d}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{22}\u{30}\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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{22}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{6c}\u{65}\u{6e}\u{28}\u{62}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{39}\u{36}\u{30}\u{29}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{27}\u{2b}\u{27}\u{29}\u{a}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{5b}\u{5b}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{30}\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{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{a}\u{5d}\u{5d}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{6c}\u{65}\u{6e}\u{28}\u{61}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{31}\u{38}\u{36}\u{33}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{73}\u{75}\u{62}\u{28}\u{61}\u{2c}\u{20}\u{31}\u{2c}\u{20}\u{34}\u{30}\u{29}\u{20}\u{3d}\u{3d}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{73}\u{75}\u{62}\u{28}\u{62}\u{2c}\u{20}\u{31}\u{2c}\u{20}\u{34}\u{30}\u{29}\u{29}\u{a}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{a}"
98−print("\43")
98+print("\u{2b}")
99_G.x=nil
99_G.x=nil
100dostring(prog)
100dostring(prog)
101assert(x)
101assert(x)
@@ -103,11 +103,11 @@ _G.x=nil
103do
103do
104local function getadd
104local function getadd
105(s)
105(s)
106−return string.format("\37\112",s)
106+return string.format("\u{25}\u{70}",s)
107end
107end
108−local s1 <const> = "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
108+local s1 <const> = "\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}"
109−local s2 <const> = "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
109+local s2 <const> = "\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}"
110−local s3 = "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
110+local s3 = "\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}"
111local function foo
111local function foo
112()
112()
113return s1
113return s1
@@ -118,33 +118,33 @@ return s3
118end
118end
119local function foo2
119local function foo2
120()
120()
121−return "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
121+return "\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}"
122end
122end
123local a1 = getadd(s1)
123local a1 = getadd(s1)
124assert(a1 == getadd(s2))
124assert(a1 == getadd(s2))
125assert(a1 == getadd(foo()))
125assert(a1 == getadd(foo()))
126assert(a1 == getadd(foo1()))
126assert(a1 == getadd(foo1()))
127assert(a1 == getadd(foo2()))
127assert(a1 == getadd(foo2()))
128−local sd = "\48\49\50\51\52\53\54\55\56\57" .. "\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57"
128+local sd = "\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}"
129assert(sd == s1 and getadd(sd) ~= a1)
129assert(sd == s1 and getadd(sd) ~= a1)
130end
130end
131−prog="\108\111\99\97\108\32\97\32\61\32\49\32\32\32\32\32\32\32\32\45\45\32\97\32\99\111\109\109\101\110\116\10\108\111\99\97\108\32\98\32\61\32\50\10\10\10\120\32\61\32\91\61\91\10\104\105\10\93\61\93\10\121\32\61\32\34\92\10\104\101\108\108\111\92\114\92\110\92\10\34\10\114\101\116\117\114\110\32\114\101\113\117\105\114\101\34\100\101\98\117\103\34\46\103\101\116\105\110\102\111\40\49\41\46\99\117\114\114\101\110\116\108\105\110\101\10"
131+prog="\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{31}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{61}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{a}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{32}\u{a}\u{a}\u{a}\u{78}\u{20}\u{3d}\u{20}\u{5b}\u{3d}\u{5b}\u{a}\u{68}\u{69}\u{a}\u{5d}\u{3d}\u{5d}\u{a}\u{79}\u{20}\u{3d}\u{20}\u{22}\u{5c}\u{a}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{5c}\u{72}\u{5c}\u{6e}\u{5c}\u{a}\u{22}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{22}\u{64}\u{65}\u{62}\u{75}\u{67}\u{22}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{31}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{a}"
132−for _,n in pairs({"\10","\13","\10\13","\13\10"})
132+for _,n in pairs({"\u{a}","\u{d}","\u{a}\u{d}","\u{d}\u{a}"})
133do
133do
134−local prog,nn = string.gsub(prog,"\10",n)
134+local prog,nn = string.gsub(prog,"\u{a}",n)
135assert(dostring(prog) == nn)
135assert(dostring(prog) == nn)
136−assert(_G.x == "\104\105\10" and _G.y == "\10\104\101\108\108\111\13\10\10")
136+assert(_G.x == "\u{68}\u{69}\u{a}" and _G.y == "\u{a}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{d}\u{a}\u{a}")
137end
137end
138_G.x,_G.y=nil
138_G.x,_G.y=nil
139−local a = "\93\61"
139+local a = "\u{5d}\u{3d}"
140−assert(a == "\93\61")
140+assert(a == "\u{5d}\u{3d}")
141−a="\91\61\61\61\91\91\61\91\93\93\61\93\91\61\61\61\61\91\93\93\61\61\61\93\61\61\61"
141+a="\u{5b}\u{3d}\u{3d}\u{3d}\u{5b}\u{5b}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{5d}\u{5b}\u{3d}\u{3d}\u{3d}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{3d}\u{3d}\u{5d}\u{3d}\u{3d}\u{3d}"
142−assert(a == "\91\61\61\61\91\91\61\91\93\93\61\93\91\61\61\61\61\91\93\93\61\61\61\93\61\61\61")
142+assert(a == "\u{5b}\u{3d}\u{3d}\u{3d}\u{5b}\u{5b}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{5d}\u{5b}\u{3d}\u{3d}\u{3d}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{3d}\u{3d}\u{5d}\u{3d}\u{3d}\u{3d}")
143−a="\91\61\61\61\91\91\61\91\93\93\61\93\91\61\61\61\61\91\93\93\61\61\61\93\61\61\61"
143+a="\u{5b}\u{3d}\u{3d}\u{3d}\u{5b}\u{5b}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{5d}\u{5b}\u{3d}\u{3d}\u{3d}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{3d}\u{3d}\u{5d}\u{3d}\u{3d}\u{3d}"
144−assert(a == "\91\61\61\61\91\91\61\91\93\93\61\93\91\61\61\61\61\91\93\93\61\61\61\93\61\61\61")
144+assert(a == "\u{5b}\u{3d}\u{3d}\u{3d}\u{5b}\u{5b}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{5d}\u{5b}\u{3d}\u{3d}\u{3d}\u{3d}\u{5b}\u{5d}\u{5d}\u{3d}\u{3d}\u{3d}\u{5d}\u{3d}\u{3d}\u{3d}")
145−a="\93\93\93\93\93\93\93\93"
145+a="\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}"
146−assert(a == "\93\93\93\93\93\93\93\93")
146+assert(a == "\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}\u{5d}")
147−local x = {"\61","\91","\93","\10"}
147+local x = {"\u{3d}","\u{5b}","\u{5d}","\u{a}"}
148local len = 4
148local len = 4
149local function gen
149local function gen
150(c,n)
150(c,n)
@@ -161,39 +161,39 @@ for s in coroutine.wrap(function ()
161gen("",len)
161gen("",len)
162end)
162end)
163do
163do
164−assert(s == load("\114\101\116\117\114\110\32\91\61\61\61\61\91\10" .. s .. "\93\61\61\61\61\93","")())
164+assert(s == load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{5b}\u{3d}\u{3d}\u{3d}\u{3d}\u{5b}\u{a}" .. s .. "\u{5d}\u{3d}\u{3d}\u{3d}\u{3d}\u{5d}","")())
165−end
165+end
166−if os.setlocale("\112\116\95\66\82") or os.setlocale("\112\116\98") then
166+if os.setlocale("\u{70}\u{74}\u{5f}\u{42}\u{52}") or os.setlocale("\u{70}\u{74}\u{62}") then
167−assert(tonumber("\51\44\52") == 3.4 and tonumber("\51\46\52") == 3.4)
167+assert(tonumber("\u{33}\u{2c}\u{34}") == 3.4 and tonumber("\u{33}\u{2e}\u{34}") == 3.4)
168−assert(tonumber("\32\32\45\46\52\32\32") == - 0.4)
168+assert(tonumber("\u{20}\u{20}\u{2d}\u{2e}\u{34}\u{20}\u{20}") == - 0.4)
169−assert(tonumber("\32\32\43\48\120\46\52\49\32\32") == 0.25390625)
169+assert(tonumber("\u{20}\u{20}\u{2b}\u{30}\u{78}\u{2e}\u{34}\u{31}\u{20}\u{20}") == 0.25390625)
170−assert(not load("\97\32\61\32\40\51\44\52\41"))
170+assert(not load("\u{61}\u{20}\u{3d}\u{20}\u{28}\u{33}\u{2c}\u{34}\u{29}"))
171−assert(assert(load("\114\101\116\117\114\110\32\51\46\52"))() == 3.4)
171+assert(assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{33}\u{2e}\u{34}"))() == 3.4)
172−assert(assert(load("\114\101\116\117\114\110\32\46\52\44\51"))() == 0.4)
172+assert(assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2e}\u{34}\u{2c}\u{33}"))() == 0.4)
173−assert(assert(load("\114\101\116\117\114\110\32\52\46"))() == 4.0)
173+assert(assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{34}\u{2e}"))() == 4.0)
174−assert(assert(load("\114\101\116\117\114\110\32\52\46\43\46\53"))() == 4.5)
174+assert(assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{34}\u{2e}\u{2b}\u{2e}\u{35}"))() == 4.5)
175−assert("\32\48\120\46\49\32" + "\32\48\120\44\49" + "\45\48\88\46\49\9" == 0.0625)
175+assert("\u{20}\u{30}\u{78}\u{2e}\u{31}\u{20}" + "\u{20}\u{30}\u{78}\u{2c}\u{31}" + "\u{2d}\u{30}\u{58}\u{2e}\u{31}\u{9}" == 0.0625)
176−assert(not tonumber("\105\110\102") and not tonumber("\78\65\78"))
176+assert(not tonumber("\u{69}\u{6e}\u{66}") and not tonumber("\u{4e}\u{41}\u{4e}"))
177−assert(assert(load(string.format("\114\101\116\117\114\110\32\37\113",4.51)))() == 4.51)
177+assert(assert(load(string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{71}",4.51)))() == 4.51)
178−local a,b = load("\114\101\116\117\114\110\32\52\46\53\46")
178+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{2e}")
179−assert(string.find(b,"\39\52\37\46\53\37\46\39"))
179+assert(string.find(b,"\u{27}\u{34}\u{25}\u{2e}\u{35}\u{25}\u{2e}\u{27}"))
180−assert(os.setlocale("\67"))
180+assert(os.setlocale("\u{43}"))
181else
181else
182−(Message or print)("\10\32\62\62\62\32\112\116\95\66\82\32\108\111\99\97\108\101\32\110\111\116\32\97\118\97\105\108\97\98\108\101\58\32\115\107\105\112\112\105\110\103\32\100\101\99\105\109\97\108\32\112\111\105\110\116\32\116\101\115\116\115\32\60\60\60\10")
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}")
183end
183end
184−local s = "\97\32\115\116\114\105\110\103\32\119\105\116\104\32\13\32\97\110\100\32\10\32\97\110\100\32\13\10\32\97\110\100\32\10\13"
184+local 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}"
185−local c = string.format("\114\101\116\117\114\110\32\37\113",s)
185+local c = string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{71}",s)
186assert(assert(load(c))() == s)
186assert(assert(load(c))() == s)
187−assert(not load("\97\32\61\32\39\110\111\110\45\101\110\100\105\110\103\32\115\116\114\105\110\103"))
187+assert(not load("\u{61}\u{20}\u{3d}\u{20}\u{27}\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{6e}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"))
188−assert(not load("\97\32\61\32\39\110\111\110\45\101\110\100\105\110\103\32\115\116\114\105\110\103\10\39"))
188+assert(not load("\u{61}\u{20}\u{3d}\u{20}\u{27}\u{6e}\u{6f}\u{6e}\u{2d}\u{65}\u{6e}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{a}\u{27}"))
189−assert(not load("\97\32\61\32\39\92\51\52\53\39"))
189+assert(not load("\u{61}\u{20}\u{3d}\u{20}\u{27}\u{5c}\u{33}\u{34}\u{35}\u{27}"))
190−assert(not load("\97\32\61\32\91\61\120\93"))
190+assert(not load("\u{61}\u{20}\u{3d}\u{20}\u{5b}\u{3d}\u{78}\u{5d}"))
191local function malformednum
191local function malformednum
192(n,exp)
192(n,exp)
193−local s,msg = load("\114\101\116\117\114\110\32" .. n)
193+local s,msg = load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. n)
194assert(not s and string.find(msg,exp))
194assert(not s and string.find(msg,exp))
195end
195end
196−malformednum("\48\120\101\45","\110\101\97\114\32\60\101\111\102\62")
196+malformednum("\u{30}\u{78}\u{65}\u{2d}","\u{6e}\u{65}\u{61}\u{72}\u{20}\u{3c}\u{65}\u{6f}\u{66}\u{3e}")
197−malformednum("\48\120\101\112\45\112","\109\97\108\102\111\114\109\101\100\32\110\117\109\98\101\114")
197+malformednum("\u{30}\u{78}\u{65}\u{70}\u{2d}\u{70}","\u{6d}\u{61}\u{6c}\u{66}\u{6f}\u{72}\u{6d}\u{65}\u{64}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
198−malformednum("\49\112\114\105\110\116\40\41","\109\97\108\102\111\114\109\101\100\32\110\117\109\98\101\114")
198+malformednum("\u{31}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{29}","\u{6d}\u{61}\u{6c}\u{66}\u{6f}\u{72}\u{6d}\u{65}\u{64}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}")
199−print("\79\75")
199+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/locals.lua+162−162
@@ -1,6 +1,6 @@
1−print("\116\101\115\116\105\110\103\32\108\111\99\97\108\32\118\97\114\105\97\98\108\101\115\32\97\110\100\32\101\110\118\105\114\111\110\109\101\110\116\115")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{73}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{65}\u{6e}\u{76}\u{69}\u{72}\u{6f}\u{6e}\u{6d}\u{65}\u{6e}\u{74}\u{73}")
2−local debug = require("\100\101\98\117\103")
2+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
3−local tracegc = require("\116\114\97\99\101\103\99")
3+local tracegc = require("\u{74}\u{72}\u{61}\u{63}\u{65}\u{67}\u{63}")
4local function f
4local function f
5(x)
5(x)
6x=nil
6x=nil
@@ -48,7 +48,7 @@ f=nil
48local f
48local f
49local x = 1
49local x = 1
50a=nil
50a=nil
51−load("\108\111\99\97\108\32\97\32\61\32\123\125")()
51+load("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{7b}\u{7d}")()
52assert(a == nil)
52assert(a == nil)
53function f(a)
53function f(a)
54local _1,_2,_3,_4,_5
54local _1,_2,_3,_4,_5
@@ -57,7 +57,7 @@ local x = 3
57local b = a
57local b = a
58local c,d = a,b
58local c,d = a,b
59if (d == b) then
59if (d == b) then
60−local x = "\113"
60+local x = "\u{71}"
61x=b
61x=b
62assert(x == 2)
62assert(x == 2)
63else
63else
@@ -79,17 +79,17 @@ assert(a + 1 == b)
79until a + b == 3
79until a + b == 3
80assert(x == 1)
80assert(x == 1)
81f(2)
81f(2)
82−assert(type(f) == "\102\117\110\99\116\105\111\110")
82+assert(type(f) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
83local function getenv
83local function getenv
84(f)
84(f)
85local a,b = debug.getupvalue(f,1)
85local a,b = debug.getupvalue(f,1)
86−assert(a == "\95\69\78\86")
86+assert(a == "\u{5f}\u{45}\u{4e}\u{56}")
87return b
87return b
88end
88end
89−assert(getenv(load("\97\61\51")) == _G)
89+assert(getenv(load("\u{61}\u{3d}\u{33}")) == _G)
90local c = {}
90local c = {}
91;
91;
92−local f = load("\97\32\61\32\51",nil,nil,c)
92+local f = load("\u{61}\u{20}\u{3d}\u{20}\u{33}",nil,nil,c)
93assert(getenv(f) == c)
93assert(getenv(f) == c)
94assert(c.a == nil)
94assert(c.a == nil)
95f()
95f()
@@ -100,19 +100,19 @@ local p = 4
100repeat
100repeat
101for j = - 3, 3
101for j = - 3, 3
102do
102do
103−assert(load(string.format("\108\111\99\97\108\32\97\61\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\61\97\43\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\115\115\101\114\116\40\97\32\61\61\50\94\37\115\41",j,p - j,i),""))()
103+assert(load(string.format("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3d}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{3d}\u{61}\u{2b}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{20}\u{3d}\u{3d}\u{32}\u{5e}\u{25}\u{73}\u{29}",j,p - j,i),""))()
104−assert(load(string.format("\108\111\99\97\108\32\97\61\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\61\97\45\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\115\115\101\114\116\40\97\61\61\45\50\94\37\115\41",- j,p - j,i),""))()
104+assert(load(string.format("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{3d}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{3d}\u{61}\u{2d}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{3d}\u{3d}\u{2d}\u{32}\u{5e}\u{25}\u{73}\u{29}",- j,p - j,i),""))()
105−assert(load(string.format("\108\111\99\97\108\32\97\44\98\61\48\44\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\61\98\45\37\115\59\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\115\115\101\114\116\40\97\61\61\45\50\94\37\115\41",- j,p - j,i),""))()
105+assert(load(string.format("\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{62}\u{3d}\u{30}\u{2c}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{3d}\u{62}\u{2d}\u{25}\u{73}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{3d}\u{3d}\u{2d}\u{32}\u{5e}\u{25}\u{73}\u{29}",- j,p - j,i),""))()
106end
106end
107p=2 * p
107p=2 * p
108;
108;
109i=i + 1
109i=i + 1
110until p <= 0
110until p <= 0
111end
111end
112−print("\43")
112+print("\u{2b}")
113−if rawget(_G,"\84") then
113+if rawget(_G,"\u{54}") then
114−collectgarbage("\115\116\111\112")
114+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
115−local a = {[{}] = 4,[3] = 0,["\97\108\111"] = 1,["\97\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57\48"] = 10}
115+local a = {[{}] = 4,[3] = 0,["\u{61}\u{6c}\u{6f}"] = 1,["\u{61}\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}"] = 10}
116local t = T.querytab(a)
116local t = T.querytab(a)
117for k,_ in pairs(a)
117for k,_ in pairs(a)
118do
118do
@@ -122,7 +122,7 @@ collectgarbage()
122for i = 0, t - 1
122for i = 0, t - 1
123do
123do
124local k = querytab(a,i)
124local k = querytab(a,i)
125−assert(k == nil or type(k) == "\110\117\109\98\101\114" or k == "\97\108\111")
125+assert(k == nil or type(k) == "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}" or k == "\u{61}\u{6c}\u{6f}")
126end
126end
127local a = {}
127local a = {}
128local function additems
128local function additems
@@ -160,11 +160,11 @@ local _ENV = (function (...)
160return ...
160return ...
161end)(_G,dummy)
161end)(_G,dummy)
162do
162do
163−local _ENV = {["\97\115\115\101\114\116"] = assert}
163+local _ENV = {["\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}"] = assert}
164;
164;
165assert(true)
165assert(true)
166end
166end
167−local mt = {["\95\71"] = _G}
167+local mt = {["\u{5f}\u{47}"] = _G}
168local foo,x
168local foo,x
169A=false
169A=false
170do
170do
@@ -182,15 +182,15 @@ end
182end
182end
183end
183end
184assert(getenv(foo) == mt)
184assert(getenv(foo) == mt)
185−x=foo("\104\105")
185+x=foo("\u{68}\u{69}")
186;
186;
187−assert(mt.A == "\104\105" and A == 1000)
187+assert(mt.A == "\u{68}\u{69}" and A == 1000)
188−assert(x("\42") == mt.A .. "\42")
188+assert(x("\u{2a}") == mt.A .. "\u{2a}")
189do
189do
190−local _ENV = {["\97\115\115\101\114\116"] = assert,["\65"] = 10}
190+local _ENV = {["\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}"] = assert,["\u{41}"] = 10}
191;
191;
192do
192do
193−local _ENV = {["\97\115\115\101\114\116"] = assert,["\65"] = 20}
193+local _ENV = {["\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}"] = assert,["\u{41}"] = 20}
194;
194;
195assert(A == 20)
195assert(A == 20)
196;
196;
@@ -207,25 +207,25 @@ assert(a == 10 and b == 60 and c == 30)
207local function checkro
207local function checkro
208(name,code)
208(name,code)
209local st,msg = load(code)
209local st,msg = load(code)
210−local gab = string.format("\97\116\116\101\109\112\116\32\116\111\32\97\115\115\105\103\110\32\116\111\32\99\111\110\115\116\32\118\97\114\105\97\98\108\101\32\39\37\115\39",name)
210+local gab = string.format("\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{61}\u{73}\u{73}\u{69}\u{67}\u{6e}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{20}\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{27}\u{25}\u{73}\u{27}",name)
211assert(not st and string.find(msg,gab))
211assert(not st and string.find(msg,gab))
212end
212end
213−checkro("\121","\108\111\99\97\108\32\120\44\32\121\32\60\99\111\110\115\116\62\44\32\122\32\61\32\49\48\44\32\50\48\44\32\51\48\59\32\120\32\61\32\49\49\59\32\121\32\61\32\49\50")
213+checkro("\u{79}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{2c}\u{20}\u{79}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{2c}\u{20}\u{7a}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{2c}\u{20}\u{32}\u{30}\u{2c}\u{20}\u{33}\u{30}\u{3b}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{31}\u{3b}\u{20}\u{79}\u{20}\u{3d}\u{20}\u{31}\u{32}")
214−checkro("\120","\108\111\99\97\108\32\120\32\60\99\111\110\115\116\62\44\32\121\44\32\122\32\60\99\111\110\115\116\62\32\61\32\49\48\44\32\50\48\44\32\51\48\59\32\120\32\61\32\49\49")
214+checkro("\u{78}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{2c}\u{20}\u{79}\u{2c}\u{20}\u{7a}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{2c}\u{20}\u{32}\u{30}\u{2c}\u{20}\u{33}\u{30}\u{3b}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{31}\u{31}")
215−checkro("\122","\108\111\99\97\108\32\120\32\60\99\111\110\115\116\62\44\32\121\44\32\122\32\60\99\111\110\115\116\62\32\61\32\49\48\44\32\50\48\44\32\51\48\59\32\121\32\61\32\49\48\59\32\122\32\61\32\49\49")
215+checkro("\u{7a}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{2c}\u{20}\u{79}\u{2c}\u{20}\u{7a}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{2c}\u{20}\u{32}\u{30}\u{2c}\u{20}\u{33}\u{30}\u{3b}\u{20}\u{79}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{7a}\u{20}\u{3d}\u{20}\u{31}\u{31}")
216−checkro("\102\111\111","\108\111\99\97\108\32\102\111\111\32\60\99\111\110\115\116\62\32\61\32\49\48\59\32\102\117\110\99\116\105\111\110\32\102\111\111\40\41\32\101\110\100")
216+checkro("\u{66}\u{6f}\u{6f}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{66}\u{6f}\u{6f}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{20}\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{28}\u{29}\u{20}\u{65}\u{6e}\u{64}")
217−checkro("\102\111\111","\108\111\99\97\108\32\102\111\111\32\60\99\111\110\115\116\62\32\61\32\123\125\59\32\102\117\110\99\116\105\111\110\32\102\111\111\40\41\32\101\110\100")
217+checkro("\u{66}\u{6f}\u{6f}","\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{66}\u{6f}\u{6f}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{7b}\u{7d}\u{3b}\u{20}\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{28}\u{29}\u{20}\u{65}\u{6e}\u{64}")
218−checkro("\122","\32\32\32\32\108\111\99\97\108\32\97\44\32\122\32\60\99\111\110\115\116\62\44\32\98\32\61\32\49\48\59\10\32\32\32\32\102\117\110\99\116\105\111\110\32\102\111\111\40\41\32\97\32\61\32\50\48\59\32\122\32\61\32\51\50\59\32\101\110\100\10\32\32")
218+checkro("\u{7a}","\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{20}\u{7a}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{2c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\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{28}\u{29}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{7a}\u{20}\u{3d}\u{20}\u{33}\u{32}\u{3b}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}")
219−checkro("\118\97\114\49","\32\32\32\32\108\111\99\97\108\32\97\44\32\118\97\114\49\32\60\99\111\110\115\116\62\32\61\32\49\48\59\10\32\32\32\32\102\117\110\99\116\105\111\110\32\102\111\111\40\41\32\97\32\61\32\50\48\59\32\122\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\118\97\114\49\32\61\32\49\50\59\32\101\110\100\32\32\101\110\100\10\32\32")
219+checkro("\u{76}\u{61}\u{72}\u{31}","\u{20}\u{20}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{20}\u{76}\u{61}\u{72}\u{31}\u{20}\u{3c}\u{63}\u{6f}\u{6e}\u{73}\u{74}\u{3e}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{3b}\u{a}\u{20}\u{20}\u{20}\u{20}\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{28}\u{29}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{30}\u{3b}\u{20}\u{7a}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{76}\u{61}\u{72}\u{31}\u{20}\u{3d}\u{20}\u{31}\u{32}\u{3b}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}")
220end
220end
221−print("\116\101\115\116\105\110\103\32\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115")
221+print("\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}")
222local function stack
222local function stack
223(n)
223(n)
224n=((n == 0) or stack(n - 1))
224n=((n == 0) or stack(n - 1))
225end
225end
226local function func2close
226local function func2close
227(f,x,y)
227(f,x,y)
228−local obj = setmetatable({},{["\95\95\99\108\111\115\101"] = f})
228+local obj = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = f})
229if x then
229if x then
230return x,obj,y
230return x,obj,y
231else
231else
@@ -236,20 +236,20 @@ do
236local a = {}
236local a = {}
237do
237do
238local b <close> = false
238local b <close> = false
239−local x <close> = setmetatable({"\120"},{["\95\95\99\108\111\115\101"] = function (self)
239+local x <close> = setmetatable({"\u{78}"},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function (self)
240a[# a + 1]=self[1]
240a[# a + 1]=self[1]
241end})
241end})
242local w,y <close>,z = func2close(function (self,err)
242local w,y <close>,z = func2close(function (self,err)
243assert(err == nil)
243assert(err == nil)
244;
244;
245−a[# a + 1]="\121"
245+a[# a + 1]="\u{79}"
246end,10,20)
246end,10,20)
247local c <close> = nil
247local c <close> = nil
248−a[# a + 1]="\105\110"
248+a[# a + 1]="\u{69}\u{6e}"
249assert(w == 10 and z == 20)
249assert(w == 10 and z == 20)
250end
250end
251−a[# a + 1]="\111\117\116"
251+a[# a + 1]="\u{6f}\u{75}\u{74}"
252−assert(a[1] == "\105\110" and a[2] == "\121" and a[3] == "\120" and a[4] == "\111\117\116")
252+assert(a[1] == "\u{69}\u{6e}" and a[2] == "\u{79}" and a[3] == "\u{78}" and a[4] == "\u{6f}\u{75}\u{74}")
253end
253end
254do
254do
255local X = false
255local X = false
@@ -273,7 +273,7 @@ assert(a == 1.5 and b == false and c == 23 and X == true)
273X=false
273X=false
274foo=function (x)
274foo=function (x)
275local _ <close> = func2close(function (_,msg)
275local _ <close> = func2close(function (_,msg)
276−assert(debug.getinfo(2).name == "\102\111\111")
276+assert(debug.getinfo(2).name == "\u{66}\u{6f}\u{6f}")
277assert(msg == nil)
277assert(msg == nil)
278end)
278end)
279local _ <close> = closescope
279local _ <close> = closescope
@@ -290,7 +290,7 @@ assert(foo() == closescope and X == true)
290end
290end
291do
291do
292local flag = false
292local flag = false
293−local x = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
293+local x = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
294assert(flag == false)
294assert(flag == false)
295;
295;
296flag=true
296flag=true
@@ -304,7 +304,7 @@ assert(flag)
304end
304end
305do
305do
306local flag = false
306local flag = false
307−local x = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
307+local x = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
308assert(flag == false)
308assert(flag == false)
309;
309;
310flag=true
310flag=true
@@ -375,7 +375,7 @@ assert(closed == true)
375end
375end
376do
376do
377local closed = false
377local closed = false
378−local o1 = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
378+local o1 = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
379closed=true
379closed=true
380end})
380end})
381local function test
381local function test
@@ -393,86 +393,86 @@ end
393test()
393test()
394end
394end
395do
395do
396−print("\116\101\115\116\105\110\103\32\101\114\114\111\114\115\32\105\110\32\95\95\99\108\111\115\101")
396+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}")
397local function foo
397local function foo
398()
398()
399local x <close> = func2close(function (self,msg)
399local x <close> = func2close(function (self,msg)
400−assert(string.find(msg,"\64\121"))
400+assert(string.find(msg,"\u{40}\u{79}"))
401−error("\64\120")
401+error("\u{40}\u{78}")
402end)
402end)
403local x1 <close> = func2close(function (self,msg)
403local x1 <close> = func2close(function (self,msg)
404−assert(string.find(msg,"\64\121"))
404+assert(string.find(msg,"\u{40}\u{79}"))
405end)
405end)
406local gc <close> = func2close(function ()
406local gc <close> = func2close(function ()
407collectgarbage()
407collectgarbage()
408end)
408end)
409local y <close> = func2close(function (self,msg)
409local y <close> = func2close(function (self,msg)
410−assert(string.find(msg,"\64\122"))
410+assert(string.find(msg,"\u{40}\u{7a}"))
411−error("\64\121")
411+error("\u{40}\u{79}")
412end)
412end)
413local z <close> = func2close(function (self,msg)
413local z <close> = func2close(function (self,msg)
414assert(msg == nil)
414assert(msg == nil)
415−error("\64\122")
415+error("\u{40}\u{7a}")
416end)
416end)
417return 200
417return 200
418end
418end
419local stat,msg = pcall(foo,false)
419local stat,msg = pcall(foo,false)
420−assert(string.find(msg,"\64\120"))
420+assert(string.find(msg,"\u{40}\u{78}"))
421local function foo
421local function foo
422()
422()
423local x <close> = func2close(function (self,msg)
423local x <close> = func2close(function (self,msg)
424−assert(debug.getinfo(2).name == "\112\99\97\108\108")
424+assert(debug.getinfo(2).name == "\u{70}\u{63}\u{61}\u{6c}\u{6c}")
425−assert(string.find(msg,"\64\120\49"))
425+assert(string.find(msg,"\u{40}\u{78}\u{31}"))
426end)
426end)
427local x1 <close> = func2close(function (self,msg)
427local x1 <close> = func2close(function (self,msg)
428−assert(debug.getinfo(2).name == "\112\99\97\108\108")
428+assert(debug.getinfo(2).name == "\u{70}\u{63}\u{61}\u{6c}\u{6c}")
429−assert(string.find(msg,"\64\121"))
429+assert(string.find(msg,"\u{40}\u{79}"))
430−error("\64\120\49")
430+error("\u{40}\u{78}\u{31}")
431end)
431end)
432local gc <close> = func2close(function ()
432local gc <close> = func2close(function ()
433collectgarbage()
433collectgarbage()
434end)
434end)
435local y <close> = func2close(function (self,msg)
435local y <close> = func2close(function (self,msg)
436−assert(debug.getinfo(2).name == "\112\99\97\108\108")
436+assert(debug.getinfo(2).name == "\u{70}\u{63}\u{61}\u{6c}\u{6c}")
437−assert(string.find(msg,"\64\122"))
437+assert(string.find(msg,"\u{40}\u{7a}"))
438−error("\64\121")
438+error("\u{40}\u{79}")
439end)
439end)
440local first = true
440local first = true
441local z <close> = func2close(function (self,msg)
441local z <close> = func2close(function (self,msg)
442−assert(debug.getinfo(2).name == "\112\99\97\108\108")
442+assert(debug.getinfo(2).name == "\u{70}\u{63}\u{61}\u{6c}\u{6c}")
443assert(first and msg == 4)
443assert(first and msg == 4)
444first=false
444first=false
445−error("\64\122")
445+error("\u{40}\u{7a}")
446end)
446end)
447error(4)
447error(4)
448end
448end
449local stat,msg = pcall(foo,true)
449local stat,msg = pcall(foo,true)
450−assert(string.find(msg,"\64\120\49"))
450+assert(string.find(msg,"\u{40}\u{78}\u{31}"))
451local function foo
451local function foo
452(...)
452(...)
453do
453do
454local x1 <close> = func2close(function (self,msg)
454local x1 <close> = func2close(function (self,msg)
455−assert(string.find(msg,"\64\88"))
455+assert(string.find(msg,"\u{40}\u{58}"))
456−error("\64\89")
456+error("\u{40}\u{59}")
457end)
457end)
458local x123 <close> = func2close(function (_,msg)
458local x123 <close> = func2close(function (_,msg)
459assert(msg == nil)
459assert(msg == nil)
460−error("\64\88")
460+error("\u{40}\u{58}")
461end)
461end)
462end
462end
463os.exit(false)
463os.exit(false)
464end
464end
465local st,msg = xpcall(foo,debug.traceback)
465local st,msg = xpcall(foo,debug.traceback)
466−assert(string.match(msg,"\94\91\94\32\93\42\32\64\89"))
466+assert(string.match(msg,"\u{5e}\u{5b}\u{5e}\u{20}\u{5d}\u{2a}\u{20}\u{40}\u{59}"))
467local function foo
467local function foo
468(...)
468(...)
469local x123 <close> = func2close(function ()
469local x123 <close> = func2close(function ()
470−error("\64\120\49\50\51")
470+error("\u{40}\u{78}\u{31}\u{32}\u{33}")
471end)
471end)
472end
472end
473local st,msg = xpcall(foo,debug.traceback)
473local st,msg = xpcall(foo,debug.traceback)
474−assert(string.match(msg,"\94\91\94\32\93\42\32\64\120\49\50\51"))
474+assert(string.match(msg,"\u{5e}\u{5b}\u{5e}\u{20}\u{5d}\u{2a}\u{20}\u{40}\u{78}\u{31}\u{32}\u{33}"))
475−assert(string.find(msg,"\105\110\32\109\101\116\97\109\101\116\104\111\100\32\39\99\108\111\115\101\39"))
475+assert(string.find(msg,"\u{69}\u{6e}\u{20}\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{27}"))
476end
476end
477do
477do
478local function foo
478local function foo
@@ -481,21 +481,21 @@ local x <close> = {}
481os.exit(false)
481os.exit(false)
482end
482end
483local stat,msg = pcall(foo)
483local stat,msg = pcall(foo)
484−assert(not stat and string.find(msg,"\118\97\114\105\97\98\108\101\32\39\120\39\32\103\111\116\32\97\32\110\111\110\37\45\99\108\111\115\97\98\108\101\32\118\97\108\117\101"))
484+assert(not stat and string.find(msg,"\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{27}\u{78}\u{27}\u{20}\u{67}\u{6f}\u{74}\u{20}\u{61}\u{20}\u{6e}\u{6f}\u{6e}\u{25}\u{2d}\u{63}\u{6c}\u{6f}\u{73}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}"))
485local function foo
485local function foo
486()
486()
487−local xyz <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = print})
487+local xyz <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = print})
488getmetatable(xyz).__close=nil
488getmetatable(xyz).__close=nil
489end
489end
490local stat,msg = pcall(foo)
490local stat,msg = pcall(foo)
491−assert(not stat and string.find(msg,"\109\101\116\97\109\101\116\104\111\100\32\39\99\108\111\115\101\39"))
491+assert(not stat and string.find(msg,"\u{6d}\u{65}\u{74}\u{61}\u{6d}\u{65}\u{74}\u{68}\u{6f}\u{64}\u{20}\u{27}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{27}"))
492local function foo
492local function foo
493()
493()
494local a1 <close> = func2close(function (_,msg)
494local a1 <close> = func2close(function (_,msg)
495−assert(string.find(msg,"\110\117\109\98\101\114\32\118\97\108\117\101"))
495+assert(string.find(msg,"\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}"))
496error(12)
496error(12)
497end)
497end)
498−local a2 <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = print})
498+local a2 <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = print})
499local a3 <close> = func2close(function (_,msg)
499local a3 <close> = func2close(function (_,msg)
500assert(msg == nil)
500assert(msg == nil)
501error(123)
501error(123)
@@ -512,38 +512,38 @@ local function foo
512local x <close> = func2close(function ()
512local x <close> = func2close(function ()
513local xx <close> = func2close(function (_,msg)
513local xx <close> = func2close(function (_,msg)
514assert(msg == nil)
514assert(msg == nil)
515−track[# track + 1]="\120\120"
515+track[# track + 1]="\u{78}\u{78}"
516end)
516end)
517−track[# track + 1]="\120"
517+track[# track + 1]="\u{78}"
518end)
518end)
519−track[# track + 1]="\102\111\111"
519+track[# track + 1]="\u{66}\u{6f}\u{6f}"
520return 20,30,40
520return 20,30,40
521end
521end
522local a,b,c,d = foo()
522local a,b,c,d = foo()
523assert(a == 20 and b == 30 and c == 40 and d == nil)
523assert(a == 20 and b == 30 and c == 40 and d == nil)
524−assert(track[1] == "\102\111\111" and track[2] == "\120" and track[3] == "\120\120")
524+assert(track[1] == "\u{66}\u{6f}\u{6f}" and track[2] == "\u{78}" and track[3] == "\u{78}\u{78}")
525local track = {}
525local track = {}
526local function foo
526local function foo
527()
527()
528local x0 <close> = func2close(function (_,msg)
528local x0 <close> = func2close(function (_,msg)
529assert(msg == 202)
529assert(msg == 202)
530−track[# track + 1]="\120\48"
530+track[# track + 1]="\u{78}\u{30}"
531end)
531end)
532local x <close> = func2close(function ()
532local x <close> = func2close(function ()
533local xx <close> = func2close(function (_,msg)
533local xx <close> = func2close(function (_,msg)
534assert(msg == 101)
534assert(msg == 101)
535−track[# track + 1]="\120\120"
535+track[# track + 1]="\u{78}\u{78}"
536error(202)
536error(202)
537end)
537end)
538−track[# track + 1]="\120"
538+track[# track + 1]="\u{78}"
539error(101)
539error(101)
540end)
540end)
541−track[# track + 1]="\102\111\111"
541+track[# track + 1]="\u{66}\u{6f}\u{6f}"
542return 20,30,40
542return 20,30,40
543end
543end
544local st,msg = pcall(foo)
544local st,msg = pcall(foo)
545assert(not st and msg == 202)
545assert(not st and msg == 202)
546−assert(track[1] == "\102\111\111" and track[2] == "\120" and track[3] == "\120\120" and track[4] == "\120\48")
546+assert(track[1] == "\u{66}\u{6f}\u{6f}" and track[2] == "\u{78}" and track[3] == "\u{78}\u{78}" and track[4] == "\u{78}\u{30}")
547end
547end
548local function checktable
548local function checktable
549(t1,t2)
549(t1,t2)
@@ -560,7 +560,7 @@ overflow(n + 1)
560end
560end
561local function errorh
561local function errorh
562(m)
562(m)
563−assert(string.find(m,"\115\116\97\99\107\32\111\118\101\114\102\108\111\119"))
563+assert(string.find(m,"\u{73}\u{74}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}"))
564local x <close> = func2close(function (o)
564local x <close> = func2close(function (o)
565o[1]=10
565o[1]=10
566end)
566end)
@@ -581,7 +581,7 @@ end)
581co()
581co()
582assert(not st and obj[1] == 10 and flag[1] == 100)
582assert(not st and obj[1] == 10 and flag[1] == 100)
583end
583end
584−if rawget(_G,"\84") then
584+if rawget(_G,"\u{54}") then
585do
585do
586collectgarbage()
586collectgarbage()
587;
587;
@@ -594,10 +594,10 @@ if n < 400 then
594loop(n + 1)
594loop(n + 1)
595end
595end
596end
596end
597−local o = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
597+local o = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
598loop(0)
598loop(0)
599end})
599end})
600−local script = "\116\111\99\108\111\115\101\32\50\59\32\115\101\116\116\111\112\32\49\59\32\114\101\116\117\114\110\32\49"
600+local script = "\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{32}\u{3b}\u{20}\u{73}\u{65}\u{74}\u{74}\u{6f}\u{70}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}"
601assert(T.testC(script,o) == script)
601assert(T.testC(script,o) == script)
602end
602end
603local function foo
603local function foo
@@ -605,7 +605,7 @@ local function foo
605local y <close> = func2close(function ()
605local y <close> = func2close(function ()
606T.alloccount()
606T.alloccount()
607end)
607end)
608−local x <close> = setmetatable({},{["\95\95\99\108\111\115\101"] = function ()
608+local x <close> = setmetatable({},{["\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}"] = function ()
609T.alloccount(0)
609T.alloccount(0)
610;
610;
611local x = {}
611local x = {}
@@ -614,7 +614,7 @@ error(1000)
614end
614end
615stack(5)
615stack(5)
616local _,msg = pcall(foo)
616local _,msg = pcall(foo)
617−assert(msg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")
617+assert(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}")
618local closemsg
618local closemsg
619local close = func2close(function (self,msg)
619local close = func2close(function (self,msg)
620T.alloccount()
620T.alloccount()
@@ -633,42 +633,42 @@ local x <close> = enter(0)
633local y = {}
633local y = {}
634end
634end
635local _,msg = pcall(test)
635local _,msg = pcall(test)
636−assert(msg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121" and closemsg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")
636+assert(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}" and closemsg == "\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}")
637local function test
637local function test
638()
638()
639local xxx <close> = func2close(function (self,msg)
639local xxx <close> = func2close(function (self,msg)
640−assert(msg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")
640+assert(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}")
641;
641;
642error(1000)
642error(1000)
643end)
643end)
644local xx <close> = func2close(function (self,msg)
644local xx <close> = func2close(function (self,msg)
645−assert(msg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")
645+assert(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}")
646;
646;
647end)
647end)
648local x <close> = enter(0)
648local x <close> = enter(0)
649local y = {}
649local y = {}
650end
650end
651local _,msg = pcall(test)
651local _,msg = pcall(test)
652−assert(msg == 1000 and closemsg == "\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121")
652+assert(msg == 1000 and closemsg == "\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}")
653do
653do
654collectgarbage()
654collectgarbage()
655−local s = string.rep("\97",10000)
655+local s = string.rep("\u{61}",10000)
656local m = T.totalmem()
656local m = T.totalmem()
657−collectgarbage("\115\116\111\112")
657+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
658s=string.upper(s)
658s=string.upper(s)
659assert(T.totalmem() - m <= 11000)
659assert(T.totalmem() - m <= 11000)
660−collectgarbage("\114\101\115\116\97\114\116")
660+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
661end
661end
662do
662do
663local lim = 10000
663local lim = 10000
664local extra = 2000
664local extra = 2000
665−local s = string.rep("\97",lim)
665+local s = string.rep("\u{61}",lim)
666local a = {s,s}
666local a = {s,s}
667collectgarbage()
667collectgarbage()
668;
668;
669collectgarbage()
669collectgarbage()
670local m = T.totalmem()
670local m = T.totalmem()
671−collectgarbage("\115\116\111\112")
671+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
672T.totalmem(m + extra)
672T.totalmem(m + extra)
673assert(not pcall(table.concat,a))
673assert(not pcall(table.concat,a))
674assert(T.totalmem() - m <= extra)
674assert(T.totalmem() - m <= extra)
@@ -681,25 +681,25 @@ assert(T.totalmem() - m <= extra)
681T.totalmem(m + 4 * lim + extra)
681T.totalmem(m + 4 * lim + extra)
682assert(# table.concat(a) == 2 * lim)
682assert(# table.concat(a) == 2 * lim)
683T.totalmem(0)
683T.totalmem(0)
684−collectgarbage("\114\101\115\116\97\114\116")
684+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
685−print("\43")
685+print("\u{2b}")
686end
686end
687do
687do
688local trace = {}
688local trace = {}
689local function hook
689local function hook
690(event)
690(event)
691−trace[# trace + 1]=event .. "\32" .. (debug.getinfo(2).name or "\63")
691+trace[# trace + 1]=event .. "\u{20}" .. (debug.getinfo(2).name or "\u{3f}")
692end
692end
693local x = func2close(function (_,msg)
693local x = func2close(function (_,msg)
694−trace[# trace + 1]="\120"
694+trace[# trace + 1]="\u{78}"
695end)
695end)
696local y = func2close(function (_,msg)
696local y = func2close(function (_,msg)
697−trace[# trace + 1]="\121"
697+trace[# trace + 1]="\u{79}"
698end)
698end)
699−debug.sethook(hook,"\114")
699+debug.sethook(hook,"\u{72}")
700−local t = {T.testC("\32\32\32\32\32\32\32\116\111\99\108\111\115\101\32\50\32\32\32\32\32\32\35\32\120\10\32\32\32\32\32\32\32\112\117\115\104\110\117\109\32\49\48\10\32\32\32\32\32\32\32\112\117\115\104\105\110\116\32\50\48\10\32\32\32\32\32\32\32\116\111\99\108\111\115\101\32\51\32\32\32\32\32\32\35\32\121\10\32\32\32\32\32\32\32\114\101\116\117\114\110\32\50\10\32\32\32\32",x,y)}
700+local t = {T.testC("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{32}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{78}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{6e}\u{75}\u{6d}\u{20}\u{31}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{75}\u{73}\u{68}\u{69}\u{6e}\u{74}\u{20}\u{32}\u{30}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{33}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{23}\u{20}\u{79}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}",x,y)}
701debug.sethook()
701debug.sethook()
702−checktable(trace,{"\114\101\116\117\114\110\32\115\101\116\104\111\111\107","\121","\114\101\116\117\114\110\32\63","\120","\114\101\116\117\114\110\32\63","\114\101\116\117\114\110\32\116\101\115\116\67"})
702+checktable(trace,{"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{65}\u{74}\u{68}\u{6f}\u{6f}\u{6b}","\u{79}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{3f}","\u{78}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{3f}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{74}\u{65}\u{73}\u{74}\u{43}"})
703checktable(t,{10,20})
703checktable(t,{10,20})
704end
704end
705end
705end
@@ -707,58 +707,58 @@ do
707local trace = {}
707local trace = {}
708local function hook
708local function hook
709(event)
709(event)
710−trace[# trace + 1]=event .. "\32" .. debug.getinfo(2).name
710+trace[# trace + 1]=event .. "\u{20}" .. debug.getinfo(2).name
711end
711end
712local function foo
712local function foo
713(...)
713(...)
714local x <close> = func2close(function (_,msg)
714local x <close> = func2close(function (_,msg)
715−trace[# trace + 1]="\120"
715+trace[# trace + 1]="\u{78}"
716end)
716end)
717local y <close> = func2close(function (_,msg)
717local y <close> = func2close(function (_,msg)
718−debug.sethook(hook,"\114")
718+debug.sethook(hook,"\u{72}")
719end)
719end)
720return ...
720return ...
721end
721end
722local t = {foo(10,20,30)}
722local t = {foo(10,20,30)}
723debug.sethook()
723debug.sethook()
724checktable(t,{10,20,30})
724checktable(t,{10,20,30})
725−checktable(trace,{"\114\101\116\117\114\110\32\115\101\116\104\111\111\107","\114\101\116\117\114\110\32\99\108\111\115\101","\120","\114\101\116\117\114\110\32\99\108\111\115\101","\114\101\116\117\114\110\32\102\111\111"})
725+checktable(trace,{"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{73}\u{65}\u{74}\u{68}\u{6f}\u{6f}\u{6b}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}","\u{78}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{6f}\u{6f}"})
726end
726end
727−print("\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115\32\105\110\32\99\111\114\111\117\116\105\110\101\115")
727+print("\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}\u{20}\u{69}\u{6e}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}")
728do
728do
729local trace = {}
729local trace = {}
730local co = coroutine.wrap(function ()
730local co = coroutine.wrap(function ()
731−trace[# trace + 1]="\110\111\119\88"
731+trace[# trace + 1]="\u{6e}\u{6f}\u{77}\u{58}"
732local x <close> = func2close(function (_,msg)
732local x <close> = func2close(function (_,msg)
733assert(msg == nil)
733assert(msg == nil)
734−trace[# trace + 1]="\120\49"
734+trace[# trace + 1]="\u{78}\u{31}"
735−coroutine.yield("\120")
735+coroutine.yield("\u{78}")
736−trace[# trace + 1]="\120\50"
736+trace[# trace + 1]="\u{78}\u{32}"
737end)
737end)
738return pcall(function ()
738return pcall(function ()
739do
739do
740local z <close> = func2close(function (_,msg)
740local z <close> = func2close(function (_,msg)
741assert(msg == nil)
741assert(msg == nil)
742−trace[# trace + 1]="\122\49"
742+trace[# trace + 1]="\u{7a}\u{31}"
743−coroutine.yield("\122")
743+coroutine.yield("\u{7a}")
744−trace[# trace + 1]="\122\50"
744+trace[# trace + 1]="\u{7a}\u{32}"
745end)
745end)
746end
746end
747−trace[# trace + 1]="\110\111\119\89"
747+trace[# trace + 1]="\u{6e}\u{6f}\u{77}\u{59}"
748local y <close> = func2close(function (_,msg)
748local y <close> = func2close(function (_,msg)
749assert(msg == nil)
749assert(msg == nil)
750−trace[# trace + 1]="\121\49"
750+trace[# trace + 1]="\u{79}\u{31}"
751−coroutine.yield("\121")
751+coroutine.yield("\u{79}")
752−trace[# trace + 1]="\121\50"
752+trace[# trace + 1]="\u{79}\u{32}"
753end)
753end)
754return 10,20,30
754return 10,20,30
755end)
755end)
756end)
756end)
757−assert(co() == "\122")
757+assert(co() == "\u{7a}")
758−assert(co() == "\121")
758+assert(co() == "\u{79}")
759−assert(co() == "\120")
759+assert(co() == "\u{78}")
760checktable({co()},{true,10,20,30})
760checktable({co()},{true,10,20,30})
761−checktable(trace,{"\110\111\119\88","\122\49","\122\50","\110\111\119\89","\121\49","\121\50","\120\49","\120\50"})
761+checktable(trace,{"\u{6e}\u{6f}\u{77}\u{58}","\u{7a}\u{31}","\u{7a}\u{32}","\u{6e}\u{6f}\u{77}\u{59}","\u{79}\u{31}","\u{79}\u{32}","\u{78}\u{31}","\u{78}\u{32}"})
762end
762end
763do
763do
764local extrares
764local extrares
@@ -775,7 +775,7 @@ local res2 = table.pack(co())
775assert(res2.n == t.n)
775assert(res2.n == t.n)
776for i = 1, # t
776for i = 1, # t
777do
777do
778−if t[i] == "\120" then
778+if t[i] == "\u{78}" then
779assert(res2[i] == res[1])
779assert(res2[i] == res[1])
780else
780else
781assert(res2[i] == t[i])
781assert(res2[i] == t[i])
@@ -792,7 +792,7 @@ end)
792extrares=extra
792extrares=extra
793return table.unpack({10,x,30})
793return table.unpack({10,x,30})
794end
794end
795−check(foo,true,10,"\120",30)
795+check(foo,true,10,"\u{78}",30)
796assert(extrares == 100)
796assert(extrares == 100)
797local function foo
797local function foo
798()
798()
@@ -806,7 +806,7 @@ local x <close> = func2close(coroutine.yield)
806local y,z = 20,30
806local y,z = 20,30
807return x
807return x
808end
808end
809−check(foo,false,"\120")
809+check(foo,false,"\u{78}")
810local function foo
810local function foo
811()
811()
812local x <close> = func2close(coroutine.yield)
812local x <close> = func2close(coroutine.yield)
@@ -821,19 +821,19 @@ local function foo
821(err)
821(err)
822local z <close> = func2close(function (_,msg)
822local z <close> = func2close(function (_,msg)
823assert(msg == nil or msg == err + 20)
823assert(msg == nil or msg == err + 20)
824−coroutine.yield("\122")
824+coroutine.yield("\u{7a}")
825return 100,200
825return 100,200
826end)
826end)
827local y <close> = func2close(function (_,msg)
827local y <close> = func2close(function (_,msg)
828assert(msg == err or (msg == nil and err == 1))
828assert(msg == err or (msg == nil and err == 1))
829−coroutine.yield("\121")
829+coroutine.yield("\u{79}")
830if err then
830if err then
831error(err + 20)
831error(err + 20)
832end
832end
833end)
833end)
834local x <close> = func2close(function (_,msg)
834local x <close> = func2close(function (_,msg)
835assert(msg == err or (msg == nil and err == 1))
835assert(msg == err or (msg == nil and err == 1))
836−coroutine.yield("\120")
836+coroutine.yield("\u{78}")
837return 100,200
837return 100,200
838end)
838end)
839if err == 10 then
839if err == 10 then
@@ -847,27 +847,27 @@ coroutine.yield(pcall(foo,1))
847return pcall(foo,10)
847return pcall(foo,10)
848end)
848end)
849local a,b = co()
849local a,b = co()
850−assert(a == "\120" and b == nil)
850+assert(a == "\u{78}" and b == nil)
851a,b=co()
851a,b=co()
852−assert(a == "\121" and b == nil)
852+assert(a == "\u{79}" and b == nil)
853a,b=co()
853a,b=co()
854−assert(a == "\122" and b == nil)
854+assert(a == "\u{7a}" and b == nil)
855local a,b,c = co()
855local a,b,c = co()
856assert(a and b == 10 and c == 20)
856assert(a and b == 10 and c == 20)
857local a,b = co()
857local a,b = co()
858−assert(a == "\120" and b == nil)
858+assert(a == "\u{78}" and b == nil)
859a,b=co()
859a,b=co()
860−assert(a == "\121" and b == nil)
860+assert(a == "\u{79}" and b == nil)
861a,b=co()
861a,b=co()
862−assert(a == "\122" and b == nil)
862+assert(a == "\u{7a}" and b == nil)
863local st,msg = co()
863local st,msg = co()
864assert(not st and msg == 21)
864assert(not st and msg == 21)
865local a,b = co()
865local a,b = co()
866−assert(a == "\120" and b == nil)
866+assert(a == "\u{78}" and b == nil)
867a,b=co()
867a,b=co()
868−assert(a == "\121" and b == nil)
868+assert(a == "\u{79}" and b == nil)
869a,b=co()
869a,b=co()
870−assert(a == "\122" and b == nil)
870+assert(a == "\u{7a}" and b == nil)
871local st,msg = co()
871local st,msg = co()
872assert(not st and msg == 10 + 20)
872assert(not st and msg == 10 + 20)
873end
873end
@@ -900,13 +900,13 @@ local co = coroutine.wrap(function ()
900local xx <close> = func2close(function (_,msg)
900local xx <close> = func2close(function (_,msg)
901x=x + 1
901x=x + 1
902;
902;
903−assert(string.find(msg,"\64\88\88\88"))
903+assert(string.find(msg,"\u{40}\u{58}\u{58}\u{58}"))
904−error("\64\89\89\89")
904+error("\u{40}\u{59}\u{59}\u{59}")
905end)
905end)
906local xv <close> = func2close(function ()
906local xv <close> = func2close(function ()
907x=x + 1
907x=x + 1
908;
908;
909−error("\64\88\88\88")
909+error("\u{40}\u{58}\u{58}\u{58}")
910end)
910end)
911coroutine.yield(100)
911coroutine.yield(100)
912error(200)
912error(200)
@@ -917,20 +917,20 @@ assert(x == 0)
917local st,msg = pcall(co)
917local st,msg = pcall(co)
918;
918;
919assert(x == 2)
919assert(x == 2)
920−assert(not st and string.find(msg,"\64\89\89\89"))
920+assert(not st and string.find(msg,"\u{40}\u{59}\u{59}\u{59}"))
921local x = 0
921local x = 0
922local y = 0
922local y = 0
923co=coroutine.wrap(function ()
923co=coroutine.wrap(function ()
924local xx <close> = func2close(function (_,err)
924local xx <close> = func2close(function (_,err)
925y=y + 1
925y=y + 1
926;
926;
927−assert(string.find(err,"\88\88\88"))
927+assert(string.find(err,"\u{58}\u{58}\u{58}"))
928−error("\89\89\89")
928+error("\u{59}\u{59}\u{59}")
929end)
929end)
930local xv <close> = func2close(function ()
930local xv <close> = func2close(function ()
931x=x + 1
931x=x + 1
932;
932;
933−error("\88\88\88")
933+error("\u{58}\u{58}\u{58}")
934end)
934end)
935coroutine.yield(100)
935coroutine.yield(100)
936return 200
936return 200
@@ -940,7 +940,7 @@ assert(co() == 100)
940assert(x == 0)
940assert(x == 0)
941local st,msg = pcall(co)
941local st,msg = pcall(co)
942assert(x == 1 and y == 1)
942assert(x == 1 and y == 1)
943−assert(not st and string.find(msg,"\37\119\43\37\46\37\119\43\58\37\100\43\58\32\89\89\89"))
943+assert(not st and string.find(msg,"\u{25}\u{77}\u{2b}\u{25}\u{2e}\u{25}\u{77}\u{2b}\u{3a}\u{25}\u{64}\u{2b}\u{3a}\u{20}\u{59}\u{59}\u{59}"))
944end
944end
945local co
945local co
946co=coroutine.wrap(function ()
946co=coroutine.wrap(function ()
@@ -953,12 +953,12 @@ end)
953co()
953co()
954assert(co == nil)
954assert(co == nil)
955collectgarbage()
955collectgarbage()
956−if rawget(_G,"\84") then
956+if rawget(_G,"\u{54}") then
957−print("\116\111\45\98\101\45\99\108\111\115\101\100\32\118\97\114\105\97\98\108\101\115\32\120\32\99\111\114\111\117\116\105\110\101\115\32\105\110\32\67")
957+print("\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}\u{20}\u{78}\u{20}\u{63}\u{6f}\u{72}\u{6f}\u{75}\u{74}\u{69}\u{6e}\u{65}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{43}")
958do
958do
959local token = 0
959local token = 0
960local count = 0
960local count = 0
961−local f = T.makeCfunc("\32\32\32\32\32\32\116\111\99\108\111\115\101\32\49\10\32\32\32\32\32\32\116\111\99\108\111\115\101\32\50\10\32\32\32\32\32\32\114\101\116\117\114\110\32\46\10\32\32\32\32")
961+local f = T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{32}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2e}\u{a}\u{20}\u{20}\u{20}\u{20}")
962local obj = func2close(function (_,msg)
962local obj = func2close(function (_,msg)
963count=count + 1
963count=count + 1
964token=coroutine.yield(count,token)
964token=coroutine.yield(count,token)
@@ -973,33 +973,33 @@ assert(res[1] == 10 and res[2] == 20 and res[3] == 30 and res[4] == nil)
973assert(token == 200)
973assert(token == 200)
974end
974end
975do
975do
976−local f = T.makeCfunc("\32\32\32\32\32\32\116\111\99\108\111\115\101\32\49\10\32\32\32\32\32\32\114\101\116\117\114\110\32\46\10\32\32\32\32")
976+local f = T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2e}\u{a}\u{20}\u{20}\u{20}\u{20}")
977local obj = func2close(function ()
977local obj = func2close(function ()
978local temp
978local temp
979local x <close> = func2close(function ()
979local x <close> = func2close(function ()
980coroutine.yield(temp)
980coroutine.yield(temp)
981return 1,2,3
981return 1,2,3
982end)
982end)
983−temp=coroutine.yield("\99\108\111\115\105\110\103\32\111\98\106")
983+temp=coroutine.yield("\u{63}\u{6c}\u{6f}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{62}\u{6a}")
984return 1,2,3
984return 1,2,3
985end)
985end)
986local co = coroutine.wrap(f)
986local co = coroutine.wrap(f)
987local res = co(obj,10,30,1)
987local res = co(obj,10,30,1)
988−assert(res == "\99\108\111\115\105\110\103\32\111\98\106")
988+assert(res == "\u{63}\u{6c}\u{6f}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{6f}\u{62}\u{6a}")
989−res=co("\99\108\111\115\105\110\103\32\120")
989+res=co("\u{63}\u{6c}\u{6f}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{78}")
990−assert(res == "\99\108\111\115\105\110\103\32\120")
990+assert(res == "\u{63}\u{6c}\u{6f}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{78}")
991res={co()}
991res={co()}
992assert(res[1] == 30 and res[2] == nil)
992assert(res[1] == 30 and res[2] == nil)
993end
993end
994do
994do
995−local f = T.makeCfunc("\32\32\32\32\32\32\116\111\99\108\111\115\101\32\49\10\32\32\32\32\32\32\99\108\111\115\101\115\108\111\116\32\49\10\32\32\32\32")
995+local f = T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{73}\u{6c}\u{6f}\u{74}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}")
996local obj = func2close(coroutine.yield)
996local obj = func2close(coroutine.yield)
997local co = coroutine.create(f)
997local co = coroutine.create(f)
998local st,msg = coroutine.resume(co,obj)
998local st,msg = coroutine.resume(co,obj)
999−assert(not st and string.find(msg,"\97\116\116\101\109\112\116\32\116\111\32\121\105\101\108\100\32\97\99\114\111\115\115"))
999+assert(not st and string.find(msg,"\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{61}\u{63}\u{72}\u{6f}\u{73}\u{73}"))
1000−local f = T.makeCfunc("\32\32\32\32\32\32\116\111\99\108\111\115\101\32\49\10\32\32\32\32")
1000+local f = T.makeCfunc("\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{74}\u{6f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{31}\u{a}\u{20}\u{20}\u{20}\u{20}")
1001local st,msg = pcall(f,obj)
1001local st,msg = pcall(f,obj)
1002−assert(not st and string.find(msg,"\97\116\116\101\109\112\116\32\116\111\32\121\105\101\108\100\32\102\114\111\109\32\111\117\116\115\105\100\101"))
1002+assert(not st and string.find(msg,"\u{61}\u{74}\u{74}\u{65}\u{6d}\u{70}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{79}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{66}\u{72}\u{6f}\u{6d}\u{20}\u{6f}\u{75}\u{74}\u{73}\u{69}\u{64}\u{65}"))
1003end
1003end
1004end
1004end
1005do
1005do
@@ -1045,6 +1045,6 @@ end
1045::endloop::
1045::endloop::
1046assert(s == 375 and numopen == 0)
1046assert(s == 375 and numopen == 0)
1047end
1047end
1048−print("\79\75")
1048+print("\u{4f}\u{4b}")
1049return 5,f
1049return 5,f
1050end
1050end
zod/luau/res/lua/cycled/main.lua+199−199
@@ -1,7 +1,7 @@
1if _port then
1if _port then
2return
2return
3end
3end
4−print("\116\101\115\116\105\110\103\32\115\116\97\110\100\45\97\108\111\110\101\32\105\110\116\101\114\112\114\101\116\101\114")
4+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{61}\u{6e}\u{64}\u{2d}\u{61}\u{6c}\u{6f}\u{6e}\u{65}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{72}\u{70}\u{72}\u{65}\u{74}\u{65}\u{72}")
5assert(os.execute())
5assert(os.execute())
6local arg = arg or ARG
6local arg = arg or ARG
7local prog = os.tmpname()
7local prog = os.tmpname()
@@ -15,9 +15,9 @@ i=i - 1
15end
15end
16progname=arg[i + 1]
16progname=arg[i + 1]
17end
17end
18−print("\112\114\111\103\110\97\109\101\58\32" .. progname)
18+print("\u{70}\u{72}\u{6f}\u{67}\u{6e}\u{61}\u{6d}\u{65}\u{3a}\u{20}" .. progname)
19local prepfile = function (s,mod,p)
19local prepfile = function (s,mod,p)
20−mod=mod and "\119\98" or "\119"
20+mod=mod and "\u{77}\u{62}" or "\u{77}"
21p=p or prog
21p=p or prog
22local f = io.open(p,mod)
22local f = io.open(p,mod)
23f:write(s)
23f:write(s)
@@ -26,16 +26,16 @@ end
26local function getoutput
26local function getoutput
27()
27()
28local f = io.open(out)
28local f = io.open(out)
29−local t = f:read("\97")
29+local t = f:read("\u{61}")
30f:close()
30f:close()
31assert(os.remove(out))
31assert(os.remove(out))
32return t
32return t
33end
33end
34local function checkprogout
34local function checkprogout
35(s)
35(s)
36−assert(string.sub(s,- 1) == "\10")
36+assert(string.sub(s,- 1) == "\u{a}")
37local t = getoutput()
37local t = getoutput()
38−for line in string.gmatch(s,"\46\45\10")
38+for line in string.gmatch(s,"\u{2e}\u{2d}\u{a}")
39do
39do
40assert(string.find(t,line,1,true))
40assert(string.find(t,line,1,true))
41end
41end
@@ -44,259 +44,259 @@ local function checkout
44(s)
44(s)
45local t = getoutput()
45local t = getoutput()
46if s ~= t then
46if s ~= t then
47−print(string.format("\39\37\115\39\32\45\32\39\37\115\39\10",s,t))
47+print(string.format("\u{27}\u{25}\u{73}\u{27}\u{20}\u{2d}\u{20}\u{27}\u{25}\u{73}\u{27}\u{a}",s,t))
48end
48end
49assert(s == t)
49assert(s == t)
50return t
50return t
51end
51end
52local function RUN
52local function RUN
53(p, ...)
53(p, ...)
54−p=string.gsub(p,"\108\117\97","\34" .. progname .. "\34",1)
54+p=string.gsub(p,"\u{6c}\u{75}\u{61}","\u{22}" .. progname .. "\u{22}",1)
55local s = string.format(p,...)
55local s = string.format(p,...)
56assert(os.execute(s))
56assert(os.execute(s))
57end
57end
58local function NoRun
58local function NoRun
59(msg,p, ...)
59(msg,p, ...)
60−p=string.gsub(p,"\108\117\97","\34" .. progname .. "\34",1)
60+p=string.gsub(p,"\u{6c}\u{75}\u{61}","\u{22}" .. progname .. "\u{22}",1)
61local s = string.format(p,...)
61local s = string.format(p,...)
62−s=string.format("\37\115\32\62\37\115\32\50\62\38\49",s,out)
62+s=string.format("\u{25}\u{73}\u{20}\u{3e}\u{25}\u{73}\u{20}\u{32}\u{3e}\u{26}\u{31}",s,out)
63assert(not os.execute(s))
63assert(not os.execute(s))
64assert(string.find(getoutput(),msg,1,true))
64assert(string.find(getoutput(),msg,1,true))
65end
65end
66−RUN("\108\117\97\32\45\118")
66+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{76}")
67−print(string.format("\40\116\101\109\112\111\114\97\114\121\32\112\114\111\103\114\97\109\32\102\105\108\101\32\117\115\101\100\32\105\110\32\116\104\101\115\101\32\116\101\115\116\115\58\32\37\115\41",prog))
67+print(string.format("\u{28}\u{74}\u{65}\u{6d}\u{70}\u{6f}\u{72}\u{61}\u{72}\u{79}\u{20}\u{70}\u{72}\u{6f}\u{67}\u{72}\u{61}\u{6d}\u{20}\u{66}\u{69}\u{6c}\u{65}\u{20}\u{75}\u{73}\u{65}\u{64}\u{20}\u{69}\u{6e}\u{20}\u{74}\u{68}\u{65}\u{73}\u{65}\u{20}\u{74}\u{65}\u{73}\u{74}\u{73}\u{3a}\u{20}\u{25}\u{73}\u{29}",prog))
68prepfile("")
68prepfile("")
69−RUN("\108\117\97\32\45\32\60\32\37\115\32\62\32\37\115",prog,out)
69+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
70checkout("")
70checkout("")
71−prepfile("\32\32\112\114\105\110\116\40\10\49\44\32\97\10\41\10")
71+prepfile("\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{a}\u{31}\u{2c}\u{20}\u{61}\u{a}\u{29}\u{a}")
72−RUN("\108\117\97\32\45\32\60\32\37\115\32\62\32\37\115",prog,out)
72+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
73−checkout("\49\9\110\105\108\10")
73+checkout("\u{31}\u{9}\u{6e}\u{69}\u{6c}\u{a}")
74−RUN("\101\99\104\111\32\34\112\114\105\110\116\40\49\48\41\10\112\114\105\110\116\40\50\41\10\34\32\124\32\108\117\97\32\62\32\37\115",out)
74+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{30}\u{29}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{32}\u{29}\u{a}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
75−checkout("\49\48\10\50\10")
75+checkout("\u{31}\u{30}\u{a}\u{32}\u{a}")
76−prepfile("\239\187\191")
76+prepfile("\u{ef}\u{bb}\u{bf}")
77−RUN("\108\117\97\32\37\115\32\62\32\37\115",prog,out)
77+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
78checkout("")
78checkout("")
79−prepfile("\239\187\191\112\114\105\110\116\40\51\41")
79+prepfile("\u{ef}\u{bb}\u{bf}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}")
80−RUN("\108\117\97\32\37\115\32\62\32\37\115",prog,out)
80+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
81−checkout("\51\10")
81+checkout("\u{33}\u{a}")
82−prepfile("\239\187\191\35\32\99\111\109\109\101\110\116\33\33\10\112\114\105\110\116\40\51\41")
82+prepfile("\u{ef}\u{bb}\u{bf}\u{23}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{21}\u{21}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}")
83−RUN("\108\117\97\32\37\115\32\62\32\37\115",prog,out)
83+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
84−checkout("\51\10")
84+checkout("\u{33}\u{a}")
85−prepfile("\239",true)
85+prepfile("\u{ef}",true)
86−NoRun("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108","\108\117\97\32\37\115",prog)
86+NoRun("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
87−prepfile("\239\187",true)
87+prepfile("\u{ef}\u{bb}",true)
88−NoRun("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108","\108\117\97\32\37\115",prog)
88+NoRun("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
89−prepfile("\239\112\114\105\110\116\40\51\41",true)
89+prepfile("\u{ef}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}",true)
90−NoRun("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108","\108\117\97\32\37\115",prog)
90+NoRun("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
91−prepfile("\239\187\112\114\105\110\116\40\51\41",true)
91+prepfile("\u{ef}\u{bb}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}",true)
92−NoRun("\117\110\101\120\112\101\99\116\101\100\32\115\121\109\98\111\108","\108\117\97\32\37\115",prog)
92+NoRun("\u{75}\u{6e}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}\u{20}\u{73}\u{79}\u{6d}\u{62}\u{6f}\u{6c}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
93−RUN("\101\99\104\111\32\34\112\114\105\110\116\40\97\114\103\91\49\93\41\34\32\124\32\108\117\97\32\45\32\45\104\32\62\32\37\115",out)
93+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{61}\u{72}\u{67}\u{5b}\u{31}\u{5d}\u{29}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{20}\u{2d}\u{68}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
94−checkout("\45\104\10")
94+checkout("\u{2d}\u{68}\u{a}")
95−prepfile("\112\114\105\110\116\40\112\97\99\107\97\103\101\46\112\97\116\104\41")
95+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{70}\u{61}\u{74}\u{68}\u{29}")
96−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\32\76\85\65\95\80\65\84\72\61\120\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
96+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
97−checkout("\120\10")
97+checkout("\u{78}\u{a}")
98−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\32\76\85\65\95\80\65\84\72\95\53\95\52\61\121\32\76\85\65\95\80\65\84\72\61\120\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
98+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{5f}\u{35}\u{5f}\u{34}\u{3d}\u{79}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
99−checkout("\121\10")
99+checkout("\u{79}\u{a}")
100−prepfile("\112\114\105\110\116\40\112\97\99\107\97\103\101\46\99\112\97\116\104\41")
100+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{63}\u{70}\u{61}\u{74}\u{68}\u{29}")
101−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\32\76\85\65\95\67\80\65\84\72\61\120\117\120\117\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
101+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{43}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{75}\u{78}\u{75}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
102−checkout("\120\117\120\117\10")
102+checkout("\u{78}\u{75}\u{78}\u{75}\u{a}")
103−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\32\76\85\65\95\67\80\65\84\72\95\53\95\52\61\121\97\99\99\32\76\85\65\95\67\80\65\84\72\61\120\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
103+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{43}\u{50}\u{41}\u{54}\u{48}\u{5f}\u{35}\u{5f}\u{34}\u{3d}\u{79}\u{61}\u{63}\u{63}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{43}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
104−checkout("\121\97\99\99\10")
104+checkout("\u{79}\u{61}\u{63}\u{63}\u{a}")
105−prepfile("\112\114\105\110\116\40\88\41")
105+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{58}\u{29}")
106−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\34\88\61\116\111\110\117\109\98\101\114\40\97\114\103\91\49\93\41\34\32\108\117\97\32\37\115\32\51\46\50\32\62\32\37\115",prog,out)
106+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{22}\u{58}\u{3d}\u{74}\u{6f}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{28}\u{61}\u{72}\u{67}\u{5b}\u{31}\u{5d}\u{29}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{33}\u{2e}\u{32}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
107−checkout("\51\46\50\10")
107+checkout("\u{33}\u{2e}\u{32}\u{a}")
108−prepfile("\112\114\105\110\116\40\88\41")
108+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{58}\u{29}")
109−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\95\53\95\52\61\34\88\61\49\48\34\32\76\85\65\95\73\78\73\84\61\34\88\61\51\34\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
109+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{5f}\u{35}\u{5f}\u{34}\u{3d}\u{22}\u{58}\u{3d}\u{31}\u{30}\u{22}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{22}\u{58}\u{3d}\u{33}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
110−checkout("\49\48\10")
110+checkout("\u{31}\u{30}\u{a}")
111−prepfile("\120\32\61\32\120\32\111\114\32\49\48\59\32\112\114\105\110\116\40\120\41\59\32\120\32\61\32\120\32\43\32\49")
111+prepfile("\u{78}\u{20}\u{3d}\u{20}\u{78}\u{20}\u{6f}\u{72}\u{20}\u{31}\u{30}\u{3b}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{78}\u{29}\u{3b}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{78}\u{20}\u{2b}\u{20}\u{31}")
112−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\34\64\37\115\34\32\108\117\97\32\37\115\32\62\32\37\115",prog,prog,out)
112+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{22}\u{40}\u{25}\u{73}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,prog,out)
113−checkout("\49\48\10\49\49\10")
113+checkout("\u{31}\u{30}\u{a}\u{31}\u{31}\u{a}")
114−NoRun("\76\85\65\95\73\78\73\84\58\49\58\32\109\115\103","\101\110\118\32\76\85\65\95\73\78\73\84\61\34\101\114\114\111\114\40\39\109\115\103\39\41\34\32\108\117\97")
114+NoRun("\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3a}\u{31}\u{3a}\u{20}\u{6d}\u{73}\u{67}","\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{22}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{27}\u{6d}\u{73}\u{67}\u{27}\u{29}\u{22}\u{20}\u{6c}\u{75}\u{61}")
115local defaultpath,defaultCpath
115local defaultpath,defaultCpath
116do
116do
117−prepfile("\112\114\105\110\116\40\112\97\99\107\97\103\101\46\112\97\116\104\44\32\112\97\99\107\97\103\101\46\99\112\97\116\104\41")
117+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{70}\u{61}\u{74}\u{68}\u{2c}\u{20}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{63}\u{70}\u{61}\u{74}\u{68}\u{29}")
118−RUN("\101\110\118\32\76\85\65\95\73\78\73\84\61\34\101\114\114\111\114\40\49\48\41\34\32\76\85\65\95\80\65\84\72\61\120\120\120\32\76\85\65\95\67\80\65\84\72\61\120\120\120\32\108\117\97\32\45\69\32\37\115\32\62\32\37\115",prog,out)
118+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{49}\u{4e}\u{49}\u{54}\u{3d}\u{22}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{31}\u{30}\u{29}\u{22}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{78}\u{78}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{43}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{78}\u{78}\u{78}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{45}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
119local output = getoutput()
119local output = getoutput()
120−defaultpath=string.match(output,"\94\40\46\45\41\9")
120+defaultpath=string.match(output,"\u{5e}\u{28}\u{2e}\u{2d}\u{29}\u{9}")
121−defaultCpath=string.match(output,"\9\40\46\45\41\36")
121+defaultCpath=string.match(output,"\u{9}\u{28}\u{2e}\u{2d}\u{29}\u{24}")
122−RUN("\101\110\118\32\45\105\32\108\117\97\32\37\115\32\62\32\37\115",prog,out)
122+RUN("\u{65}\u{6e}\u{76}\u{20}\u{2d}\u{69}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
123local out = getoutput()
123local out = getoutput()
124−assert(defaultpath == string.match(output,"\94\40\46\45\41\9"))
124+assert(defaultpath == string.match(output,"\u{5e}\u{28}\u{2e}\u{2d}\u{29}\u{9}"))
125−assert(defaultCpath == string.match(output,"\9\40\46\45\41\36"))
125+assert(defaultCpath == string.match(output,"\u{9}\u{28}\u{2e}\u{2d}\u{29}\u{24}"))
126end
126end
127−assert(not string.find(defaultpath,"\120\120\120") and string.find(defaultpath,"\108\117\97") and not string.find(defaultCpath,"\120\120\120") and string.find(defaultCpath,"\108\117\97"))
127+assert(not string.find(defaultpath,"\u{78}\u{78}\u{78}") and string.find(defaultpath,"\u{6c}\u{75}\u{61}") and not string.find(defaultCpath,"\u{78}\u{78}\u{78}") and string.find(defaultCpath,"\u{6c}\u{75}\u{61}"))
128local function convert
128local function convert
129(p)
129(p)
130−prepfile("\112\114\105\110\116\40\112\97\99\107\97\103\101\46\112\97\116\104\41")
130+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{70}\u{61}\u{63}\u{6b}\u{61}\u{67}\u{65}\u{2e}\u{70}\u{61}\u{74}\u{68}\u{29}")
131−RUN("\101\110\118\32\76\85\65\95\80\65\84\72\61\34\37\115\34\32\108\117\97\32\37\115\32\62\32\37\115",p,prog,out)
131+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{22}\u{25}\u{73}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",p,prog,out)
132local expected = getoutput()
132local expected = getoutput()
133expected=string.sub(expected,1,- 2)
133expected=string.sub(expected,1,- 2)
134−if string.find(p,"\59\59") then
134+if string.find(p,"\u{3b}\u{3b}") then
135−p=string.gsub(p,"\59\59","\59" .. defaultpath .. "\59")
135+p=string.gsub(p,"\u{3b}\u{3b}","\u{3b}" .. defaultpath .. "\u{3b}")
136−p=string.gsub(p,"\94\59","")
136+p=string.gsub(p,"\u{5e}\u{3b}","")
137−p=string.gsub(p,"\59\36","")
137+p=string.gsub(p,"\u{3b}\u{24}","")
138end
138end
139assert(p == expected)
139assert(p == expected)
140end
140end
141−convert("\59")
141+convert("\u{3b}")
142−convert("\59\59")
142+convert("\u{3b}\u{3b}")
143−convert("\97\59\59\98")
143+convert("\u{61}\u{3b}\u{3b}\u{62}")
144−convert("\59\59\98")
144+convert("\u{3b}\u{3b}\u{62}")
145−convert("\97\59\59")
145+convert("\u{61}\u{3b}\u{3b}")
146−convert("\97\59\98\59\59\99")
146+convert("\u{61}\u{3b}\u{62}\u{3b}\u{3b}\u{63}")
147−prepfile("\112\114\105\110\116\40\49\41\59\32\97\61\50\59\32\114\101\116\117\114\110\32\123\120\61\49\53\125")
147+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{29}\u{3b}\u{20}\u{61}\u{3d}\u{32}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{78}\u{3d}\u{31}\u{35}\u{7d}")
148−prepfile(("\112\114\105\110\116\40\97\41\59\32\112\114\105\110\116\40\95\71\91\39\37\115\39\93\46\120\41"):format(prog),false,otherprog)
148+prepfile(("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{61}\u{29}\u{3b}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{5f}\u{47}\u{5b}\u{27}\u{25}\u{73}\u{27}\u{5d}\u{2e}\u{78}\u{29}"):format(prog),false,otherprog)
149−RUN("\101\110\118\32\76\85\65\95\80\65\84\72\61\34\63\59\59\34\32\108\117\97\32\45\108\32\37\115\32\45\108\37\115\32\45\108\115\116\114\105\110\103\32\45\108\32\105\111\32\37\115\32\62\32\37\115",prog,otherprog,otherprog,out)
149+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{22}\u{3f}\u{3b}\u{3b}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{6c}\u{20}\u{25}\u{73}\u{20}\u{2d}\u{6c}\u{25}\u{73}\u{20}\u{2d}\u{6c}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{6c}\u{20}\u{69}\u{6f}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,otherprog,otherprog,out)
150−checkout("\49\10\50\10\49\53\10\50\10\49\53\10")
150+checkout("\u{31}\u{a}\u{32}\u{a}\u{31}\u{35}\u{a}\u{32}\u{a}\u{31}\u{35}\u{a}")
151−prepfile("\112\114\105\110\116\40\115\116\114\46\117\112\112\101\114\39\97\108\111\32\97\108\111\39\44\32\109\46\109\97\120\40\49\48\44\32\50\48\41\41")
151+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{73}\u{74}\u{72}\u{2e}\u{75}\u{70}\u{70}\u{65}\u{72}\u{27}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}\u{27}\u{2c}\u{20}\u{6d}\u{2e}\u{6d}\u{61}\u{78}\u{28}\u{31}\u{30}\u{2c}\u{20}\u{32}\u{30}\u{29}\u{29}")
152−RUN("\108\117\97\32\45\108\32\39\115\116\114\61\115\116\114\105\110\103\39\32\39\45\108\109\61\109\97\116\104\39\32\45\101\32\39\112\114\105\110\116\40\109\46\115\105\110\40\48\41\41\39\32\37\115\32\62\32\37\115",prog,out)
152+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{6c}\u{20}\u{27}\u{73}\u{74}\u{72}\u{3d}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{20}\u{27}\u{2d}\u{6c}\u{6d}\u{3d}\u{6d}\u{61}\u{74}\u{68}\u{27}\u{20}\u{2d}\u{65}\u{20}\u{27}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{6d}\u{2e}\u{73}\u{69}\u{6e}\u{28}\u{30}\u{29}\u{29}\u{27}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
153−checkout("\48\46\48\10\65\76\79\32\65\76\79\9\50\48\10")
153+checkout("\u{30}\u{2e}\u{30}\u{a}\u{41}\u{4c}\u{4f}\u{20}\u{41}\u{4c}\u{4f}\u{9}\u{32}\u{30}\u{a}")
154−RUN("\101\110\118\32\76\85\65\95\67\80\65\84\72\61\39\46\47\108\105\98\115\47\63\46\115\111\39\32\108\117\97\32\45\108\32\108\105\98\50\45\118\50\32\45\101\32\39\112\114\105\110\116\40\108\105\98\50\46\105\100\40\41\41\39\32\62\32\37\115",out)
154+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{43}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{27}\u{2e}\u{2f}\u{6c}\u{69}\u{62}\u{73}\u{2f}\u{3f}\u{2e}\u{73}\u{6f}\u{27}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{6c}\u{20}\u{6c}\u{69}\u{62}\u{32}\u{2d}\u{76}\u{32}\u{20}\u{2d}\u{65}\u{20}\u{27}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{6c}\u{69}\u{62}\u{32}\u{2e}\u{69}\u{64}\u{28}\u{29}\u{29}\u{27}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
155−checkout("\116\114\117\101\10")
155+checkout("\u{74}\u{72}\u{75}\u{65}\u{a}")
156−local a = "\32\32\97\115\115\101\114\116\40\35\97\114\103\32\61\61\32\51\32\97\110\100\32\97\114\103\91\49\93\32\61\61\32\39\97\39\32\97\110\100\10\32\32\32\32\32\32\32\32\32\97\114\103\91\50\93\32\61\61\32\39\98\39\32\97\110\100\32\97\114\103\91\51\93\32\61\61\32\39\99\39\41\10\32\32\97\115\115\101\114\116\40\97\114\103\91\45\49\93\32\61\61\32\39\45\45\39\32\97\110\100\32\97\114\103\91\45\50\93\32\61\61\32\34\45\101\32\34\32\97\110\100\32\97\114\103\91\45\51\93\32\61\61\32\39\37\115\39\41\10\32\32\97\115\115\101\114\116\40\97\114\103\91\52\93\32\61\61\32\117\110\100\101\102\32\97\110\100\32\97\114\103\91\45\52\93\32\61\61\32\117\110\100\101\102\41\10\32\32\108\111\99\97\108\32\97\44\32\98\44\32\99\32\61\32\46\46\46\10\32\32\97\115\115\101\114\116\40\46\46\46\32\61\61\32\39\97\39\32\97\110\100\32\97\32\61\61\32\39\97\39\32\97\110\100\32\98\32\61\61\32\39\98\39\32\97\110\100\32\99\32\61\61\32\39\99\39\41\10"
156+local a = "\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{23}\u{61}\u{72}\u{67}\u{20}\u{3d}\u{3d}\u{20}\u{33}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{31}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{61}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{32}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{62}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{33}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{63}\u{27}\u{29}\u{a}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{72}\u{67}\u{5b}\u{2d}\u{31}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{2d}\u{2d}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{2d}\u{32}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{22}\u{2d}\u{65}\u{20}\u{22}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{2d}\u{33}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{25}\u{73}\u{27}\u{29}\u{a}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{72}\u{67}\u{5b}\u{34}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{75}\u{6e}\u{64}\u{65}\u{66}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{72}\u{67}\u{5b}\u{2d}\u{34}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{75}\u{6e}\u{64}\u{65}\u{66}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{2c}\u{20}\u{62}\u{2c}\u{20}\u{63}\u{20}\u{3d}\u{20}\u{2e}\u{2e}\u{2e}\u{a}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{2e}\u{2e}\u{2e}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{61}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{61}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{61}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{62}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{62}\u{27}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{63}\u{20}\u{3d}\u{3d}\u{20}\u{27}\u{63}\u{27}\u{29}\u{a}"
157a=string.format(a,progname)
157a=string.format(a,progname)
158prepfile(a)
158prepfile(a)
159−RUN("\108\117\97\32\34\45\101\32\34\32\45\45\32\37\115\32\97\32\98\32\99",prog)
159+RUN("\u{6c}\u{75}\u{61}\u{20}\u{22}\u{2d}\u{65}\u{20}\u{22}\u{20}\u{2d}\u{2d}\u{20}\u{25}\u{73}\u{20}\u{61}\u{20}\u{62}\u{20}\u{63}",prog)
160−prepfile("\97\115\115\101\114\116\40\97\114\103\41")
160+prepfile("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{72}\u{67}\u{29}")
161−prepfile("\97\115\115\101\114\116\40\97\114\103\41",false,otherprog)
161+prepfile("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{61}\u{72}\u{67}\u{29}",false,otherprog)
162−RUN("\101\110\118\32\76\85\65\95\80\65\84\72\61\34\63\59\59\34\32\108\117\97\32\45\108\37\115\32\45\32\60\32\37\115",prog,otherprog)
162+RUN("\u{65}\u{6e}\u{76}\u{20}\u{4c}\u{55}\u{41}\u{5f}\u{50}\u{41}\u{54}\u{48}\u{3d}\u{22}\u{3f}\u{3b}\u{3b}\u{22}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{6c}\u{25}\u{73}\u{20}\u{2d}\u{20}\u{3c}\u{20}\u{25}\u{73}",prog,otherprog)
163−RUN("\101\99\104\111\32\34\112\114\105\110\116\40\46\46\46\41\34\32\124\32\108\117\97\32\45\101\32\34\97\114\103\91\49\93\32\61\32\49\48\48\34\32\45\32\62\32\37\115",out)
163+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{2e}\u{2e}\u{2e}\u{29}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{61}\u{72}\u{67}\u{5b}\u{31}\u{5d}\u{20}\u{3d}\u{20}\u{31}\u{30}\u{30}\u{22}\u{20}\u{2d}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
164−checkout("\49\48\48\10")
164+checkout("\u{31}\u{30}\u{30}\u{a}")
165−NoRun("\39\97\114\103\39\32\105\115\32\110\111\116\32\97\32\116\97\98\108\101","\101\99\104\111\32\34\34\32\124\32\108\117\97\32\45\101\32\34\97\114\103\32\61\32\49\34\32\45")
165+NoRun("\u{27}\u{61}\u{72}\u{67}\u{27}\u{20}\u{69}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{61}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}","\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{61}\u{72}\u{67}\u{20}\u{3d}\u{20}\u{31}\u{22}\u{20}\u{2d}")
166−RUN("\101\99\104\111\32\49\48\32\124\32\108\117\97\32\45\101\32\34\112\114\105\110\116\61\110\105\108\34\32\45\105\32\62\32\47\100\101\118\47\110\117\108\108\32\50\62\32\37\115",out)
166+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{31}\u{30}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{3d}\u{6e}\u{69}\u{6c}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3e}\u{20}\u{2f}\u{64}\u{65}\u{76}\u{2f}\u{6e}\u{75}\u{6c}\u{6c}\u{20}\u{32}\u{3e}\u{20}\u{25}\u{73}",out)
167−assert(string.find(getoutput(),"\101\114\114\111\114\32\99\97\108\108\105\110\103\32\39\112\114\105\110\116\39"))
167+assert(string.find(getoutput(),"\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{27}"))
168−RUN("\101\99\104\111\32\34\105\111\46\115\116\100\101\114\114\58\119\114\105\116\101\40\49\48\48\48\41\10\99\111\110\116\34\32\124\32\108\117\97\32\45\101\32\34\114\101\113\117\105\114\101\39\100\101\98\117\103\39\46\100\101\98\117\103\40\41\34\32\50\62\32\37\115",out)
168+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{65}\u{72}\u{72}\u{3a}\u{77}\u{72}\u{69}\u{74}\u{65}\u{28}\u{31}\u{30}\u{30}\u{30}\u{29}\u{a}\u{63}\u{6f}\u{6e}\u{74}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{27}\u{64}\u{65}\u{62}\u{75}\u{67}\u{27}\u{2e}\u{64}\u{65}\u{62}\u{75}\u{67}\u{28}\u{29}\u{22}\u{20}\u{32}\u{3e}\u{20}\u{25}\u{73}",out)
169−checkout("\108\117\97\95\100\101\98\117\103\62\32\49\48\48\48\108\117\97\95\100\101\98\117\103\62\32")
169+checkout("\u{6c}\u{75}\u{61}\u{5f}\u{64}\u{65}\u{62}\u{75}\u{67}\u{3e}\u{20}\u{31}\u{30}\u{30}\u{30}\u{6c}\u{75}\u{61}\u{5f}\u{64}\u{65}\u{62}\u{75}\u{67}\u{3e}\u{20}")
170−print("\116\101\115\116\105\110\103\32\119\97\114\110\105\110\103\115")
170+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{73}")
171−RUN("\101\99\104\111\32\34\105\111\46\115\116\100\101\114\114\58\119\114\105\116\101\40\49\41\59\32\119\97\114\110\91\91\88\88\88\93\93\34\32\124\32\108\117\97\32\50\62\32\37\115",out)
171+RUN("\u{65}\u{63}\u{68}\u{6f}\u{20}\u{22}\u{69}\u{6f}\u{2e}\u{73}\u{74}\u{64}\u{65}\u{72}\u{72}\u{3a}\u{77}\u{72}\u{69}\u{74}\u{65}\u{28}\u{31}\u{29}\u{3b}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{5b}\u{5b}\u{58}\u{58}\u{58}\u{5d}\u{5d}\u{22}\u{20}\u{7c}\u{20}\u{6c}\u{75}\u{61}\u{20}\u{32}\u{3e}\u{20}\u{25}\u{73}",out)
172−checkout("\49")
172+checkout("\u{31}")
173−prepfile("\119\97\114\110\40\34\64\97\108\108\111\119\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\117\110\107\110\111\119\110\32\99\111\110\116\114\111\108\44\32\105\103\110\111\114\101\100\10\119\97\114\110\40\34\64\111\102\102\34\44\32\34\88\88\88\34\44\32\34\64\111\102\102\34\41\32\32\45\45\32\116\104\101\115\101\32\97\114\101\32\110\111\116\32\99\111\110\116\114\111\108\32\109\101\115\115\97\103\101\115\10\119\97\114\110\40\34\64\111\102\102\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\116\104\105\115\32\111\110\101\32\105\115\10\119\97\114\110\40\34\64\111\110\34\44\32\34\89\89\89\34\44\32\34\64\111\110\34\41\32\32\32\32\45\45\32\110\111\116\32\99\111\110\116\114\111\108\44\32\98\117\116\32\119\97\114\110\32\105\115\32\111\102\102\10\119\97\114\110\40\34\64\111\102\102\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\107\101\101\112\32\105\116\32\111\102\102\10\119\97\114\110\40\34\64\111\110\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\114\101\115\116\97\114\116\32\119\97\114\110\105\110\103\115\10\119\97\114\110\40\34\34\44\32\34\64\111\110\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\97\103\97\105\110\44\32\110\111\32\99\111\110\116\114\111\108\44\32\114\101\97\108\32\119\97\114\110\105\110\103\10\119\97\114\110\40\34\64\111\110\34\41\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\45\45\32\107\101\101\112\32\105\116\32\34\115\116\97\114\116\101\100\34\10\119\97\114\110\40\34\90\34\44\32\34\90\34\44\32\34\90\34\41\32\32\32\32\32\32\32\32\32\32\45\45\32\99\111\109\109\111\110\32\119\97\114\110\105\110\103\10")
173+prepfile("\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{61}\u{6c}\u{6c}\u{6f}\u{77}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{75}\u{6e}\u{6b}\u{6e}\u{6f}\u{77}\u{6e}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{72}\u{6f}\u{6c}\u{2c}\u{20}\u{69}\u{67}\u{6e}\u{6f}\u{72}\u{65}\u{64}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{66}\u{66}\u{22}\u{2c}\u{20}\u{22}\u{58}\u{58}\u{58}\u{22}\u{2c}\u{20}\u{22}\u{40}\u{6f}\u{66}\u{66}\u{22}\u{29}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{74}\u{68}\u{65}\u{73}\u{65}\u{20}\u{61}\u{72}\u{65}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{72}\u{6f}\u{6c}\u{20}\u{6d}\u{65}\u{73}\u{73}\u{61}\u{67}\u{65}\u{73}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{66}\u{66}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{74}\u{68}\u{69}\u{73}\u{20}\u{6f}\u{6e}\u{65}\u{20}\u{69}\u{73}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{6e}\u{22}\u{2c}\u{20}\u{22}\u{59}\u{59}\u{59}\u{22}\u{2c}\u{20}\u{22}\u{40}\u{6f}\u{6e}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{72}\u{6f}\u{6c}\u{2c}\u{20}\u{62}\u{75}\u{74}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{20}\u{69}\u{73}\u{20}\u{6f}\u{66}\u{66}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{66}\u{66}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{6b}\u{65}\u{65}\u{70}\u{20}\u{69}\u{74}\u{20}\u{6f}\u{66}\u{66}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{6e}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{73}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{22}\u{2c}\u{20}\u{22}\u{40}\u{6f}\u{6e}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{61}\u{67}\u{61}\u{69}\u{6e}\u{2c}\u{20}\u{6e}\u{6f}\u{20}\u{63}\u{6f}\u{6e}\u{74}\u{72}\u{6f}\u{6c}\u{2c}\u{20}\u{72}\u{65}\u{61}\u{6c}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{6f}\u{6e}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{6b}\u{65}\u{65}\u{70}\u{20}\u{69}\u{74}\u{20}\u{22}\u{73}\u{74}\u{61}\u{72}\u{74}\u{65}\u{64}\u{22}\u{a}\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{5a}\u{22}\u{2c}\u{20}\u{22}\u{5a}\u{22}\u{2c}\u{20}\u{22}\u{5a}\u{22}\u{29}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{63}\u{6f}\u{6d}\u{6d}\u{6f}\u{6e}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{a}")
174−RUN("\108\117\97\32\45\87\32\37\115\32\50\62\32\37\115",prog,out)
174+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{57}\u{20}\u{25}\u{73}\u{20}\u{32}\u{3e}\u{20}\u{25}\u{73}",prog,out)
175−checkout("\76\117\97\32\119\97\114\110\105\110\103\58\32\64\111\102\102\88\88\88\64\111\102\102\10\76\117\97\32\119\97\114\110\105\110\103\58\32\64\111\110\10\76\117\97\32\119\97\114\110\105\110\103\58\32\90\90\90\10")
175+checkout("\u{4c}\u{75}\u{61}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{3a}\u{20}\u{40}\u{6f}\u{66}\u{66}\u{58}\u{58}\u{58}\u{40}\u{6f}\u{66}\u{66}\u{a}\u{4c}\u{75}\u{61}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{3a}\u{20}\u{40}\u{6f}\u{6e}\u{a}\u{4c}\u{75}\u{61}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{3a}\u{20}\u{5a}\u{5a}\u{5a}\u{a}")
176−prepfile("\119\97\114\110\40\34\64\97\108\108\111\119\34\41\10\45\45\32\99\114\101\97\116\101\32\116\119\111\32\111\98\106\101\99\116\115\32\116\111\32\98\101\32\102\105\110\97\108\105\122\101\100\32\119\104\101\110\32\99\108\111\115\105\110\103\32\115\116\97\116\101\10\45\45\32\116\104\101\32\101\114\114\111\114\115\32\105\110\32\116\104\101\32\102\105\110\97\108\105\122\101\114\115\32\109\117\115\116\32\103\101\110\101\114\97\116\101\32\119\97\114\110\105\110\103\115\10\117\49\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\103\99\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\101\114\114\111\114\40\34\88\89\90\34\41\32\101\110\100\125\41\10\117\50\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\103\99\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\101\114\114\111\114\40\34\90\89\88\34\41\32\101\110\100\125\41\10")
176+prepfile("\u{77}\u{61}\u{72}\u{6e}\u{28}\u{22}\u{40}\u{61}\u{6c}\u{6c}\u{6f}\u{77}\u{22}\u{29}\u{a}\u{2d}\u{2d}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{74}\u{77}\u{6f}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{73}\u{20}\u{74}\u{6f}\u{20}\u{62}\u{65}\u{20}\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{77}\u{68}\u{65}\u{6e}\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{a}\u{2d}\u{2d}\u{20}\u{74}\u{68}\u{65}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{74}\u{68}\u{65}\u{20}\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{69}\u{7a}\u{65}\u{72}\u{73}\u{20}\u{6d}\u{75}\u{73}\u{74}\u{20}\u{67}\u{65}\u{6e}\u{65}\u{72}\u{61}\u{74}\u{65}\u{20}\u{77}\u{61}\u{72}\u{6e}\u{69}\u{6e}\u{67}\u{73}\u{a}\u{75}\u{31}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{67}\u{63}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{22}\u{58}\u{59}\u{5a}\u{22}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{75}\u{32}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{67}\u{63}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{22}\u{5a}\u{59}\u{58}\u{22}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}")
177−RUN("\108\117\97\32\45\87\32\37\115\32\50\62\32\37\115",prog,out)
177+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{57}\u{20}\u{25}\u{73}\u{20}\u{32}\u{3e}\u{20}\u{25}\u{73}",prog,out)
178−checkprogout("\90\89\88\41\10\88\89\90\41\10")
178+checkprogout("\u{5a}\u{59}\u{58}\u{29}\u{a}\u{58}\u{59}\u{5a}\u{29}\u{a}")
179−prepfile("\45\45\32\115\104\111\117\108\100\32\98\101\32\99\97\108\108\101\100\32\108\97\115\116\10\112\114\105\110\116\40\34\99\114\101\97\116\105\110\103\32\49\34\41\10\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\103\99\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\112\114\105\110\116\40\49\41\32\101\110\100\125\41\10\10\112\114\105\110\116\40\34\99\114\101\97\116\105\110\103\32\50\34\41\10\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\103\99\32\61\32\102\117\110\99\116\105\111\110\32\40\41\10\32\32\112\114\105\110\116\40\34\50\34\41\10\32\32\112\114\105\110\116\40\34\99\114\101\97\116\105\110\103\32\51\34\41\10\32\32\45\45\32\116\104\105\115\32\102\105\110\97\108\105\122\101\114\32\115\104\111\117\108\100\32\110\111\116\32\98\101\32\99\97\108\108\101\100\44\32\97\115\32\111\98\106\101\99\116\32\119\105\108\108\32\98\101\10\32\32\45\45\32\99\114\101\97\116\101\100\32\97\102\116\101\114\32\39\108\117\97\95\99\108\111\115\101\39\32\104\97\115\32\98\101\101\110\32\99\97\108\108\101\100\10\32\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\103\99\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\112\114\105\110\116\40\51\41\32\101\110\100\125\41\10\32\32\112\114\105\110\116\40\99\111\108\108\101\99\116\103\97\114\98\97\103\101\40\41\41\32\32\32\32\45\45\32\99\97\110\110\111\116\32\99\97\108\108\32\99\111\108\108\101\99\116\111\114\32\104\101\114\101\10\32\32\111\115\46\101\120\105\116\40\48\44\32\116\114\117\101\41\10\101\110\100\125\41\10")
179+prepfile("\u{2d}\u{2d}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{62}\u{65}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{65}\u{64}\u{20}\u{6c}\u{61}\u{73}\u{74}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{22}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{22}\u{29}\u{a}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{67}\u{63}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{22}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{32}\u{22}\u{29}\u{a}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{67}\u{63}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{a}\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{22}\u{32}\u{22}\u{29}\u{a}\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{22}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{33}\u{22}\u{29}\u{a}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{74}\u{68}\u{69}\u{73}\u{20}\u{66}\u{69}\u{6e}\u{61}\u{6c}\u{69}\u{7a}\u{65}\u{72}\u{20}\u{73}\u{68}\u{6f}\u{75}\u{6c}\u{64}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{65}\u{64}\u{2c}\u{20}\u{61}\u{73}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{20}\u{77}\u{69}\u{6c}\u{6c}\u{20}\u{62}\u{65}\u{a}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{64}\u{20}\u{61}\u{66}\u{74}\u{65}\u{72}\u{20}\u{27}\u{6c}\u{75}\u{61}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{27}\u{20}\u{68}\u{61}\u{73}\u{20}\u{62}\u{65}\u{65}\u{6e}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{65}\u{64}\u{a}\u{20}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{67}\u{63}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{67}\u{61}\u{72}\u{62}\u{61}\u{67}\u{65}\u{28}\u{29}\u{29}\u{20}\u{20}\u{20}\u{20}\u{2d}\u{2d}\u{20}\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{63}\u{61}\u{6c}\u{6c}\u{20}\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}\u{6f}\u{72}\u{20}\u{68}\u{65}\u{72}\u{65}\u{a}\u{20}\u{20}\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{30}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}\u{a}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}")
180−RUN("\108\117\97\32\45\87\32\37\115\32\62\32\37\115",prog,out)
180+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{57}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
181−checkout("\99\114\101\97\116\105\110\103\32\49\10\99\114\101\97\116\105\110\103\32\50\10\50\10\99\114\101\97\116\105\110\103\32\51\10\110\105\108\10\49\10")
181+checkout("\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{31}\u{a}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{32}\u{a}\u{32}\u{a}\u{63}\u{72}\u{65}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{33}\u{a}\u{6e}\u{69}\u{6c}\u{a}\u{31}\u{a}")
182−prepfile("\112\114\105\110\116\40\40\123\46\46\46\125\41\91\51\48\93\41")
182+prepfile("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{28}\u{7b}\u{2e}\u{2e}\u{2e}\u{7d}\u{29}\u{5b}\u{33}\u{30}\u{5d}\u{29}")
183−RUN("\108\117\97\32\37\115\32\37\115\32\62\32\37\115",prog,string.rep("\32\97",30),out)
183+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,string.rep("\u{20}\u{61}",30),out)
184−checkout("\97\10")
184+checkout("\u{61}\u{a}")
185−RUN("\108\117\97\32\34\45\101\112\114\105\110\116\40\49\41\34\32\45\101\97\61\51\32\45\101\32\34\112\114\105\110\116\40\97\41\34\32\62\32\37\115",out)
185+RUN("\u{6c}\u{75}\u{61}\u{20}\u{22}\u{2d}\u{65}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{29}\u{22}\u{20}\u{2d}\u{65}\u{61}\u{3d}\u{33}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{61}\u{29}\u{22}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
186−checkout("\49\10\51\10")
186+checkout("\u{31}\u{a}\u{33}\u{a}")
187−prepfile("\40\54\42\50\45\54\41\32\45\45\32\61\61\61\10\97\32\61\10\49\48\10\112\114\105\110\116\40\97\41\10\97")
187+prepfile("\u{28}\u{36}\u{2a}\u{32}\u{2d}\u{36}\u{29}\u{20}\u{2d}\u{2d}\u{20}\u{3d}\u{3d}\u{3d}\u{a}\u{61}\u{20}\u{3d}\u{a}\u{31}\u{30}\u{a}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{61}\u{29}\u{a}\u{61}")
188−RUN("\108\117\97\32\45\101\34\95\80\82\79\77\80\84\61\39\39\32\95\80\82\79\77\80\84\50\61\39\39\34\32\45\105\32\60\32\37\115\32\62\32\37\115",prog,out)
188+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{22}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{3d}\u{27}\u{27}\u{20}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{32}\u{3d}\u{27}\u{27}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
189−checkprogout("\54\10\49\48\10\49\48\10\10")
189+checkprogout("\u{36}\u{a}\u{31}\u{30}\u{a}\u{31}\u{30}\u{a}\u{a}")
190−prepfile("\97\32\61\32\91\91\98\10\99\10\100\10\101\93\93\10\61\97")
190+prepfile("\u{61}\u{20}\u{3d}\u{20}\u{5b}\u{5b}\u{62}\u{a}\u{63}\u{a}\u{64}\u{a}\u{65}\u{5d}\u{5d}\u{a}\u{3d}\u{61}")
191−RUN("\108\117\97\32\45\101\34\95\80\82\79\77\80\84\61\39\39\32\95\80\82\79\77\80\84\50\61\39\39\34\32\45\105\32\60\32\37\115\32\62\32\37\115",prog,out)
191+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{22}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{3d}\u{27}\u{27}\u{20}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{32}\u{3d}\u{27}\u{27}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
192−checkprogout("\98\10\99\10\100\10\101\10\10")
192+checkprogout("\u{62}\u{a}\u{63}\u{a}\u{64}\u{a}\u{65}\u{a}\u{a}")
193−local prompt = "\97\108\111"
193+local prompt = "\u{61}\u{6c}\u{6f}"
194−prepfile("\32\45\45\10\97\32\61\32\50\10")
194+prepfile("\u{20}\u{2d}\u{2d}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{a}")
195−RUN("\108\117\97\32\34\45\101\95\80\82\79\77\80\84\61\39\37\115\39\34\32\45\105\32\60\32\37\115\32\62\32\37\115",prompt,prog,out)
195+RUN("\u{6c}\u{75}\u{61}\u{20}\u{22}\u{2d}\u{65}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{3d}\u{27}\u{25}\u{73}\u{27}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prompt,prog,out)
196local t = getoutput()
196local t = getoutput()
197−assert(string.find(t,prompt .. "\46\42" .. prompt .. "\46\42" .. prompt))
197+assert(string.find(t,prompt .. "\u{2e}\u{2a}" .. prompt .. "\u{2e}\u{2a}" .. prompt))
198−prepfile("\32\45\45\10\97\32\61\32\50\10")
198+prepfile("\u{20}\u{2d}\u{2d}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{a}")
199−RUN("\108\117\97\32\45\105\32\60\32\37\115\32\62\32\37\115",prog,out)
199+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
200local t = getoutput()
200local t = getoutput()
201−prompt="\62\32"
201+prompt="\u{3e}\u{20}"
202−assert(string.find(t,prompt .. "\46\42" .. prompt .. "\46\42" .. prompt))
202+assert(string.find(t,prompt .. "\u{2e}\u{2a}" .. prompt .. "\u{2e}\u{2a}" .. prompt))
203−prompt="\108\111\99\97\108\32\67\32\61\32\48\59\95\80\82\79\77\80\84\61\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\123\95\95\116\111\115\116\114\105\110\103\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\67\32\61\32\67\32\43\32\49\59\32\114\101\116\117\114\110\32\67\32\101\110\100\125\41"
203+prompt="\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{43}\u{20}\u{3d}\u{20}\u{30}\u{3b}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{3d}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{7b}\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{43}\u{20}\u{3d}\u{20}\u{43}\u{20}\u{2b}\u{20}\u{31}\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{43}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}"
204−prepfile("\32\45\45\10\97\32\61\32\50\10")
204+prepfile("\u{20}\u{2d}\u{2d}\u{a}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{a}")
205−RUN("\108\117\97\32\45\101\32\34\37\115\34\32\45\105\32\60\32\37\115\32\62\32\37\115",prompt,prog,out)
205+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{25}\u{73}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prompt,prog,out)
206local t = getoutput()
206local t = getoutput()
207−assert(string.find(t,"\49\32\45\45\10\50\97\32\61\32\50\10\51\10",1,true))
207+assert(string.find(t,"\u{31}\u{20}\u{2d}\u{2d}\u{a}\u{32}\u{61}\u{20}\u{3d}\u{20}\u{32}\u{a}\u{33}\u{a}",1,true))
208−prepfile("\100\101\98\117\103\32\61\32\114\101\113\117\105\114\101\32\34\100\101\98\117\103\34\10\109\32\61\32\123\120\61\48\125\10\115\101\116\109\101\116\97\116\97\98\108\101\40\109\44\32\123\95\95\116\111\115\116\114\105\110\103\32\61\32\102\117\110\99\116\105\111\110\40\120\41\10\32\32\114\101\116\117\114\110\32\116\111\115\116\114\105\110\103\40\100\101\98\117\103\46\103\101\116\105\110\102\111\40\52\41\46\99\117\114\114\101\110\116\108\105\110\101\32\43\32\120\46\120\41\10\101\110\100\125\41\10\101\114\114\111\114\40\109\41\10")
208+prepfile("\u{64}\u{65}\u{62}\u{75}\u{67}\u{20}\u{3d}\u{20}\u{72}\u{65}\u{71}\u{75}\u{69}\u{72}\u{65}\u{20}\u{22}\u{64}\u{65}\u{62}\u{75}\u{67}\u{22}\u{a}\u{6d}\u{20}\u{3d}\u{20}\u{7b}\u{78}\u{3d}\u{30}\u{7d}\u{a}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{6d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{28}\u{78}\u{29}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{28}\u{64}\u{65}\u{62}\u{75}\u{67}\u{2e}\u{67}\u{65}\u{74}\u{69}\u{6e}\u{66}\u{6f}\u{28}\u{34}\u{29}\u{2e}\u{63}\u{75}\u{72}\u{72}\u{65}\u{6e}\u{74}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{2b}\u{20}\u{78}\u{2e}\u{78}\u{29}\u{a}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{65}\u{72}\u{72}\u{6f}\u{72}\u{28}\u{6d}\u{29}\u{a}")
209−NoRun(progname .. "\58\32\54\10","\108\117\97\32\37\115",prog)
209+NoRun(progname .. "\u{3a}\u{20}\u{36}\u{a}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
210−prepfile("\101\114\114\111\114\123\125")
210+prepfile("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{7b}\u{7d}")
211−NoRun("\101\114\114\111\114\32\111\98\106\101\99\116\32\105\115\32\97\32\116\97\98\108\101\32\118\97\108\117\101","\108\117\97\32\37\115",prog)
211+NoRun("\u{65}\u{72}\u{72}\u{6f}\u{72}\u{20}\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{20}\u{69}\u{73}\u{20}\u{61}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
212−local s = "\32\45\45\10\102\117\110\99\116\105\111\110\32\102\32\40\32\120\32\41\10\32\32\108\111\99\97\108\32\97\32\61\32\91\91\10\120\117\120\117\10\93\93\10\32\32\108\111\99\97\108\32\98\32\61\32\34\92\10\120\117\120\117\92\110\34\10\32\32\105\102\32\120\32\61\61\32\49\49\32\116\104\101\110\32\114\101\116\117\114\110\32\49\32\43\32\49\50\32\44\32\50\32\43\32\50\48\32\101\110\100\32\32\45\45\91\91\32\116\101\115\116\32\109\117\108\116\105\112\108\101\32\114\101\116\117\114\110\115\32\93\93\10\32\32\114\101\116\117\114\110\32\120\32\43\32\49\10\32\32\45\45\92\92\10\101\110\100\10\114\101\116\117\114\110\40\32\102\40\32\49\48\48\32\41\32\41\10\97\115\115\101\114\116\40\32\97\32\61\61\32\98\32\41\10\100\111\32\114\101\116\117\114\110\32\102\40\32\49\49\32\41\32\101\110\100\32\32"
212+local s = "\u{20}\u{2d}\u{2d}\u{a}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{66}\u{20}\u{28}\u{20}\u{78}\u{20}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{61}\u{20}\u{3d}\u{20}\u{5b}\u{5b}\u{a}\u{78}\u{75}\u{78}\u{75}\u{a}\u{5d}\u{5d}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{62}\u{20}\u{3d}\u{20}\u{22}\u{5c}\u{a}\u{78}\u{75}\u{78}\u{75}\u{5c}\u{6e}\u{22}\u{a}\u{20}\u{20}\u{69}\u{66}\u{20}\u{78}\u{20}\u{3d}\u{3d}\u{20}\u{31}\u{31}\u{20}\u{74}\u{68}\u{65}\u{6e}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{20}\u{2b}\u{20}\u{31}\u{32}\u{20}\u{2c}\u{20}\u{32}\u{20}\u{2b}\u{20}\u{32}\u{30}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}\u{2d}\u{2d}\u{5b}\u{5b}\u{20}\u{74}\u{65}\u{73}\u{74}\u{20}\u{6d}\u{75}\u{6c}\u{74}\u{69}\u{70}\u{6c}\u{65}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{73}\u{20}\u{5d}\u{5d}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{20}\u{2b}\u{20}\u{31}\u{a}\u{20}\u{20}\u{2d}\u{2d}\u{5c}\u{5c}\u{a}\u{65}\u{6e}\u{64}\u{a}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{28}\u{20}\u{66}\u{28}\u{20}\u{31}\u{30}\u{30}\u{20}\u{29}\u{20}\u{29}\u{a}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{20}\u{61}\u{20}\u{3d}\u{3d}\u{20}\u{62}\u{20}\u{29}\u{a}\u{64}\u{6f}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{66}\u{28}\u{20}\u{31}\u{31}\u{20}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{20}\u{20}"
213−s=string.gsub(s,"\32","\10\10")
213+s=string.gsub(s,"\u{20}","\u{a}\u{a}")
214prepfile(s)
214prepfile(s)
215−RUN("\108\117\97\32\45\101\34\95\80\82\79\77\80\84\61\39\39\32\95\80\82\79\77\80\84\50\61\39\39\34\32\45\105\32\60\32\37\115\32\62\32\37\115",prog,out)
215+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{22}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{3d}\u{27}\u{27}\u{20}\u{5f}\u{50}\u{52}\u{4f}\u{4d}\u{50}\u{54}\u{32}\u{3d}\u{27}\u{27}\u{22}\u{20}\u{2d}\u{69}\u{20}\u{3c}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
216−checkprogout("\49\48\49\10\49\51\9\50\50\10\10")
216+checkprogout("\u{31}\u{30}\u{31}\u{a}\u{31}\u{33}\u{9}\u{32}\u{32}\u{a}\u{a}")
217−prepfile("\35\99\111\109\109\101\110\116\32\105\110\32\49\115\116\32\108\105\110\101\32\119\105\116\104\111\117\116\32\92\110\32\97\116\32\116\104\101\32\101\110\100")
217+prepfile("\u{23}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{69}\u{6e}\u{20}\u{31}\u{73}\u{74}\u{20}\u{6c}\u{69}\u{6e}\u{65}\u{20}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{5c}\u{6e}\u{20}\u{61}\u{74}\u{20}\u{74}\u{68}\u{65}\u{20}\u{65}\u{6e}\u{64}")
218−RUN("\108\117\97\32\37\115",prog)
218+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
219−prepfile("\35\99\111\109\109\101\110\116\10" .. string.dump(load("\112\114\105\110\116\40\51\41")),true)
219+prepfile("\u{23}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{a}" .. string.dump(load("\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{33}\u{29}")),true)
220−RUN("\108\117\97\32\37\115\32\62\32\37\115",prog,out)
220+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
221−checkout("\51\10")
221+checkout("\u{33}\u{a}")
222−prepfile(string.format("\105\111\46\111\117\116\112\117\116\40\37\113\41\59\32\105\111\46\119\114\105\116\101\40\39\97\108\111\39\41",out))
222+prepfile(string.format("\u{69}\u{6f}\u{2e}\u{6f}\u{75}\u{74}\u{70}\u{75}\u{74}\u{28}\u{25}\u{71}\u{29}\u{3b}\u{20}\u{69}\u{6f}\u{2e}\u{77}\u{72}\u{69}\u{74}\u{65}\u{28}\u{27}\u{61}\u{6c}\u{6f}\u{27}\u{29}",out))
223−RUN("\108\117\97\32\37\115",prog)
223+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
224−checkout("\97\108\111")
224+checkout("\u{61}\u{6c}\u{6f}")
225−RUN("\108\117\97\32\45\118\32\32\45\101\34\112\114\105\110\116\39\104\101\108\108\111\39\34\32\62\32\37\115",out)
225+RUN("\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{76}\u{20}\u{20}\u{2d}\u{65}\u{22}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{27}\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{27}\u{22}\u{20}\u{3e}\u{20}\u{25}\u{73}",out)
226t=getoutput()
226t=getoutput()
227−assert(string.find(t,"\80\85\67\37\45\82\105\111\10\104\101\108\108\111"))
227+assert(string.find(t,"\u{50}\u{55}\u{43}\u{25}\u{2d}\u{52}\u{69}\u{6f}\u{a}\u{68}\u{65}\u{6c}\u{6c}\u{6f}"))
228−prepfile("\111\115\46\101\120\105\116\40\110\105\108\44\32\116\114\117\101\41")
228+prepfile("\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{6e}\u{69}\u{6c}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}")
229−RUN("\108\117\97\32\37\115",prog)
229+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
230−prepfile("\111\115\46\101\120\105\116\40\48\44\32\116\114\117\101\41")
230+prepfile("\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{30}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}")
231−RUN("\108\117\97\32\37\115",prog)
231+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
232−prepfile("\111\115\46\101\120\105\116\40\116\114\117\101\44\32\116\114\117\101\41")
232+prepfile("\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{74}\u{72}\u{75}\u{65}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}")
233−RUN("\108\117\97\32\37\115",prog)
233+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
234−prepfile("\111\115\46\101\120\105\116\40\49\44\32\116\114\117\101\41")
234+prepfile("\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{31}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}")
235−NoRun("","\108\117\97\32\37\115",prog)
235+NoRun("","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
236−prepfile("\111\115\46\101\120\105\116\40\102\97\108\115\101\44\32\116\114\117\101\41")
236+prepfile("\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{66}\u{61}\u{6c}\u{73}\u{65}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}")
237−NoRun("","\108\117\97\32\37\115",prog)
237+NoRun("","\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}",prog)
238−prepfile("\32\32\108\111\99\97\108\32\120\32\60\99\108\111\115\101\62\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\10\32\32\32\32\32\32\32\32\123\95\95\99\108\111\115\101\32\61\32\102\117\110\99\116\105\111\110\32\40\115\101\108\102\44\32\101\114\114\41\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\97\115\115\101\114\116\40\101\114\114\32\61\61\32\110\105\108\41\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\112\114\105\110\116\40\34\79\107\34\41\10\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\101\110\100\125\41\10\32\32\108\111\99\97\108\32\101\49\32\60\99\108\111\115\101\62\32\61\32\115\101\116\109\101\116\97\116\97\98\108\101\40\123\125\44\32\123\95\95\99\108\111\115\101\32\61\32\102\117\110\99\116\105\111\110\32\40\41\32\112\114\105\110\116\40\49\50\48\41\32\101\110\100\125\41\10\32\32\111\115\46\101\120\105\116\40\116\114\117\101\44\32\116\114\117\101\41\10")
238+prepfile("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3c}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{3e}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{7b}\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{73}\u{65}\u{6c}\u{66}\u{2c}\u{20}\u{65}\u{72}\u{72}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{65}\u{72}\u{72}\u{20}\u{3d}\u{3d}\u{20}\u{6e}\u{69}\u{6c}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{22}\u{4f}\u{6b}\u{22}\u{29}\u{a}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{65}\u{31}\u{20}\u{3c}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{3e}\u{20}\u{3d}\u{20}\u{73}\u{65}\u{74}\u{6d}\u{65}\u{74}\u{61}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{28}\u{7b}\u{7d}\u{2c}\u{20}\u{7b}\u{5f}\u{5f}\u{63}\u{6c}\u{6f}\u{73}\u{65}\u{20}\u{3d}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{32}\u{30}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{7d}\u{29}\u{a}\u{20}\u{20}\u{6f}\u{73}\u{2e}\u{65}\u{78}\u{69}\u{74}\u{28}\u{74}\u{72}\u{75}\u{65}\u{2c}\u{20}\u{74}\u{72}\u{75}\u{65}\u{29}\u{a}")
239−RUN("\108\117\97\32\37\115\32\62\32\37\115",prog,out)
239+RUN("\u{6c}\u{75}\u{61}\u{20}\u{25}\u{73}\u{20}\u{3e}\u{20}\u{25}\u{73}",prog,out)
240−checkprogout("\49\50\48\10\79\107\10")
240+checkprogout("\u{31}\u{32}\u{30}\u{a}\u{4f}\u{6b}\u{a}")
241assert(os.remove(prog))
241assert(os.remove(prog))
242assert(os.remove(otherprog))
242assert(os.remove(otherprog))
243assert(not os.remove(out))
243assert(not os.remove(out))
244−NoRun("\117\110\114\101\99\111\103\110\105\122\101\100\32\111\112\116\105\111\110\32\39\45\104\39","\108\117\97\32\45\104")
244+NoRun("\u{75}\u{6e}\u{72}\u{65}\u{63}\u{6f}\u{67}\u{6e}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{2d}\u{68}\u{27}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{68}")
245−NoRun("\117\110\114\101\99\111\103\110\105\122\101\100\32\111\112\116\105\111\110\32\39\45\45\45\39","\108\117\97\32\45\45\45")
245+NoRun("\u{75}\u{6e}\u{72}\u{65}\u{63}\u{6f}\u{67}\u{6e}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{2d}\u{2d}\u{2d}\u{27}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{2d}\u{2d}")
246−NoRun("\117\110\114\101\99\111\103\110\105\122\101\100\32\111\112\116\105\111\110\32\39\45\69\120\39","\108\117\97\32\45\69\120")
246+NoRun("\u{75}\u{6e}\u{72}\u{65}\u{63}\u{6f}\u{67}\u{6e}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{2d}\u{45}\u{78}\u{27}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{45}\u{78}")
247−NoRun("\117\110\114\101\99\111\103\110\105\122\101\100\32\111\112\116\105\111\110\32\39\45\118\118\39","\108\117\97\32\45\118\118")
247+NoRun("\u{75}\u{6e}\u{72}\u{65}\u{63}\u{6f}\u{67}\u{6e}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{2d}\u{76}\u{76}\u{27}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{76}\u{76}")
248−NoRun("\117\110\114\101\99\111\103\110\105\122\101\100\32\111\112\116\105\111\110\32\39\45\105\118\39","\108\117\97\32\45\105\118")
248+NoRun("\u{75}\u{6e}\u{72}\u{65}\u{63}\u{6f}\u{67}\u{6e}\u{69}\u{7a}\u{65}\u{64}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{2d}\u{69}\u{76}\u{27}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{69}\u{76}")
249−NoRun("\39\45\101\39\32\110\101\101\100\115\32\97\114\103\117\109\101\110\116","\108\117\97\32\45\101")
249+NoRun("\u{27}\u{2d}\u{65}\u{27}\u{20}\u{6e}\u{65}\u{65}\u{64}\u{73}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}")
250−NoRun("\115\121\110\116\97\120\32\101\114\114\111\114","\108\117\97\32\45\101\32\97")
250+NoRun("\u{73}\u{79}\u{6e}\u{74}\u{61}\u{78}\u{20}\u{65}\u{72}\u{72}\u{6f}\u{72}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{65}\u{20}\u{61}")
251−NoRun("\39\45\108\39\32\110\101\101\100\115\32\97\114\103\117\109\101\110\116","\108\117\97\32\45\108")
251+NoRun("\u{27}\u{2d}\u{6c}\u{27}\u{20}\u{6e}\u{65}\u{65}\u{64}\u{73}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}","\u{6c}\u{75}\u{61}\u{20}\u{2d}\u{6c}")
252if T then
252if T then
253−print("\116\101\115\116\105\110\103\32\39\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121\39\32\116\111\32\99\114\101\97\116\101\32\97\32\115\116\97\116\101")
253+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\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}\u{27}\u{20}\u{74}\u{6f}\u{20}\u{63}\u{72}\u{65}\u{61}\u{74}\u{65}\u{20}\u{61}\u{20}\u{73}\u{74}\u{61}\u{74}\u{65}")
254−NoRun("\110\111\116\32\101\110\111\117\103\104\32\109\101\109\111\114\121","\101\110\118\32\77\69\77\76\73\77\73\84\61\49\48\48\32\108\117\97")
254+NoRun("\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}","\u{65}\u{6e}\u{76}\u{20}\u{4d}\u{45}\u{4d}\u{4c}\u{49}\u{4d}\u{49}\u{54}\u{3d}\u{31}\u{30}\u{30}\u{20}\u{6c}\u{75}\u{61}")
255−warn("\64\115\116\111\114\101")
255+warn("\u{40}\u{73}\u{74}\u{6f}\u{72}\u{65}")
256−warn("\64\49\50\51","\52\53\54","\55\56\57")
256+warn("\u{40}\u{31}\u{32}\u{33}","\u{34}\u{35}\u{36}","\u{37}\u{38}\u{39}")
257−assert(_WARN == "\64\49\50\51\52\53\54\55\56\57")
257+assert(_WARN == "\u{40}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}")
258;
258;
259_WARN=false
259_WARN=false
260−warn("\122\105\112","","\32","\122\97\112")
260+warn("\u{7a}\u{69}\u{70}","","\u{20}","\u{7a}\u{61}\u{70}")
261−assert(_WARN == "\122\105\112\32\122\97\112")
261+assert(_WARN == "\u{7a}\u{69}\u{70}\u{20}\u{7a}\u{61}\u{70}")
262;
262;
263_WARN=false
263_WARN=false
264−warn("\90\73\80","","\32","\90\65\80")
264+warn("\u{5a}\u{49}\u{50}","","\u{20}","\u{5a}\u{41}\u{50}")
265−assert(_WARN == "\90\73\80\32\90\65\80")
265+assert(_WARN == "\u{5a}\u{49}\u{50}\u{20}\u{5a}\u{41}\u{50}")
266;
266;
267_WARN=false
267_WARN=false
268−warn("\64\110\111\114\109\97\108")
268+warn("\u{40}\u{6e}\u{6f}\u{72}\u{6d}\u{61}\u{6c}")
269end
269end
270do
270do
271local st,msg = pcall(warn)
271local st,msg = pcall(warn)
272−assert(string.find(msg,"\115\116\114\105\110\103\32\101\120\112\101\99\116\101\100"))
272+assert(string.find(msg,"\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}"))
273−st,msg=pcall(warn,"\83\72\79\85\76\68\32\78\79\84\32\65\80\80\69\65\82",{})
273+st,msg=pcall(warn,"\u{53}\u{48}\u{4f}\u{55}\u{4c}\u{44}\u{20}\u{4e}\u{4f}\u{54}\u{20}\u{41}\u{50}\u{50}\u{45}\u{41}\u{52}",{})
274−assert(string.find(msg,"\115\116\114\105\110\103\32\101\120\112\101\99\116\101\100"))
274+assert(string.find(msg,"\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}"))
275end
275end
276−print("\43")
276+print("\u{2b}")
277−print("\116\101\115\116\105\110\103\32\67\116\114\108\32\67")
277+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{43}\u{74}\u{72}\u{6c}\u{20}\u{43}")
278do
278do
279local function kill
279local function kill
280(pid)
280(pid)
281−return os.execute(string.format("\107\105\108\108\32\45\73\78\84\32\37\115\32\50\62\32\47\100\101\118\47\110\117\108\108",pid))
281+return os.execute(string.format("\u{6b}\u{69}\u{6c}\u{6c}\u{20}\u{2d}\u{49}\u{4e}\u{54}\u{20}\u{25}\u{73}\u{20}\u{32}\u{3e}\u{20}\u{2f}\u{64}\u{65}\u{76}\u{2f}\u{6e}\u{75}\u{6c}\u{6c}",pid))
282end
282end
283local function runback
283local function runback
284(luaprg)
284(luaprg)
285−local shellprg = string.format("\37\115\32\45\101\32\34\37\115\34\32\38\32\101\99\104\111\32\36\33",progname,luaprg)
285+local shellprg = string.format("\u{25}\u{73}\u{20}\u{2d}\u{65}\u{20}\u{22}\u{25}\u{73}\u{22}\u{20}\u{26}\u{20}\u{65}\u{63}\u{68}\u{6f}\u{20}\u{24}\u{21}",progname,luaprg)
286−local f = io.popen(shellprg,"\114")
286+local f = io.popen(shellprg,"\u{72}")
287local pid = f:read()
287local pid = f:read()
288−print("\40\105\102\32\116\101\115\116\32\102\97\105\108\115\32\110\111\119\44\32\105\116\32\109\97\121\32\108\101\97\118\101\32\97\32\76\117\97\32\115\99\114\105\112\116\32\114\117\110\110\105\110\103\32\105\110\32\98\97\99\107\103\114\111\117\110\100\44\32\112\105\100\32" .. pid .. "\41")
288+print("\u{28}\u{69}\u{66}\u{20}\u{74}\u{65}\u{73}\u{74}\u{20}\u{66}\u{61}\u{69}\u{6c}\u{73}\u{20}\u{6e}\u{6f}\u{77}\u{2c}\u{20}\u{69}\u{74}\u{20}\u{6d}\u{61}\u{79}\u{20}\u{6c}\u{65}\u{61}\u{76}\u{65}\u{20}\u{61}\u{20}\u{4c}\u{75}\u{61}\u{20}\u{73}\u{63}\u{72}\u{69}\u{70}\u{74}\u{20}\u{72}\u{75}\u{6e}\u{6e}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{6e}\u{20}\u{62}\u{61}\u{63}\u{6b}\u{67}\u{72}\u{6f}\u{75}\u{6e}\u{64}\u{2c}\u{20}\u{70}\u{69}\u{64}\u{20}" .. pid .. "\u{29}")
289return f,pid
289return f,pid
290end
290end
291−local f,pid = runback("\32\32\32\32\112\99\97\108\108\40\102\117\110\99\116\105\111\110\32\40\41\32\112\114\105\110\116\40\49\50\41\59\32\119\104\105\108\101\32\116\114\117\101\32\100\111\32\101\110\100\32\101\110\100\41\59\32\112\114\105\110\116\40\52\50\41")
291+local f,pid = runback("\u{20}\u{20}\u{20}\u{20}\u{70}\u{63}\u{61}\u{6c}\u{6c}\u{28}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{28}\u{29}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{32}\u{29}\u{3b}\u{20}\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}\u{65}\u{6e}\u{64}\u{20}\u{65}\u{6e}\u{64}\u{29}\u{3b}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{34}\u{32}\u{29}")
292−assert(f:read() == "\49\50")
292+assert(f:read() == "\u{31}\u{32}")
293kill(pid)
293kill(pid)
294−assert(f:read() == "\52\50")
294+assert(f:read() == "\u{34}\u{32}")
295assert(f:close())
295assert(f:close())
296−print("\100\111\110\101")
296+print("\u{64}\u{6f}\u{6e}\u{65}")
297−local f,pid = runback("\32\32\32\32\112\114\105\110\116\40\49\53\41\59\32\115\116\114\105\110\103\46\102\105\110\100\40\115\116\114\105\110\103\46\114\101\112\40\39\97\39\44\32\49\48\48\48\48\48\41\44\32\39\46\42\98\39\41")
297+local f,pid = runback("\u{20}\u{20}\u{20}\u{20}\u{70}\u{72}\u{69}\u{6e}\u{74}\u{28}\u{31}\u{35}\u{29}\u{3b}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{66}\u{69}\u{6e}\u{64}\u{28}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{72}\u{65}\u{70}\u{28}\u{27}\u{61}\u{27}\u{2c}\u{20}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{29}\u{2c}\u{20}\u{27}\u{2e}\u{2a}\u{62}\u{27}\u{29}")
298−assert(f:read() == "\49\53")
298+assert(f:read() == "\u{31}\u{35}")
299−assert(os.execute("\115\108\101\101\112\32\49"))
299+assert(os.execute("\u{73}\u{6c}\u{65}\u{65}\u{70}\u{20}\u{31}"))
300local n = 100
300local n = 100
301for i = 0, 100
301for i = 0, 100
302do
302do
@@ -307,6 +307,6 @@ end
307end
307end
308assert(f:close())
308assert(f:close())
309assert(n >= 2)
309assert(n >= 2)
310−print(string.format("\100\111\110\101\32\40\119\105\116\104\32\37\100\32\107\105\108\108\115\41",n))
310+print(string.format("\u{64}\u{6f}\u{6e}\u{65}\u{20}\u{28}\u{77}\u{69}\u{74}\u{68}\u{20}\u{25}\u{64}\u{20}\u{6b}\u{69}\u{6c}\u{6c}\u{73}\u{29}",n))
311end
311end
312−print("\79\75")
312+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/math.lua+134−134
@@ -1,4 +1,4 @@
1−print("\116\101\115\116\105\110\103\32\110\117\109\98\101\114\115\32\97\110\100\32\109\97\116\104\32\108\105\98")
1+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}\u{65}\u{72}\u{73}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{20}\u{6c}\u{69}\u{62}")
2local minint <const> = math.mininteger
2local minint <const> = math.mininteger
3local maxint <const> = math.maxinteger
3local maxint <const> = math.maxinteger
4local intbits <const> = math.floor(math.log(maxint,2) + 0.5) + 1
4local intbits <const> = math.floor(math.log(maxint,2) + 0.5) + 1
@@ -22,15 +22,15 @@ assert(not isNaN(1 / 0))
22do
22do
23local x = 2.0 ^ floatbits
23local x = 2.0 ^ floatbits
24assert(x > x - 1.0 and x == x + 1.0)
24assert(x > x - 1.0 and x == x + 1.0)
25−print(string.format("\37\100\45\98\105\116\32\105\110\116\101\103\101\114\115\44\32\37\100\45\98\105\116\32\40\109\97\110\116\105\115\115\97\41\32\102\108\111\97\116\115",intbits,floatbits))
25+print(string.format("\u{25}\u{64}\u{2d}\u{62}\u{69}\u{74}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{73}\u{2c}\u{20}\u{25}\u{64}\u{2d}\u{62}\u{69}\u{74}\u{20}\u{28}\u{6d}\u{61}\u{6e}\u{74}\u{69}\u{73}\u{73}\u{61}\u{29}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{73}",intbits,floatbits))
26end
26end
27−assert(math.type(0) == "\105\110\116\101\103\101\114" and math.type(0.0) == "\102\108\111\97\116" and not math.type("\49\48"))
27+assert(math.type(0) == "\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}" and math.type(0.0) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}" and not math.type("\u{31}\u{30}"))
28local function checkerror
28local function checkerror
29(msg,f, ...)
29(msg,f, ...)
30local s,err = pcall(f,...)
30local s,err = pcall(f,...)
31assert(not s and string.find(err,msg))
31assert(not s and string.find(err,msg))
32end
32end
33−local msgf2i = "\110\117\109\98\101\114\46\42\32\104\97\115\32\110\111\32\105\110\116\101\103\101\114\32\114\101\112\114\101\115\101\110\116\97\116\105\111\110"
33+local msgf2i = "\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{2e}\u{2a}\u{20}\u{68}\u{61}\u{73}\u{20}\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}\u{72}\u{65}\u{73}\u{65}\u{6e}\u{74}\u{61}\u{74}\u{69}\u{6f}\u{6e}"
34local function eq
34local function eq
35(a,b,limit)
35(a,b,limit)
36if not limit then
36if not limit then
@@ -48,10 +48,10 @@ return a == b and math.type(a) == math.type(b)
48end
48end
49assert(0.0 == 0 and 0.0 == 0 and 0.0 == 0 and 20.0 == 20 and 0.2 == 0.2)
49assert(0.0 == 0 and 0.0 == 0 and 0.0 == 0 and 20.0 == 20 and 0.2 == 0.2)
50do
50do
51−local a,b,c = "\50","\32\51\101\48\32","\32\49\48\32\32"
51+local a,b,c = "\u{32}","\u{20}\u{33}\u{65}\u{30}\u{20}","\u{20}\u{31}\u{30}\u{20}\u{20}"
52−assert(a + b == 5 and - b == - 3 and b + "\50" == 5 and "\49\48" - c == 0)
52+assert(a + b == 5 and - b == - 3 and b + "\u{32}" == 5 and "\u{31}\u{30}" - c == 0)
53−assert(type(a) == "\115\116\114\105\110\103" and type(b) == "\115\116\114\105\110\103" and type(c) == "\115\116\114\105\110\103")
53+assert(type(a) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(b) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" and type(c) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
54−assert(a == "\50" and b == "\32\51\101\48\32" and c == "\32\49\48\32\32" and - c == - "\32\32\49\48\32")
54+assert(a == "\u{32}" and b == "\u{20}\u{33}\u{65}\u{30}\u{20}" and c == "\u{20}\u{31}\u{30}\u{20}\u{20}" and - c == - "\u{20}\u{20}\u{31}\u{30}\u{20}")
55assert(c % a == 0 and a ^ b == 8)
55assert(c % a == 0 and a ^ b == 8)
56a=0
56a=0
57assert(a == - a and 0 == - 0)
57assert(a == - a and 0 == - 0)
@@ -203,7 +203,7 @@ assert(minint <= - 2 ^ (intbits - 1))
203assert(- 2 ^ (intbits - 1) <= minint)
203assert(- 2 ^ (intbits - 1) <= minint)
204end
204end
205if floatbits < intbits then
205if floatbits < intbits then
206−print("\116\101\115\116\105\110\103\32\111\114\100\101\114\32\40\102\108\111\97\116\115\32\99\97\110\110\111\116\32\114\101\112\114\101\115\101\110\116\32\97\108\108\32\105\110\116\101\103\101\114\115\41")
206+print("\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}")
207local fmax = 2 ^ floatbits
207local fmax = 2 ^ floatbits
208local ifmax = fmax | 0
208local ifmax = fmax | 0
209assert(fmax < ifmax + 1)
209assert(fmax < ifmax + 1)
@@ -219,7 +219,7 @@ assert(minint > - 2 ^ intbits)
219assert(maxint <= 2 ^ intbits)
219assert(maxint <= 2 ^ intbits)
220assert(minint >= - 2 ^ intbits)
220assert(minint >= - 2 ^ intbits)
221else
221else
222−print("\116\101\115\116\105\110\103\32\111\114\100\101\114\32\40\102\108\111\97\116\115\32\99\97\110\32\114\101\112\114\101\115\101\110\116\32\97\108\108\32\105\110\116\101\103\101\114\115\41")
222+print("\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{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}")
223assert(maxint < maxint + 1.0)
223assert(maxint < maxint + 1.0)
224assert(maxint < maxint + 0.5)
224assert(maxint < maxint + 0.5)
225assert(maxint - 1.0 < maxint)
225assert(maxint - 1.0 < maxint)
@@ -263,12 +263,12 @@ local function checkcompt
263(msg,code)
263(msg,code)
264checkerror(msg,assert(load(code)))
264checkerror(msg,assert(load(code)))
265end
265end
266−checkcompt("\100\105\118\105\100\101\32\98\121\32\122\101\114\111","\114\101\116\117\114\110\32\50\32\47\47\32\48")
266+checkcompt("\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}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{20}\u{2f}\u{2f}\u{20}\u{30}")
267−checkcompt(msgf2i,"\114\101\116\117\114\110\32\50\46\51\32\62\62\32\48")
267+checkcompt(msgf2i,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{2e}\u{33}\u{20}\u{3e}\u{3e}\u{20}\u{30}")
268−checkcompt(msgf2i,("\114\101\116\117\114\110\32\50\46\48\94\37\100\32\38\32\49"):format(intbits - 1))
268+checkcompt(msgf2i,("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{25}\u{64}\u{20}\u{26}\u{20}\u{31}"):format(intbits - 1))
269−checkcompt("\102\105\101\108\100\32\39\104\117\103\101\39","\114\101\116\117\114\110\32\109\97\116\104\46\104\117\103\101\32\60\60\32\49")
269+checkcompt("\u{66}\u{69}\u{65}\u{6c}\u{64}\u{20}\u{27}\u{68}\u{75}\u{67}\u{65}\u{27}","\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{6d}\u{61}\u{74}\u{68}\u{2e}\u{68}\u{75}\u{67}\u{65}\u{20}\u{3c}\u{3c}\u{20}\u{31}")
270−checkcompt(msgf2i,("\114\101\116\117\114\110\32\49\32\124\32\50\46\48\94\37\100"):format(intbits - 1))
270+checkcompt(msgf2i,("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{20}\u{7c}\u{20}\u{32}\u{2e}\u{30}\u{5e}\u{25}\u{64}"):format(intbits - 1))
271−checkcompt(msgf2i,"\114\101\116\117\114\110\32\50\46\51\32\126\32\48\46\48")
271+checkcompt(msgf2i,"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{32}\u{2e}\u{33}\u{20}\u{7e}\u{20}\u{30}\u{2e}\u{30}")
272local function f2i
272local function f2i
273(x)
273(x)
274return x | x
274return x | x
@@ -291,33 +291,33 @@ else
291assert(maxint + 1.0 > maxint)
291assert(maxint + 1.0 > maxint)
292assert(minint - 1.0 < minint)
292assert(minint - 1.0 < minint)
293assert(f2i(maxint + 0.0) == maxint)
293assert(f2i(maxint + 0.0) == maxint)
294−checkerror("\110\111\32\105\110\116\101\103\101\114\32\114\101\112",f2i,maxint + 1.0)
294+checkerror("\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}",f2i,maxint + 1.0)
295−checkerror("\110\111\32\105\110\116\101\103\101\114\32\114\101\112",f2i,minint - 1.0)
295+checkerror("\u{6e}\u{6f}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}\u{20}\u{72}\u{65}\u{70}",f2i,minint - 1.0)
296end
296end
297assert(f2i(minint + 0.0) == minint)
297assert(f2i(minint + 0.0) == minint)
298−assert("\50" + 1 == 3)
298+assert("\u{32}" + 1 == 3)
299−assert("\50\32" + 1 == 3)
299+assert("\u{32}\u{20}" + 1 == 3)
300−assert("\32\45\50\32" + 1 == - 1)
300+assert("\u{20}\u{2d}\u{32}\u{20}" + 1 == - 1)
301−assert("\32\45\48\120\97\32" + 1 == - 9)
301+assert("\u{20}\u{2d}\u{30}\u{78}\u{61}\u{20}" + 1 == - 9)
302do
302do
303assert(eqT(tonumber(tostring(maxint)),maxint))
303assert(eqT(tonumber(tostring(maxint)),maxint))
304assert(eqT(tonumber(tostring(minint)),minint))
304assert(eqT(tonumber(tostring(minint)),minint))
305local function incd
305local function incd
306(n)
306(n)
307−local s = string.format("\37\100",n)
307+local s = string.format("\u{25}\u{64}",n)
308−s=string.gsub(s,"\37\100\36",function (d)
308+s=string.gsub(s,"\u{25}\u{64}\u{24}",function (d)
309−assert(d ~= "\57")
309+assert(d ~= "\u{39}")
310return string.char(string.byte(d) + 1)
310return string.char(string.byte(d) + 1)
311end)
311end)
312return s
312return s
313end
313end
314assert(eqT(tonumber(incd(maxint)),maxint + 1.0))
314assert(eqT(tonumber(incd(maxint)),maxint + 1.0))
315assert(eqT(tonumber(incd(minint)),minint - 1.0))
315assert(eqT(tonumber(incd(minint)),minint - 1.0))
316−assert(eqT(tonumber("\49" .. string.rep("\48",30)),1e30))
316+assert(eqT(tonumber("\u{31}" .. string.rep("\u{30}",30)),1e30))
317−assert(eqT(tonumber("\45\49" .. string.rep("\48",30)),- 1e30))
317+assert(eqT(tonumber("\u{2d}\u{31}" .. string.rep("\u{30}",30)),- 1e30))
318−assert(eqT(tonumber("\48\120\49" .. string.rep("\48",30)),0))
318+assert(eqT(tonumber("\u{30}\u{78}\u{31}" .. string.rep("\u{30}",30)),0))
319−assert(minint == load("\114\101\116\117\114\110\32" .. minint)())
319+assert(minint == load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. minint)())
320−assert(eqT(maxint,load("\114\101\116\117\114\110\32" .. maxint)()))
320+assert(eqT(maxint,load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. maxint)()))
321assert(eqT(1e22,10000000000000000000000))
321assert(eqT(1e22,10000000000000000000000))
322assert(eqT(- 1e22,- 10000000000000000000000))
322assert(eqT(- 1e22,- 10000000000000000000000))
323end
323end
@@ -325,124 +325,124 @@ assert(tonumber(3.4) == 3.4)
325assert(eqT(tonumber(3),3))
325assert(eqT(tonumber(3),3))
326assert(eqT(tonumber(maxint),maxint) and eqT(tonumber(minint),minint))
326assert(eqT(tonumber(maxint),maxint) and eqT(tonumber(minint),minint))
327assert(tonumber(1 / 0) == 1 / 0)
327assert(tonumber(1 / 0) == 1 / 0)
328−assert(tonumber("\48") == 0)
328+assert(tonumber("\u{30}") == 0)
329assert(not tonumber(""))
329assert(not tonumber(""))
330−assert(not tonumber("\32\32"))
330+assert(not tonumber("\u{20}\u{20}"))
331−assert(not tonumber("\45"))
331+assert(not tonumber("\u{2d}"))
332−assert(not tonumber("\32\32\45\48\120\32"))
332+assert(not tonumber("\u{20}\u{20}\u{2d}\u{30}\u{78}\u{20}"))
333assert(not tonumber({}))
333assert(not tonumber({}))
334−assert(tonumber("\43\48\46\48\49") == 1 / 100 and tonumber("\43\46\48\49") == 0.01 and tonumber("\46\48\49") == 0.01 and tonumber("\45\49\46") == - 1 and tonumber("\43\49\46") == 1)
334+assert(tonumber("\u{2b}\u{30}\u{2e}\u{30}\u{31}") == 1 / 100 and tonumber("\u{2b}\u{2e}\u{30}\u{31}") == 0.01 and tonumber("\u{2e}\u{30}\u{31}") == 0.01 and tonumber("\u{2d}\u{31}\u{2e}") == - 1 and tonumber("\u{2b}\u{31}\u{2e}") == 1)
335−assert(not tonumber("\43\32\48\46\48\49") and not tonumber("\43\46\101\49") and not tonumber("\49\101") and not tonumber("\49\46\48\101\43") and not tonumber("\46"))
335+assert(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}"))
336−assert(tonumber("\45\48\49\50") == - 10 - 2)
336+assert(tonumber("\u{2d}\u{30}\u{31}\u{32}") == - 10 - 2)
337−assert(tonumber("\45\49\46\50\101\50") == - - - 120)
337+assert(tonumber("\u{2d}\u{31}\u{2e}\u{32}\u{65}\u{32}") == - - - 120)
338−assert(tonumber("\48\120\102\102\102\102\102\102\102\102\102\102\102\102") == (1 << (4 * 12)) - 1)
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}") == (1 << (4 * 12)) - 1)
339−assert(tonumber("\48\120" .. string.rep("\102",(intbits // 4))) == - 1)
339+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{66}",(intbits // 4))) == - 1)
340−assert(tonumber("\45\48\120" .. string.rep("\102",(intbits // 4))) == 1)
340+assert(tonumber("\u{2d}\u{30}\u{78}" .. string.rep("\u{66}",(intbits // 4))) == 1)
341−assert(tonumber("\32\32\48\48\49\48\49\48\32\32",2) == 10)
341+assert(tonumber("\u{20}\u{20}\u{30}\u{30}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",2) == 10)
342−assert(tonumber("\32\32\48\48\49\48\49\48\32\32",10) == 1010)
342+assert(tonumber("\u{20}\u{20}\u{30}\u{30}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",10) == 1010)
343−assert(tonumber("\32\32\45\49\48\49\48\32\32",2) == - 10)
343+assert(tonumber("\u{20}\u{20}\u{2d}\u{31}\u{30}\u{31}\u{30}\u{20}\u{20}",2) == - 10)
344−assert(tonumber("\49\48",36) == 36)
344+assert(tonumber("\u{31}\u{30}",36) == 36)
345−assert(tonumber("\32\32\45\49\48\32\32",36) == - 36)
345+assert(tonumber("\u{20}\u{20}\u{2d}\u{31}\u{30}\u{20}\u{20}",36) == - 36)
346−assert(tonumber("\32\32\43\49\90\32\32",36) == 36 + 35)
346+assert(tonumber("\u{20}\u{20}\u{2b}\u{31}\u{5a}\u{20}\u{20}",36) == 36 + 35)
347−assert(tonumber("\32\32\45\49\122\32\32",36) == - 36 + - 35)
347+assert(tonumber("\u{20}\u{20}\u{2d}\u{31}\u{7a}\u{20}\u{20}",36) == - 36 + - 35)
348−assert(tonumber("\45\102\70\102\97",16) == - (10 + (16 * (15 + (16 * (15 + (16 * 15)))))))
348+assert(tonumber("\u{2d}\u{66}\u{46}\u{66}\u{61}",16) == - (10 + (16 * (15 + (16 * (15 + (16 * 15)))))))
349−assert(tonumber(string.rep("\49",(intbits - 2)),2) + 1 == 2 ^ (intbits - 2))
349+assert(tonumber(string.rep("\u{31}",(intbits - 2)),2) + 1 == 2 ^ (intbits - 2))
350−assert(tonumber("\102\102\102\102\70\70\70\70",16) + 1 == (1 << 32))
350+assert(tonumber("\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",16) + 1 == (1 << 32))
351−assert(tonumber("\48\102\102\102\102\70\70\70\70",16) + 1 == (1 << 32))
351+assert(tonumber("\u{30}\u{66}\u{66}\u{66}\u{66}\u{46}\u{46}\u{46}\u{46}",16) + 1 == (1 << 32))
352−assert(tonumber("\45\48\102\102\102\102\102\102\70\70\70\70",16) - 1 == - (1 << 40))
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}",16) - 1 == - (1 << 40))
353for i = 2, 36
353for i = 2, 36
354do
354do
355local i2 = i * i
355local i2 = i * i
356local i10 = i2 * i2 * i2 * i2 * i2
356local i10 = i2 * i2 * i2 * i2 * i2
357−assert(tonumber("\9\49\48\48\48\48\48\48\48\48\48\48\9",i) == i10)
357+assert(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)
358end
358end
359if not _soft then
359if not _soft then
360−assert(tonumber("\48\120" .. string.rep("\102",13) .. "\46\48") == 2.0 ^ (4 * 13) - 1)
360+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{66}",13) .. "\u{2e}\u{30}") == 2.0 ^ (4 * 13) - 1)
361−assert(tonumber("\48\120" .. string.rep("\102",150) .. "\46\48") == 2.0 ^ (4 * 150) - 1)
361+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{66}",150) .. "\u{2e}\u{30}") == 2.0 ^ (4 * 150) - 1)
362−assert(tonumber("\48\120" .. string.rep("\102",300) .. "\46\48") == 2.0 ^ (4 * 300) - 1)
362+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{66}",300) .. "\u{2e}\u{30}") == 2.0 ^ (4 * 300) - 1)
363−assert(tonumber("\48\120" .. string.rep("\102",500) .. "\46\48") == 2.0 ^ (4 * 500) - 1)
363+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{66}",500) .. "\u{2e}\u{30}") == 2.0 ^ (4 * 500) - 1)
364−assert(tonumber("\48\120\51\46" .. string.rep("\48",1000)) == 3)
364+assert(tonumber("\u{30}\u{78}\u{33}\u{2e}" .. string.rep("\u{30}",1000)) == 3)
365−assert(tonumber("\48\120" .. string.rep("\48",1000) .. "\97") == 10)
365+assert(tonumber("\u{30}\u{78}" .. string.rep("\u{30}",1000) .. "\u{61}") == 10)
366−assert(tonumber("\48\120\48\46" .. string.rep("\48",13) .. "\49") == 2.0 ^ (- 4 * 14))
366+assert(tonumber("\u{30}\u{78}\u{30}\u{2e}" .. string.rep("\u{30}",13) .. "\u{31}") == 2.0 ^ (- 4 * 14))
367−assert(tonumber("\48\120\48\46" .. string.rep("\48",150) .. "\49") == 2.0 ^ (- 4 * 151))
367+assert(tonumber("\u{30}\u{78}\u{30}\u{2e}" .. string.rep("\u{30}",150) .. "\u{31}") == 2.0 ^ (- 4 * 151))
368−assert(tonumber("\48\120\48\46" .. string.rep("\48",300) .. "\49") == 2.0 ^ (- 4 * 301))
368+assert(tonumber("\u{30}\u{78}\u{30}\u{2e}" .. string.rep("\u{30}",300) .. "\u{31}") == 2.0 ^ (- 4 * 301))
369−assert(tonumber("\48\120\48\46" .. string.rep("\48",500) .. "\49") == 2.0 ^ (- 4 * 501))
369+assert(tonumber("\u{30}\u{78}\u{30}\u{2e}" .. string.rep("\u{30}",500) .. "\u{31}") == 2.0 ^ (- 4 * 501))
370−assert(tonumber("\48\120\101\48\51" .. string.rep("\48",1000) .. "\112\45\52\48\48\48") == 3587.0)
370+assert(tonumber("\u{30}\u{78}\u{65}\u{30}\u{33}" .. string.rep("\u{30}",1000) .. "\u{70}\u{2d}\u{34}\u{30}\u{30}\u{30}") == 3587.0)
371−assert(tonumber("\48\120\46" .. string.rep("\48",1000) .. "\55\52\112\52\48\48\52") == 7.25)
371+assert(tonumber("\u{30}\u{78}\u{2e}" .. string.rep("\u{30}",1000) .. "\u{37}\u{34}\u{70}\u{34}\u{30}\u{30}\u{34}") == 7.25)
372end
372end
373local function f
373local function f
374(...)
374(...)
375−if select("\35",...) == 1 then
375+if select("\u{23}",...) == 1 then
376return (...)
376return (...)
377else
377else
378−return "\42\42\42"
378+return "\u{2a}\u{2a}\u{2a}"
379end
379end
380end
380end
381−assert(not f(tonumber("\102\70\102\97",15)))
381+assert(not f(tonumber("\u{66}\u{46}\u{66}\u{61}",15)))
382−assert(not f(tonumber("\48\57\57",8)))
382+assert(not f(tonumber("\u{30}\u{39}\u{39}",8)))
383−assert(not f(tonumber("\49",2)))
383+assert(not f(tonumber("\u{31}\u{0}",2)))
384assert(not f(tonumber("",8)))
384assert(not f(tonumber("",8)))
385−assert(not f(tonumber("\32\32",9)))
385+assert(not f(tonumber("\u{20}\u{20}",9)))
386−assert(not f(tonumber("\32\32",9)))
386+assert(not f(tonumber("\u{20}\u{20}",9)))
387−assert(not f(tonumber("\48\120\102",10)))
387+assert(not f(tonumber("\u{30}\u{78}\u{66}",10)))
388−assert(not f(tonumber("\105\110\102")))
388+assert(not f(tonumber("\u{69}\u{6e}\u{66}")))
389−assert(not f(tonumber("\32\73\78\70\32")))
389+assert(not f(tonumber("\u{20}\u{49}\u{4e}\u{46}\u{20}")))
390−assert(not f(tonumber("\78\97\110")))
390+assert(not f(tonumber("\u{4e}\u{61}\u{6e}")))
391−assert(not f(tonumber("\110\97\110")))
391+assert(not f(tonumber("\u{6e}\u{61}\u{6e}")))
392−assert(not f(tonumber("\32\32")))
392+assert(not f(tonumber("\u{20}\u{20}")))
393assert(not f(tonumber("")))
393assert(not f(tonumber("")))
394−assert(not f(tonumber("\49\32\32\97")))
394+assert(not f(tonumber("\u{31}\u{20}\u{20}\u{61}")))
395−assert(not f(tonumber("\49\32\32\97",2)))
395+assert(not f(tonumber("\u{31}\u{20}\u{20}\u{61}",2)))
396−assert(not f(tonumber("\49")))
396+assert(not f(tonumber("\u{31}\u{0}")))
397−assert(not f(tonumber("\49\32")))
397+assert(not f(tonumber("\u{31}\u{20}\u{0}")))
398−assert(not f(tonumber("\49\32")))
398+assert(not f(tonumber("\u{31}\u{0}\u{20}")))
399−assert(not f(tonumber("\101\49")))
399+assert(not f(tonumber("\u{65}\u{31}")))
400−assert(not f(tonumber("\101\32\32\49")))
400+assert(not f(tonumber("\u{65}\u{20}\u{20}\u{31}")))
401−assert(not f(tonumber("\32\51\46\52\46\53\32")))
401+assert(not f(tonumber("\u{20}\u{33}\u{2e}\u{34}\u{2e}\u{35}\u{20}")))
402−assert(not tonumber("\48\120"))
402+assert(not tonumber("\u{30}\u{78}"))
403−assert(not tonumber("\120"))
403+assert(not tonumber("\u{78}"))
404−assert(not tonumber("\120\51"))
404+assert(not tonumber("\u{78}\u{33}"))
405−assert(not tonumber("\48\120\51\46\51\46\51"))
405+assert(not tonumber("\u{30}\u{78}\u{33}\u{2e}\u{33}\u{2e}\u{33}"))
406−assert(not tonumber("\48\48\120\50"))
406+assert(not tonumber("\u{30}\u{30}\u{78}\u{32}"))
407−assert(not tonumber("\48\120\32\50"))
407+assert(not tonumber("\u{30}\u{78}\u{20}\u{32}"))
408−assert(not tonumber("\48\32\120\50"))
408+assert(not tonumber("\u{30}\u{20}\u{78}\u{32}"))
409−assert(not tonumber("\50\51\120"))
409+assert(not tonumber("\u{32}\u{33}\u{78}"))
410−assert(not tonumber("\45\32\48\120\97\97"))
410+assert(not tonumber("\u{2d}\u{20}\u{30}\u{78}\u{61}\u{61}"))
411−assert(not tonumber("\45\48\120\97\97\80\32"))
411+assert(not tonumber("\u{2d}\u{30}\u{78}\u{61}\u{61}\u{50}\u{20}"))
412−assert(not tonumber("\48\120\48\46\53\49\112"))
412+assert(not tonumber("\u{30}\u{78}\u{30}\u{2e}\u{35}\u{31}\u{70}"))
413−assert(not tonumber("\48\120\53\112\43\45\50"))
413+assert(not tonumber("\u{30}\u{78}\u{35}\u{70}\u{2b}\u{2d}\u{32}"))
414assert(16 == 16 and 4095 == 2 ^ 12 - 1 and 251 == 251)
414assert(16 == 16 and 4095 == 2 ^ 12 - 1 and 251 == 251)
415assert(0.0 == 0 and 0.0 == 0)
415assert(0.0 == 0 and 0.0 == 0)
416assert(4294967295 == (1 << 32) - 1)
416assert(4294967295 == (1 << 32) - 1)
417−assert(tonumber("\43\48\120\50") == 2)
417+assert(tonumber("\u{2b}\u{30}\u{78}\u{32}") == 2)
418−assert(tonumber("\45\48\120\97\65") == - 170)
418+assert(tonumber("\u{2d}\u{30}\u{78}\u{61}\u{41}") == - 170)
419−assert(tonumber("\45\48\120\102\102\70\70\70\102\102\102") == - (1 << 32) + 1)
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}") == - (1 << 32) + 1)
420assert(0.0 == 0 and 14 + 1 == 15 and 14 - 1 == 13)
420assert(0.0 == 0 and 14 + 1 == 15 and 14 - 1 == 13)
421−assert(tonumber("\32\32\48\120\50\46\53\32\32") == 37 / 16)
421+assert(tonumber("\u{20}\u{20}\u{30}\u{78}\u{32}\u{2e}\u{35}\u{20}\u{20}") == 37 / 16)
422−assert(tonumber("\32\32\45\48\120\50\46\53\32\32") == - 37 / 16)
422+assert(tonumber("\u{20}\u{20}\u{2d}\u{30}\u{78}\u{32}\u{2e}\u{35}\u{20}\u{20}") == - 37 / 16)
423−assert(tonumber("\32\32\43\48\120\48\46\53\49\112\43\56\32\32") == 81)
423+assert(tonumber("\u{20}\u{20}\u{2b}\u{30}\u{78}\u{30}\u{2e}\u{35}\u{31}\u{70}\u{2b}\u{38}\u{20}\u{20}") == 81)
424−assert(0.9999999997671694 == 1 - "\48\120\46\48\48\48\48\48\48\48\49")
424+assert(0.9999999997671694 == 1 - "\u{30}\u{78}\u{2e}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{31}")
425−assert("\48\120\65\46\97" + 0 == 10 + 10 / 16)
425+assert("\u{30}\u{78}\u{41}\u{2e}\u{61}" + 0 == 10 + 10 / 16)
426assert(170.0 == 170)
426assert(170.0 == 170)
427assert(1.0 == 1)
427assert(1.0 == 1)
428−assert(1.0625 == "\48\120\49\46" + "\43\48\120\46\49")
428+assert(1.0625 == "\u{30}\u{78}\u{31}\u{2e}" + "\u{2b}\u{30}\u{78}\u{2e}\u{31}")
429assert(11259375.0 == 11259375.0)
429assert(11259375.0 == 11259375.0)
430assert(1.1 == 1.0 + 0.1)
430assert(1.1 == 1.0 + 0.1)
431assert(100.0 == 100.0 and 0.01 == 0.01)
431assert(100.0 == 100.0 and 0.01 == 0.01)
432assert(1111111111 - 1111111110 == 1.0)
432assert(1111111111 - 1111111110 == 1.0)
433−assert(1.1 == "\49\46" + "\46\49")
433+assert(1.1 == "\u{31}\u{2e}" + "\u{2e}\u{31}")
434−assert(tonumber("\49\49\49\49\49\49\49\49\49\49") - tonumber("\49\49\49\49\49\49\49\49\49\48") == tonumber("\32\32\43\48\46\48\48\49\101\43\51\32\10\9"))
434+assert(tonumber("\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}") - tonumber("\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{31}\u{30}") == tonumber("\u{20}\u{20}\u{2b}\u{30}\u{2e}\u{30}\u{30}\u{31}\u{65}\u{2b}\u{33}\u{20}\u{a}\u{9}"))
435assert(1e-31 > 9e-32 and 9e29 < 1e30)
435assert(1e-31 > 9e-32 and 9e29 < 1e30)
436assert(0.123456 > 0.123455)
436assert(0.123456 > 0.123455)
437−assert(tonumber("\43\49\46\50\51\69\49\56") == 1.23 * 10.0 ^ 18)
437+assert(tonumber("\u{2b}\u{31}\u{2e}\u{32}\u{33}\u{45}\u{31}\u{38}") == 1.23 * 10.0 ^ 18)
438assert(not (1 < 1) and (1 < 2) and not (2 < 1))
438assert(not (1 < 1) and (1 < 2) and not (2 < 1))
439−assert(not ("\97" < "\97") and ("\97" < "\98") and not ("\98" < "\97"))
439+assert(not ("\u{61}" < "\u{61}") and ("\u{61}" < "\u{62}") and not ("\u{62}" < "\u{61}"))
440assert((1 <= 1) and (1 <= 2) and not (2 <= 1))
440assert((1 <= 1) and (1 <= 2) and not (2 <= 1))
441−assert(("\97" <= "\97") and ("\97" <= "\98") and not ("\98" <= "\97"))
441+assert(("\u{61}" <= "\u{61}") and ("\u{61}" <= "\u{62}") and not ("\u{62}" <= "\u{61}"))
442assert(not (1 > 1) and not (1 > 2) and (2 > 1))
442assert(not (1 > 1) and not (1 > 2) and (2 > 1))
443−assert(not ("\97" > "\97") and not ("\97" > "\98") and ("\98" > "\97"))
443+assert(not ("\u{61}" > "\u{61}") and not ("\u{61}" > "\u{62}") and ("\u{62}" > "\u{61}"))
444assert((1 >= 1) and not (1 >= 2) and (2 >= 1))
444assert((1 >= 1) and not (1 >= 2) and (2 >= 1))
445−assert(("\97" >= "\97") and not ("\97" >= "\98") and ("\98" >= "\97"))
445+assert(("\u{61}" >= "\u{61}") and not ("\u{61}" >= "\u{62}") and ("\u{62}" >= "\u{61}"))
446assert(1.3 < 1.4 and 1.3 <= 1.4 and not (1.3 < 1.3) and 1.3 <= 1.3)
446assert(1.3 < 1.4 and 1.3 <= 1.4 and not (1.3 < 1.3) and 1.3 <= 1.3)
447assert(eqT(- 4 % 3,2))
447assert(eqT(- 4 % 3,2))
448assert(eqT(4 % - 3,- 2))
448assert(eqT(4 % - 3,- 2))
@@ -559,8 +559,8 @@ assert(eq(math.log(2,2),1))
559assert(eq(math.log(9,3),2))
559assert(eq(math.log(9,3),2))
560assert(eq(math.exp(0),1))
560assert(eq(math.exp(0),1))
561assert(eq(math.sin(10),math.sin(10 % (2 * math.pi))))
561assert(eq(math.sin(10),math.sin(10 % (2 * math.pi))))
562−assert(tonumber("\32\49\46\51\101\45\50\32") == 0.013)
562+assert(tonumber("\u{20}\u{31}\u{2e}\u{33}\u{65}\u{2d}\u{32}\u{20}") == 0.013)
563−assert(tonumber("\32\45\49\46\48\48\48\48\48\48\48\48\48\48\48\48\48\49\32") == - 1.00000000000001)
563+assert(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)
564assert(8388609 + - 8388609 == 0)
564assert(8388609 + - 8388609 == 0)
565assert(8388608 + - 8388608 == 0)
565assert(8388608 + - 8388608 == 0)
566assert(8388607 + - 8388607 == 0)
566assert(8388607 + - 8388607 == 0)
@@ -586,8 +586,8 @@ assert(math.floor(2 ^ p + 0.5) == 2 ^ p)
586assert(math.ceil(2 ^ p) == 2 ^ p)
586assert(math.ceil(2 ^ p) == 2 ^ p)
587assert(math.ceil(2 ^ p - 0.5) == 2 ^ p)
587assert(math.ceil(2 ^ p - 0.5) == 2 ^ p)
588end
588end
589−checkerror("\110\117\109\98\101\114\32\101\120\112\101\99\116\101\100",math.floor,{})
589+checkerror("\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",math.floor,{})
590−checkerror("\110\117\109\98\101\114\32\101\120\112\101\99\116\101\100",math.ceil,print)
590+checkerror("\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",math.ceil,print)
591assert(eqT(math.tointeger(minint),minint))
591assert(eqT(math.tointeger(minint),minint))
592assert(eqT(math.tointeger(minint .. ""),minint))
592assert(eqT(math.tointeger(minint .. ""),minint))
593assert(eqT(math.tointeger(maxint),maxint))
593assert(eqT(math.tointeger(maxint),maxint))
@@ -602,8 +602,8 @@ assert(not math.tointeger(math.huge))
602assert(math.floor(- math.huge) == - math.huge)
602assert(math.floor(- math.huge) == - math.huge)
603assert(math.ceil(- math.huge) == - math.huge)
603assert(math.ceil(- math.huge) == - math.huge)
604assert(not math.tointeger(- math.huge))
604assert(not math.tointeger(- math.huge))
605−assert(math.tointeger("\51\52\46\48") == 34)
605+assert(math.tointeger("\u{33}\u{34}\u{2e}\u{30}") == 34)
606−assert(not math.tointeger("\51\52\46\51"))
606+assert(not math.tointeger("\u{33}\u{34}\u{2e}\u{33}"))
607assert(not math.tointeger({}))
607assert(not math.tointeger({}))
608assert(not math.tointeger(0 / 0))
608assert(not math.tointeger(0 / 0))
609end
609end
@@ -615,7 +615,7 @@ if j ~= 0 then
615local mi = math.fmod(i,j)
615local mi = math.fmod(i,j)
616local mf = math.fmod(i + 0.0,j)
616local mf = math.fmod(i + 0.0,j)
617assert(mi == mf)
617assert(mi == mf)
618−assert(math.type(mi) == "\105\110\116\101\103\101\114" and math.type(mf) == "\102\108\111\97\116")
618+assert(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}")
619if (i >= 0 and j >= 0) or (i <= 0 and j <= 0) or mi == 0 then
619if (i >= 0 and j >= 0) or (i <= 0 and j <= 0) or mi == 0 then
620assert(eqT(mi,i % j))
620assert(eqT(mi,i % j))
621end
621end
@@ -626,10 +626,10 @@ assert(eqT(math.fmod(minint,minint),0))
626assert(eqT(math.fmod(maxint,maxint),0))
626assert(eqT(math.fmod(maxint,maxint),0))
627assert(eqT(math.fmod(minint + 1,minint),minint + 1))
627assert(eqT(math.fmod(minint + 1,minint),minint + 1))
628assert(eqT(math.fmod(maxint - 1,maxint),maxint - 1))
628assert(eqT(math.fmod(maxint - 1,maxint),maxint - 1))
629−checkerror("\122\101\114\111",math.fmod,3,0)
629+checkerror("\u{7a}\u{65}\u{72}\u{6f}",math.fmod,3,0)
630do
630do
631−checkerror("\118\97\108\117\101\32\101\120\112\101\99\116\101\100",math.max)
631+checkerror("\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",math.max)
632−checkerror("\118\97\108\117\101\32\101\120\112\101\99\116\101\100",math.min)
632+checkerror("\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",math.min)
633assert(eqT(math.max(3),3))
633assert(eqT(math.max(3),3))
634assert(eqT(math.max(3,5,9,1),9))
634assert(eqT(math.max(3,5,9,1),9))
635assert(math.max(maxint,1e61) == 1e61)
635assert(math.max(maxint,1e61) == 1e61)
@@ -642,11 +642,11 @@ assert(math.min(- 1e61,minint) == - 1e61)
642assert(eqT(math.min(maxint,maxint - 1),maxint - 1))
642assert(eqT(math.min(maxint,maxint - 1),maxint - 1))
643assert(eqT(math.min(maxint - 2,maxint,maxint - 1),maxint - 2))
643assert(eqT(math.min(maxint - 2,maxint,maxint - 1),maxint - 2))
644end
644end
645−local a,b = "\49\48","\50\48"
645+local a,b = "\u{31}\u{30}","\u{32}\u{30}"
646assert(a * b == 200 and a + b == 30 and a - b == - 10 and a / b == 0.5 and - b == - 20)
646assert(a * b == 200 and a + b == 30 and a - b == - 10 and a / b == 0.5 and - b == - 20)
647−assert(a == "\49\48" and b == "\50\48")
647+assert(a == "\u{31}\u{30}" and b == "\u{32}\u{30}")
648do
648do
649−print("\116\101\115\116\105\110\103\32\45\48\32\97\110\100\32\78\97\78")
649+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{2d}\u{30}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{4e}\u{61}\u{4e}")
650local mz <const> = - 0.0
650local mz <const> = - 0.0
651local z <const> = 0.0
651local z <const> = 0.0
652assert(mz == z)
652assert(mz == z)
@@ -675,11 +675,11 @@ assert(a[NaN] == undef)
675a[1]=1
675a[1]=1
676assert(not pcall(rawset,a,NaN,1))
676assert(not pcall(rawset,a,NaN,1))
677assert(a[NaN] == undef)
677assert(a[NaN] == undef)
678−local a1,a2,a3,a4,a5 = 0,0,"",0,""
678+local a1,a2,a3,a4,a5 = 0,0,"\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}",0,"\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}"
679assert(a1 == a2 and a2 == a4 and a1 ~= a3)
679assert(a1 == a2 and a2 == a4 and a1 ~= a3)
680assert(a3 == a5)
680assert(a3 == a5)
681end
681end
682−print("\116\101\115\116\105\110\103\32\39\109\97\116\104\46\114\97\110\100\111\109\39")
682+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}\u{68}\u{2e}\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{27}")
683local random,max,min = math.random,math.max,math.min
683local random,max,min = math.random,math.max,math.min
684local function testnear
684local function testnear
685(val,ref,tol)
685(val,ref,tol)
@@ -709,7 +709,7 @@ x,y=math.randomseed(x,y)
709assert(math.random(0) == res)
709assert(math.random(0) == res)
710math.randomseed(x,y)
710math.randomseed(x,y)
711assert(math.random(0) == res)
711assert(math.random(0) == res)
712−print(string.format("\114\97\110\100\111\109\32\115\101\101\100\115\58\32\37\100\44\32\37\100",x,y))
712+print(string.format("\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}\u{20}\u{73}\u{65}\u{65}\u{64}\u{73}\u{3a}\u{20}\u{25}\u{64}\u{2c}\u{20}\u{25}\u{64}",x,y))
713end
713end
714do
714do
715local randbits = math.min(floatbits,64)
715local randbits = math.min(floatbits,64)
@@ -747,7 +747,7 @@ if not testnear(counts[i],expected,0.1) then
747goto doagain
747goto doagain
748end
748end
749end
749end
750−print(string.format("\102\108\111\97\116\32\114\97\110\100\111\109\32\114\97\110\103\101\32\105\110\32\37\100\32\99\97\108\108\115\58\32\91\37\102\44\32\37\102\93",totalrounds,low,up))
750+print(string.format("\u{66}\u{6c}\u{6f}\u{61}\u{74}\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{25}\u{66}\u{2c}\u{20}\u{25}\u{66}\u{5d}",totalrounds,low,up))
751end
751end
752do
752do
753local up = 0
753local up = 0
@@ -780,7 +780,7 @@ if not testnear(counts[i],expected,0.1) then
780goto doagain
780goto doagain
781end
781end
782end
782end
783−print(string.format("\105\110\116\101\103\101\114\32\114\97\110\100\111\109\32\114\97\110\103\101\32\105\110\32\37\100\32\99\97\108\108\115\58\32\91\109\105\110\105\110\116\32\43\32\37\46\48\102\112\112\109\44\32\109\97\120\105\110\116\32\45\32\37\46\48\102\112\112\109\93",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))
784end
784end
785do
785do
786local count = {0,0,0,0,0,0}
786local count = {0,0,0,0,0,0}
@@ -876,4 +876,4 @@ assert(not pcall(random,1,2,3))
876assert(not pcall(random,minint + 1,minint))
876assert(not pcall(random,minint + 1,minint))
877assert(not pcall(random,maxint,maxint - 1))
877assert(not pcall(random,maxint,maxint - 1))
878assert(not pcall(random,maxint,minint))
878assert(not pcall(random,maxint,minint))
879−print("\79\75")
879+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/nextvar.lua+108−108
@@ -1,4 +1,4 @@
1−print("\116\101\115\116\105\110\103\32\116\97\98\108\101\115\44\32\110\101\120\116\44\32\97\110\100\32\102\111\114")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{73}\u{2c}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{2c}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{66}\u{6f}\u{72}")
2local function checkerror
2local function checkerror
3(msg,f, ...)
3(msg,f, ...)
4local s,err = pcall(f,...)
4local s,err = pcall(f,...)
@@ -18,11 +18,11 @@ end
18local a = {}
18local a = {}
19for i = 1, 100
19for i = 1, 100
20do
20do
21−a[i .. "\43"]=true
21+a[i .. "\u{2b}"]=true
22end
22end
23for i = 1, 100
23for i = 1, 100
24do
24do
25−a[i .. "\43"]=undef
25+a[i .. "\u{2b}"]=undef
26end
26end
27for i = 1, 100
27for i = 1, 100
28do
28do
@@ -58,12 +58,12 @@ end
58assert(a.x == 1)
58assert(a.x == 1)
59end
59end
60local x = 0
60local x = 0
61−for k,v in ipairs({10,20,30,["\120"] = 12})
61+for k,v in ipairs({10,20,30,["\u{78}"] = 12})
62do
62do
63x=x + 1
63x=x + 1
64assert(k == x and v == x * 10)
64assert(k == x and v == x * 10)
65end
65end
66−for _ in ipairs({["\120"] = 12,["\121"] = 24})
66+for _ in ipairs({["\u{78}"] = 12,["\u{79}"] = 24})
67do
67do
68assert(nil)
68assert(nil)
69end
69end
@@ -76,7 +76,7 @@ x=not x
76assert(x == v)
76assert(x == v)
77end
77end
78assert(i == 4)
78assert(i == 4)
79−assert(type(ipairs({})) == "\102\117\110\99\116\105\111\110" and ipairs({}) == ipairs({}))
79+assert(type(ipairs({})) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and ipairs({}) == ipairs({}))
80do
80do
81local f = ipairs({})
81local f = ipairs({})
82local k,v = f({[math.mininteger] = 10},math.maxinteger)
82local k,v = f({[math.mininteger] = 10},math.maxinteger)
@@ -85,7 +85,7 @@ k,v=f({[math.mininteger] = 10},k)
85assert(k == nil)
85assert(k == nil)
86end
86end
87if not T then
87if not T then
88−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\116\101\115\116\115\32\102\111\114\32\116\97\98\108\101\32\115\105\122\101\115\32\60\60\60\10")
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}")
89else
89else
90local function mp2
90local function mp2
91(n)
91(n)
@@ -104,21 +104,21 @@ end
104local sizes = {0,1,2,3,4,5,7,8,9,15,16,17,30,31,32,33,34,254,255,256,500,1000}
104local sizes = {0,1,2,3,4,5,7,8,9,15,16,17,30,31,32,33,34,254,255,256,500,1000}
105for _,sa in ipairs(sizes)
105for _,sa in ipairs(sizes)
106do
106do
107−local arr = {"\114\101\116\117\114\110\32\123"}
107+local arr = {"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}"}
108for i = 1, sa
108for i = 1, sa
109do
109do
110−arr[1 + i]="\49\44"
110+arr[1 + i]="\u{31}\u{2c}"
111end
111end
112for _,sh in ipairs(sizes)
112for _,sh in ipairs(sizes)
113do
113do
114for j = 1, sh
114for j = 1, sh
115do
115do
116−arr[1 + sa + j]=string.format("\107\37\120\61\37\100\44",j,j)
116+arr[1 + sa + j]=string.format("\u{6b}\u{25}\u{78}\u{3d}\u{25}\u{64}\u{2c}",j,j)
117end
117end
118−arr[1 + sa + sh + 1]="\125"
118+arr[1 + sa + sh + 1]="\u{7d}"
119local prog = table.concat(arr)
119local prog = table.concat(arr)
120local f = assert(load(prog))
120local f = assert(load(prog))
121−collectgarbage("\115\116\111\112")
121+collectgarbage("\u{73}\u{74}\u{6f}\u{70}")
122f()
122f()
123if sa == 0 or sh == 0 then
123if sa == 0 or sh == 0 then
124T.alloccount(2)
124T.alloccount(2)
@@ -130,7 +130,7 @@ end
130local t = f()
130local t = f()
131T.alloccount()
131T.alloccount()
132;
132;
133−collectgarbage("\114\101\115\116\97\114\116")
133+collectgarbage("\u{72}\u{65}\u{73}\u{74}\u{61}\u{72}\u{74}")
134assert(# t == sa)
134assert(# t == sa)
135check(t,sa,mp2(sh))
135check(t,sa,mp2(sh))
136end
136end
@@ -181,7 +181,7 @@ end
181a={}
181a={}
182for i = 1, lim
182for i = 1, lim
183do
183do
184−a["\97" .. i]=1
184+a["\u{61}" .. i]=1
185assert(# a == 0)
185assert(# a == 0)
186check(a,0,mp2(i))
186check(a,0,mp2(i))
187end
187end
@@ -239,7 +239,7 @@ local function foo
239(n, ...)
239(n, ...)
240local arg = {...}
240local arg = {...}
241check(arg,n,0)
241check(arg,n,0)
242−assert(select("\35",...) == n)
242+assert(select("\u{23}",...) == n)
243arg[n + 1]=true
243arg[n + 1]=true
244check(arg,mp2(n + 1),0)
244check(arg,mp2(n + 1),0)
245arg.x=true
245arg.x=true
@@ -279,7 +279,7 @@ assert(# {nil,nil} == 0)
279assert(# {nil,nil,nil} == 0)
279assert(# {nil,nil,nil} == 0)
280assert(# {nil,nil,nil,nil} == 0)
280assert(# {nil,nil,nil,nil} == 0)
281assert(# {1,2,3,nil,nil} == 3)
281assert(# {1,2,3,nil,nil} == 3)
282−print("\43")
282+print("\u{2b}")
283local nofind = {}
283local nofind = {}
284a,b,c=1,2,3
284a,b,c=1,2,3
285a,b,c=nil
285a,b,c=nil
@@ -308,27 +308,27 @@ end
308end
308end
309return nil
309return nil
310end
310end
311−assert(print == find("\112\114\105\110\116") and print == find1("\112\114\105\110\116"))
311+assert(print == find("\u{70}\u{72}\u{69}\u{6e}\u{74}") and print == find1("\u{70}\u{72}\u{69}\u{6e}\u{74}"))
312−assert(_G["\112\114\105\110\116"] == find("\112\114\105\110\116"))
312+assert(_G["\u{70}\u{72}\u{69}\u{6e}\u{74}"] == find("\u{70}\u{72}\u{69}\u{6e}\u{74}"))
313−assert(assert == find1("\97\115\115\101\114\116"))
313+assert(assert == find1("\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}"))
314−assert(nofind == find("\114\101\116\117\114\110"))
314+assert(nofind == find("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"))
315−assert(not find1("\114\101\116\117\114\110"))
315+assert(not find1("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"))
316−_G["\114\101\116" .. "\117\114\110"]=undef
316+_G["\u{72}\u{65}\u{74}" .. "\u{75}\u{72}\u{6e}"]=undef
317−assert(nofind == find("\114\101\116\117\114\110"))
317+assert(nofind == find("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}"))
318−_G["\120\120\120"]=1
318+_G["\u{78}\u{78}\u{78}"]=1
319−assert(xxx == find("\120\120\120"))
319+assert(xxx == find("\u{78}\u{78}\u{78}"))
320−checkerror("\105\110\118\97\108\105\100\32\107\101\121",next,{10,20},3)
320+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6b}\u{65}\u{79}",next,{10,20},3)
321−checkerror("\98\97\100\32\97\114\103\117\109\101\110\116",pairs)
321+checkerror("\u{62}\u{61}\u{64}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}",pairs)
322−checkerror("\98\97\100\32\97\114\103\117\109\101\110\116",ipairs)
322+checkerror("\u{62}\u{61}\u{64}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}",ipairs)
323−print("\43")
323+print("\u{2b}")
324a={}
324a={}
325for i = 0, 10000
325for i = 0, 10000
326do
326do
327if math.fmod(i,10) ~= 0 then
327if math.fmod(i,10) ~= 0 then
328−a["\120" .. i]=i
328+a["\u{78}" .. i]=i
329end
329end
330end
330end
331−n={["\110"] = 0}
331+n={["\u{6e}"] = 0}
332for i,v in pairs(a)
332for i,v in pairs(a)
333do
333do
334n.n=n.n + 1
334n.n=n.n + 1
@@ -344,7 +344,7 @@ a[n]=v
344end
344end
345for n,v in pairs(a)
345for n,v in pairs(a)
346do
346do
347−if not package.loaded[n] and type(v) ~= "\102\117\110\99\116\105\111\110" and not string.find(n,"\94\91\37\117\95\93") then
347+if not package.loaded[n] and type(v) ~= "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and not string.find(n,"\u{5e}\u{5b}\u{25}\u{75}\u{5f}\u{5d}") then
348_G[n]=undef
348_G[n]=undef
349end
349end
350collectgarbage()
350collectgarbage()
@@ -371,11 +371,11 @@ do
371assert(b[k] == v)
371assert(b[k] == v)
372end
372end
373end
373end
374−checknext({1,["\120"] = 1,["\121"] = 2,["\122"] = 3})
374+checknext({1,["\u{78}"] = 1,["\u{79}"] = 2,["\u{7a}"] = 3})
375−checknext({1,2,["\120"] = 1,["\121"] = 2,["\122"] = 3})
375+checknext({1,2,["\u{78}"] = 1,["\u{79}"] = 2,["\u{7a}"] = 3})
376−checknext({1,2,3,["\120"] = 1,["\121"] = 2,["\122"] = 3})
376+checknext({1,2,3,["\u{78}"] = 1,["\u{79}"] = 2,["\u{7a}"] = 3})
377−checknext({1,2,3,4,["\120"] = 1,["\121"] = 2,["\122"] = 3})
377+checknext({1,2,3,4,["\u{78}"] = 1,["\u{79}"] = 2,["\u{7a}"] = 3})
378−checknext({1,2,3,4,5,["\120"] = 1,["\121"] = 2,["\122"] = 3})
378+checknext({1,2,3,4,5,["\u{78}"] = 1,["\u{79}"] = 2,["\u{7a}"] = 3})
379assert(# {} == 0)
379assert(# {} == 0)
380assert(# {[- 1] = 2} == 0)
380assert(# {[- 1] = 2} == 0)
381for i = 0, 40
381for i = 0, 40
@@ -391,13 +391,13 @@ function table.maxn(t)
391local max = 0
391local max = 0
392for k in pairs(t)
392for k in pairs(t)
393do
393do
394−max=(type(k) == "\110\117\109\98\101\114") 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
395end
395end
396return max
396return max
397end
397end
398assert(table.maxn({}) == 0)
398assert(table.maxn({}) == 0)
399−assert(table.maxn({["\49\48\48\48"] = true}) == 0)
399+assert(table.maxn({["\u{31}\u{30}\u{30}\u{30}"] = true}) == 0)
400−assert(table.maxn({["\49\48\48\48"] = true,[24.5] = 3}) == 24.5)
400+assert(table.maxn({["\u{31}\u{30}\u{30}\u{30}"] = true,[24.5] = 3}) == 24.5)
401assert(table.maxn({[1000] = true}) == 1000)
401assert(table.maxn({[1000] = true}) == 1000)
402assert(table.maxn({[10] = true,[100 * math.pi] = print}) == 100 * math.pi)
402assert(table.maxn({[10] = true,[100 * math.pi] = print}) == 100 * math.pi)
403table.maxn=nil
403table.maxn=nil
@@ -407,9 +407,9 @@ do
407a[2 ^ i]=true
407a[2 ^ i]=true
408end
408end
409assert(a[# a])
409assert(a[# a])
410−print("\43")
410+print("\u{2b}")
411do
411do
412−local a = {[1] = 1,[1.1] = 2,["\120"] = 3,[string.rep("\120",1000)] = 4,[print] = 5,[checkerror] = 6,[coroutine.running()] = 7,[true] = 8,[io.stdin] = 9,[{}] = 10}
412+local a = {[1] = 1,[1.1] = 2,["\u{78}"] = 3,[string.rep("\u{78}",1000)] = 4,[print] = 5,[checkerror] = 6,[coroutine.running()] = 7,[true] = 8,[io.stdin] = 9,[{}] = 10}
413local b = {}
413local b = {}
414;
414;
415for i = 1, 10
415for i = 1, 10
@@ -424,7 +424,7 @@ b[v]=undef
424end
424end
425assert(next(b) == nil)
425assert(next(b) == nil)
426end
426end
427−local t = {[{1}] = 1,[{2}] = 2,[string.rep("\120\32",4)] = 3,[100.3] = 4,[4] = 5}
427+local t = {[{1}] = 1,[{2}] = 2,[string.rep("\u{78}\u{20}",4)] = 3,[100.3] = 4,[4] = 5}
428local n = 0
428local n = 0
429for k,v in pairs(t)
429for k,v in pairs(t)
430do
430do
@@ -436,14 +436,14 @@ assert(t[k] == undef)
436end
436end
437assert(n == 5)
437assert(n == 5)
438do
438do
439−print("\116\101\115\116\105\110\103\32\110\101\120\116\32\120\32\71\67\32\111\102\32\100\101\108\101\116\101\100\32\107\101\121\115")
439+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{78}\u{20}\u{47}\u{43}\u{20}\u{6f}\u{66}\u{20}\u{64}\u{65}\u{6c}\u{65}\u{74}\u{65}\u{64}\u{20}\u{6b}\u{65}\u{79}\u{73}")
440local co = coroutine.wrap(function (t)
440local co = coroutine.wrap(function (t)
441for k,v in pairs(t)
441for k,v in pairs(t)
442do
442do
443local k1 = next(t)
443local k1 = next(t)
444assert(k == k1)
444assert(k == k1)
445t[k]=nil
445t[k]=nil
446−local expected = (type(k) == "\116\97\98\108\101" and k[1] or type(k) == "\102\117\110\99\116\105\111\110" and k() or string.sub(k,1,1))
446+local expected = (type(k) == "\u{74}\u{61}\u{62}\u{6c}\u{65}" and k[1] 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,1,1))
447assert(expected == v)
447assert(expected == v)
448coroutine.yield(v)
448coroutine.yield(v)
449end
449end
@@ -451,16 +451,16 @@ end)
451local t = {}
451local t = {}
452t[{1}]=1
452t[{1}]=1
453t[{2}]=2
453t[{2}]=2
454−t[string.rep("\97",50)]="\97"
454+t[string.rep("\u{61}",50)]="\u{61}"
455−t[string.rep("\98",50)]="\98"
455+t[string.rep("\u{62}",50)]="\u{62}"
456t[{3}]=3
456t[{3}]=3
457−t[string.rep("\99",10)]="\99"
457+t[string.rep("\u{63}",10)]="\u{63}"
458t[function ()
458t[function ()
459return 10
459return 10
460end]=10
460end]=10
461local count = 7
461local count = 7
462while co(t) do
462while co(t) do
463−collectgarbage("\99\111\108\108\101\99\116")
463+collectgarbage("\u{63}\u{6f}\u{6c}\u{6c}\u{65}\u{63}\u{74}")
464count=count - 1
464count=count - 1
465end
465end
466assert(count == 0 and next(t) == nil)
466assert(count == 0 and next(t) == nil)
@@ -480,7 +480,7 @@ table.insert(a,40)
480table.insert(a,# a + 1,50)
480table.insert(a,# a + 1,50)
481table.insert(a,2,- 2)
481table.insert(a,2,- 2)
482assert(a[2] ~= undef)
482assert(a[2] ~= undef)
483−assert(a["\50"] == undef)
483+assert(a["\u{32}"] == undef)
484assert(not pcall(table.insert,a,0,20))
484assert(not pcall(table.insert,a,0,20))
485;
485;
486assert(not pcall(table.insert,a,# a + 2,20))
486assert(not pcall(table.insert,a,# a + 2,20))
@@ -495,18 +495,18 @@ assert(table.remove(a,1) == nil)
495assert(table.remove(a) == nil)
495assert(table.remove(a) == nil)
496assert(table.remove(a,# a) == nil)
496assert(table.remove(a,# a) == nil)
497end
497end
498−a={["\110"] = 0,[- 7] = "\98\97\110"}
498+a={["\u{6e}"] = 0,[- 7] = "\u{62}\u{61}\u{6e}"}
499test(a)
499test(a)
500−assert(a.n == 0 and a[- 7] == "\98\97\110")
500+assert(a.n == 0 and a[- 7] == "\u{62}\u{61}\u{6e}")
501−a={[- 7] = "\98\97\110"}
501+a={[- 7] = "\u{62}\u{61}\u{6e}"}
502;
502;
503test(a)
503test(a)
504−assert(a.n == nil and # a == 0 and a[- 7] == "\98\97\110")
504+assert(a.n == nil and # a == 0 and a[- 7] == "\u{62}\u{61}\u{6e}")
505−a={[- 1] = "\98\97\110"}
505+a={[- 1] = "\u{62}\u{61}\u{6e}"}
506test(a)
506test(a)
507−assert(# a == 0 and table.remove(a) == nil and a[- 1] == "\98\97\110")
507+assert(# a == 0 and table.remove(a) == nil and a[- 1] == "\u{62}\u{61}\u{6e}")
508−a={[0] = "\98\97\110"}
508+a={[0] = "\u{62}\u{61}\u{6e}"}
509−assert(# a == 0 and table.remove(a) == "\98\97\110" and a[0] == undef)
509+assert(# a == 0 and table.remove(a) == "\u{62}\u{61}\u{6e}" and a[0] == undef)
510table.insert(a,1,10)
510table.insert(a,1,10)
511;
511;
512table.insert(a,1,20)
512table.insert(a,1,20)
@@ -516,13 +516,13 @@ assert(table.remove(a) == 10)
516assert(table.remove(a) == 20)
516assert(table.remove(a) == 20)
517assert(table.remove(a) == - 1)
517assert(table.remove(a) == - 1)
518assert(table.remove(a) == nil)
518assert(table.remove(a) == nil)
519−a={"\99","\100"}
519+a={"\u{63}","\u{64}"}
520−table.insert(a,3,"\97")
520+table.insert(a,3,"\u{61}")
521−table.insert(a,"\98")
521+table.insert(a,"\u{62}")
522−assert(table.remove(a,1) == "\99")
522+assert(table.remove(a,1) == "\u{63}")
523−assert(table.remove(a,1) == "\100")
523+assert(table.remove(a,1) == "\u{64}")
524−assert(table.remove(a,1) == "\97")
524+assert(table.remove(a,1) == "\u{61}")
525−assert(table.remove(a,1) == "\98")
525+assert(table.remove(a,1) == "\u{62}")
526assert(table.remove(a,1) == nil)
526assert(table.remove(a,1) == nil)
527assert(# a == 0 and a.n == nil)
527assert(# a == 0 and a.n == nil)
528a={10,20,30,40}
528a={10,20,30,40}
@@ -550,7 +550,7 @@ for i = 1, 10
550do
550do
551assert(t[i] == i and proxy[i] == i)
551assert(t[i] == i and proxy[i] == i)
552end
552end
553−assert(table.concat(proxy,"\44") == "\49\44\50\44\51\44\52\44\53\44\54\44\55\44\56\44\57\44\49\48")
553+assert(table.concat(proxy,"\u{2c}") == "\u{31}\u{2c}\u{32}\u{2c}\u{33}\u{2c}\u{34}\u{2c}\u{35}\u{2c}\u{36}\u{2c}\u{37}\u{2c}\u{38}\u{2c}\u{39}\u{2c}\u{31}\u{30}")
554for i = 1, 8
554for i = 1, 8
555do
555do
556assert(table.remove(proxy,1) == i)
556assert(table.remove(proxy,1) == i)
@@ -560,27 +560,27 @@ local a,b,c = table.unpack(proxy)
560assert(a == 9 and b == 10 and c == nil)
560assert(a == 9 and b == 10 and c == nil)
561end
561end
562local t = {}
562local t = {}
563−local proxy = setmetatable({},{["\95\95\108\101\110"] = function ()
563+local proxy = setmetatable({},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
564return # t
564return # t
565−end,["\95\95\105\110\100\101\120"] = t,["\95\95\110\101\119\105\110\100\101\120"] = t})
565+end,["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = t,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = t})
566test(proxy,t)
566test(proxy,t)
567local count = 0
567local count = 0
568−t=setmetatable({},{["\95\95\110\101\119\105\110\100\101\120"] = function (t,k,v)
568+t=setmetatable({},{["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k,v)
569count=count + 1
569count=count + 1
570;
570;
571rawset(t,k,v)
571rawset(t,k,v)
572end})
572end})
573test(t,t)
573test(t,t)
574assert(count == 10)
574assert(count == 10)
575−t=setmetatable({},{["\95\95\105\110\100\101\120"] = function (_,k)
575+t=setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k)
576return k + 1
576return k + 1
577−end,["\95\95\108\101\110"] = function (_)
577+end,["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function (_)
578return 5
578return 5
579end})
579end})
580−assert(table.concat(t,"\59") == "\50\59\51\59\52\59\53\59\54")
580+assert(table.concat(t,"\u{3b}") == "\u{32}\u{3b}\u{33}\u{3b}\u{34}\u{3b}\u{35}\u{3b}\u{36}")
581end
581end
582do
582do
583−local t = setmetatable({},{["\95\95\108\101\110"] = function ()
583+local t = setmetatable({},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
584return math.maxinteger
584return math.maxinteger
585end})
585end})
586table.insert(t,20)
586table.insert(t,20)
@@ -588,23 +588,23 @@ local k,v = next(t)
588assert(k == math.mininteger and v == 20)
588assert(k == math.mininteger and v == 20)
589end
589end
590if not T then
590if not T then
591−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\116\101\115\116\115\32\102\111\114\32\116\97\98\108\101\32\108\105\98\114\97\114\121\32\111\110\32\110\111\110\45\116\97\98\108\101\115\32\60\60\60\10")
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}")
592else
592else
593−local debug = require("\100\101\98\117\103")
593+local debug = require("\u{64}\u{65}\u{62}\u{75}\u{67}")
594local tab = {10,20,30}
594local tab = {10,20,30}
595local mt = {}
595local mt = {}
596local u = T.newuserdata(0)
596local u = T.newuserdata(0)
597−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.insert,u,40)
597+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.insert,u,40)
598−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.remove,u)
598+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.remove,u)
599debug.setmetatable(u,mt)
599debug.setmetatable(u,mt)
600−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.insert,u,40)
600+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.insert,u,40)
601−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.remove,u)
601+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.remove,u)
602mt.__index=tab
602mt.__index=tab
603−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.insert,u,40)
603+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.insert,u,40)
604−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.remove,u)
604+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.remove,u)
605mt.__newindex=tab
605mt.__newindex=tab
606−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.insert,u,40)
606+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.insert,u,40)
607−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.remove,u)
607+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.remove,u)
608mt.__len=function ()
608mt.__len=function ()
609return # tab
609return # tab
610end
610end
@@ -617,13 +617,13 @@ mt.__newindex=nil
617mt.__len=nil
617mt.__len=nil
618local tab2 = {}
618local tab2 = {}
619local u2 = T.newuserdata(0)
619local u2 = T.newuserdata(0)
620−debug.setmetatable(u2,{["\95\95\110\101\119\105\110\100\101\120"] = function (_,k,v)
620+debug.setmetatable(u2,{["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k,v)
621tab2[k]=v
621tab2[k]=v
622end})
622end})
623table.move(u,1,4,1,u2)
623table.move(u,1,4,1,u2)
624assert(# tab2 == 4 and tab2[1] == tab[1] and tab2[4] == tab[4])
624assert(# tab2 == 4 and tab2[1] == tab[1] and tab2[4] == tab[4])
625end
625end
626−print("\43")
626+print("\u{2b}")
627a={}
627a={}
628for i = 1, 1000
628for i = 1, 1000
629do
629do
@@ -636,15 +636,15 @@ assert(next({}) == nil)
636assert(next({},nil) == nil)
636assert(next({},nil) == nil)
637for a,b in pairs({})
637for a,b in pairs({})
638do
638do
639−error("\110\111\116\32\104\101\114\101")
639+error("\u{6e}\u{6f}\u{74}\u{20}\u{68}\u{65}\u{72}\u{65}")
640end
640end
641for i = 1, 0
641for i = 1, 0
642do
642do
643−error("\110\111\116\32\104\101\114\101")
643+error("\u{6e}\u{6f}\u{74}\u{20}\u{68}\u{65}\u{72}\u{65}")
644end
644end
645for i = 0, 1, - 1
645for i = 0, 1, - 1
646do
646do
647−error("\110\111\116\32\104\101\114\101")
647+error("\u{6e}\u{6f}\u{74}\u{20}\u{68}\u{65}\u{72}\u{65}")
648end
648end
649a=nil
649a=nil
650;
650;
@@ -667,7 +667,7 @@ end
667;
667;
668assert(a)
668assert(a)
669do
669do
670−print("\116\101\115\116\105\110\103\32\102\108\111\97\116\115\32\105\110\32\110\117\109\101\114\105\99\32\102\111\114")
670+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{73}\u{20}\u{69}\u{6e}\u{20}\u{6e}\u{75}\u{6d}\u{65}\u{72}\u{69}\u{63}\u{20}\u{66}\u{6f}\u{72}")
671local a
671local a
672a=0
672a=0
673;
673;
@@ -774,7 +774,7 @@ for i = 1, 10
774do
774do
775a=a + 1
775a=a + 1
776;
776;
777−i="\120"
777+i="\u{78}"
778end
778end
779;
779;
780assert(a == 10)
780assert(a == 10)
@@ -784,14 +784,14 @@ for i = 10.0, 1, - 1
784do
784do
785a=a + 1
785a=a + 1
786;
786;
787−i="\120"
787+i="\u{78}"
788end
788end
789;
789;
790assert(a == 10)
790assert(a == 10)
791end
791end
792a=0
792a=0
793;
793;
794−for i = "\49\48", "\49", "\45\50"
794+for i = "\u{31}\u{30}", "\u{31}", "\u{2d}\u{32}"
795do
795do
796a=a + 1
796a=a + 1
797end
797end
@@ -801,7 +801,7 @@ do
801local c
801local c
802local function checkfloat
802local function checkfloat
803(i)
803(i)
804−assert(math.type(i) == "\102\108\111\97\116")
804+assert(math.type(i) == "\u{66}\u{6c}\u{6f}\u{61}\u{74}")
805c=c + 1
805c=c + 1
806end
806end
807c=0
807c=0
@@ -820,7 +820,7 @@ end
820assert(c == 10)
820assert(c == 10)
821local function checkint
821local function checkint
822(i)
822(i)
823−assert(math.type(i) == "\105\110\116\101\103\101\114")
823+assert(math.type(i) == "\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}")
824c=c + 1
824c=c + 1
825end
825end
826local m = math.maxinteger
826local m = math.maxinteger
@@ -847,28 +847,28 @@ end
847assert(c == 10)
847assert(c == 10)
848c=0
848c=0
849;
849;
850−for i = 1, "\49\48\46\56"
850+for i = 1, "\u{31}\u{30}\u{2e}\u{38}"
851do
851do
852checkint(i)
852checkint(i)
853end
853end
854assert(c == 10)
854assert(c == 10)
855c=0
855c=0
856;
856;
857−for i = 9, "\51\46\52", - 1
857+for i = 9, "\u{33}\u{2e}\u{34}", - 1
858do
858do
859checkint(i)
859checkint(i)
860end
860end
861assert(c == 6)
861assert(c == 6)
862c=0
862c=0
863;
863;
864−for i = 0, "\32\45\51\46\52\32\32", - 1
864+for i = 0, "\u{20}\u{2d}\u{33}\u{2e}\u{34}\u{20}\u{20}", - 1
865do
865do
866checkint(i)
866checkint(i)
867end
867end
868assert(c == 4)
868assert(c == 4)
869c=0
869c=0
870;
870;
871−for i = 100, "\57\54\46\51", - 2
871+for i = 100, "\u{39}\u{36}\u{2e}\u{33}", - 2
872do
872do
873checkint(i)
873checkint(i)
874end
874end
@@ -944,19 +944,19 @@ checkfor(maxi,maxi,mini,{maxi})
944checkfor(mini,mini,maxi,{mini})
944checkfor(mini,mini,maxi,{mini})
945checkfor(mini,mini,mini,{mini})
945checkfor(mini,mini,mini,{mini})
946end
946end
947−checkerror("\39\102\111\114\39\32\115\116\101\112\32\105\115\32\122\101\114\111",function ()
947+checkerror("\u{27}\u{66}\u{6f}\u{72}\u{27}\u{20}\u{73}\u{74}\u{65}\u{70}\u{20}\u{69}\u{73}\u{20}\u{7a}\u{65}\u{72}\u{6f}",function ()
948for i = 1, 10, 0
948for i = 1, 10, 0
949do
949do
950
950
951end
951end
952end)
952end)
953−checkerror("\39\102\111\114\39\32\115\116\101\112\32\105\115\32\122\101\114\111",function ()
953+checkerror("\u{27}\u{66}\u{6f}\u{72}\u{27}\u{20}\u{73}\u{74}\u{65}\u{70}\u{20}\u{69}\u{73}\u{20}\u{7a}\u{65}\u{72}\u{6f}",function ()
954for i = 1, - 10, 0
954for i = 1, - 10, 0
955do
955do
956
956
957end
957end
958end)
958end)
959−checkerror("\39\102\111\114\39\32\115\116\101\112\32\105\115\32\122\101\114\111",function ()
959+checkerror("\u{27}\u{66}\u{6f}\u{72}\u{27}\u{20}\u{73}\u{74}\u{65}\u{70}\u{20}\u{69}\u{73}\u{20}\u{7a}\u{65}\u{72}\u{6f}",function ()
960for i = 1.0, - 10, 0.0
960for i = 1.0, - 10, 0.0
961do
961do
962
962
@@ -972,7 +972,7 @@ do
972t[i]=i * 10
972t[i]=i * 10
973end
973end
974return function (_,n, ...)
974return function (_,n, ...)
975−assert(select("\35",...) == 0)
975+assert(select("\u{23}",...) == 0)
976if n > 0 then
976if n > 0 then
977n=n - 1
977n=n - 1
978return n,table.unpack(t)
978return n,table.unpack(t)
@@ -989,7 +989,7 @@ assert(x == 5)
989a={}
989a={}
990do
990do
991local x,y,z = pairs(a)
991local x,y,z = pairs(a)
992−assert(type(x) == "\102\117\110\99\116\105\111\110" and y == a and z == nil)
992+assert(type(x) == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}" and y == a and z == nil)
993end
993end
994local function foo
994local function foo
995(e,i)
995(e,i)
@@ -1006,7 +1006,7 @@ if i <= e.n then
1006return i,a[i]
1006return i,a[i]
1007end
1007end
1008end
1008end
1009−setmetatable(a,{["\95\95\112\97\105\114\115"] = function (x)
1009+setmetatable(a,{["\u{5f}\u{5f}\u{70}\u{61}\u{69}\u{72}\u{73}"] = function (x)
1010return foo,x,0
1010return foo,x,0
1011end})
1011end})
1012local i = 0
1012local i = 0
@@ -1017,8 +1017,8 @@ assert(k == i and v == k + 1)
1017end
1017end
1018a.n=5
1018a.n=5
1019a[3]=30
1019a[3]=30
1020−a={["\110"] = 10}
1020+a={["\u{6e}"] = 10}
1021−setmetatable(a,{["\95\95\105\110\100\101\120"] = function (t,k)
1021+setmetatable(a,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k)
1022if k <= t.n then
1022if k <= t.n then
1023return k * 10
1023return k * 10
1024end
1024end
@@ -1031,7 +1031,7 @@ assert(k == i and v == i * 10)
1031end
1031end
1032assert(i == a.n)
1032assert(i == a.n)
1033do
1033do
1034−local t = setmetatable({10,20,30},{["\95\95\112\97\105\114\115"] = function (t)
1034+local t = setmetatable({10,20,30},{["\u{5f}\u{5f}\u{70}\u{61}\u{69}\u{72}\u{73}"] = function (t)
1035local inc = coroutine.yield()
1035local inc = coroutine.yield()
1036return function (t,i)
1036return function (t,i)
1037if i > 1 then
1037if i > 1 then
@@ -1052,4 +1052,4 @@ co()
1052co(1)
1052co(1)
1053assert(res[1] == 30 and res[2] == 20 and res[3] == 10 and # res == 3)
1053assert(res[1] == 30 and res[2] == 20 and res[3] == 10 and # res == 3)
1054end
1054end
1055−print("\79\75")
1055+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/pm.lua+221−221
@@ -1,4 +1,4 @@
1−print("\116\101\115\116\105\110\103\32\112\97\116\116\101\114\110\32\109\97\116\99\104\105\110\103")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{74}\u{74}\u{65}\u{72}\u{6e}\u{20}\u{6d}\u{61}\u{74}\u{63}\u{68}\u{69}\u{6e}\u{67}")
2local function checkerror
2local function checkerror
3(msg,f, ...)
3(msg,f, ...)
4local s,err = pcall(f,...)
4local s,err = pcall(f,...)
@@ -14,97 +14,97 @@ end
14local a,b = string.find("","")
14local a,b = string.find("","")
15assert(a == 1 and b == 0)
15assert(a == 1 and b == 0)
16;
16;
17−a,b=string.find("\97\108\111","")
17+a,b=string.find("\u{61}\u{6c}\u{6f}","")
18assert(a == 1 and b == 0)
18assert(a == 1 and b == 0)
19−a,b=string.find("\97\111\32\97\111\32\97\111","\97",1)
19+a,b=string.find("\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}","\u{61}",1)
20assert(a == 1 and b == 1)
20assert(a == 1 and b == 1)
21−a,b=string.find("\97\111\32\97\111\32\97\111","\97\111",2)
21+a,b=string.find("\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}","\u{61}\u{0}\u{6f}",2)
22assert(a == 5 and b == 7)
22assert(a == 5 and b == 7)
23−a,b=string.find("\97\111\32\97\111\32\97\111","\97\111",9)
23+a,b=string.find("\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}\u{20}\u{61}\u{0}\u{6f}","\u{61}\u{0}\u{6f}",9)
24assert(a == 9 and b == 11)
24assert(a == 9 and b == 11)
25−a,b=string.find("\97\97\97\97\97\98","\97\98",2)
25+a,b=string.find("\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{0}\u{61}\u{62}","\u{0}\u{61}\u{62}",2)
26;
26;
27assert(a == 9 and b == 11)
27assert(a == 9 and b == 11)
28;
28;
29−a,b=string.find("\97\97\97\97\97\98","\98")
29+a,b=string.find("\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{0}\u{61}\u{62}","\u{62}")
30assert(a == 11 and b == 11)
30assert(a == 11 and b == 11)
31−assert(not string.find("\97\97\97\97\97\98","\98"))
31+assert(not string.find("\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{61}\u{0}\u{0}\u{61}\u{62}","\u{62}\u{0}"))
32−assert(not string.find("",""))
32+assert(not string.find("","\u{0}"))
33−assert(string.find("\97\108\111\49\50\51\97\108\111","\49\50") == 4)
33+assert(string.find("\u{61}\u{6c}\u{6f}\u{31}\u{32}\u{33}\u{61}\u{6c}\u{6f}","\u{31}\u{32}") == 4)
34−assert(not string.find("\97\108\111\49\50\51\97\108\111","\94\49\50"))
34+assert(not string.find("\u{61}\u{6c}\u{6f}\u{31}\u{32}\u{33}\u{61}\u{6c}\u{6f}","\u{5e}\u{31}\u{32}"))
35−assert(string.match("\97\97\97\98","\46\42\98") == "\97\97\97\98")
35+assert(string.match("\u{61}\u{61}\u{61}\u{62}","\u{2e}\u{2a}\u{62}") == "\u{61}\u{61}\u{61}\u{62}")
36−assert(string.match("\97\97\97","\46\42\97") == "\97\97\97")
36+assert(string.match("\u{61}\u{61}\u{61}","\u{2e}\u{2a}\u{61}") == "\u{61}\u{61}\u{61}")
37−assert(string.match("\98","\46\42\98") == "\98")
37+assert(string.match("\u{62}","\u{2e}\u{2a}\u{62}") == "\u{62}")
38−assert(string.match("\97\97\97\98","\46\43\98") == "\97\97\97\98")
38+assert(string.match("\u{61}\u{61}\u{61}\u{62}","\u{2e}\u{2b}\u{62}") == "\u{61}\u{61}\u{61}\u{62}")
39−assert(string.match("\97\97\97","\46\43\97") == "\97\97\97")
39+assert(string.match("\u{61}\u{61}\u{61}","\u{2e}\u{2b}\u{61}") == "\u{61}\u{61}\u{61}")
40−assert(not string.match("\98","\46\43\98"))
40+assert(not string.match("\u{62}","\u{2e}\u{2b}\u{62}"))
41−assert(string.match("\97\97\97\98","\46\63\98") == "\97\98")
41+assert(string.match("\u{61}\u{61}\u{61}\u{62}","\u{2e}\u{3f}\u{62}") == "\u{61}\u{62}")
42−assert(string.match("\97\97\97","\46\63\97") == "\97\97")
42+assert(string.match("\u{61}\u{61}\u{61}","\u{2e}\u{3f}\u{61}") == "\u{61}\u{61}")
43−assert(string.match("\98","\46\63\98") == "\98")
43+assert(string.match("\u{62}","\u{2e}\u{3f}\u{62}") == "\u{62}")
44−assert(f("\97\108\111\65\76\79","\37\108\42") == "\97\108\111")
44+assert(f("\u{61}\u{6c}\u{6f}\u{41}\u{4c}\u{4f}","\u{25}\u{6c}\u{2a}") == "\u{61}\u{6c}\u{6f}")
45−assert(f("\97\76\111\95\65\76\79","\37\97\42") == "\97\76\111")
45+assert(f("\u{61}\u{4c}\u{6f}\u{5f}\u{41}\u{4c}\u{4f}","\u{25}\u{61}\u{2a}") == "\u{61}\u{4c}\u{6f}")
46−assert(f("\32\32\10\13\42\38\10\13\32\32\32\120\117\120\117\32\32\10\10","\37\103\37\103\37\103\43") == "\120\117\120\117")
46+assert(f("\u{20}\u{20}\u{a}\u{d}\u{2a}\u{26}\u{a}\u{d}\u{20}\u{20}\u{20}\u{78}\u{75}\u{78}\u{75}\u{20}\u{20}\u{a}\u{a}","\u{25}\u{67}\u{25}\u{67}\u{25}\u{67}\u{2b}") == "\u{78}\u{75}\u{78}\u{75}")
47local function PU
47local function PU
48(p)
48(p)
49−p=string.gsub(p,"\40" .. utf8.charpattern .. "\41\37\63",function (c)
49+p=string.gsub(p,"\u{28}" .. utf8.charpattern .. "\u{29}\u{25}\u{3f}",function (c)
50−return string.gsub(c,"\46","\37\48\63")
50+return string.gsub(c,"\u{2e}","\u{25}\u{30}\u{3f}")
51end)
51end)
52−p=string.gsub(p,"\37\46",utf8.charpattern)
52+p=string.gsub(p,"\u{25}\u{2e}",utf8.charpattern)
53return p
53return p
54end
54end
55−assert(f("\97\97\97\98","\97\42") == "\97\97\97")
55+assert(f("\u{61}\u{61}\u{61}\u{62}","\u{61}\u{2a}") == "\u{61}\u{61}\u{61}")
56;
56;
57−assert(f("\97\97\97","\94\46\42\36") == "\97\97\97")
57+assert(f("\u{61}\u{61}\u{61}","\u{5e}\u{2e}\u{2a}\u{24}") == "\u{61}\u{61}\u{61}")
58;
58;
59−assert(f("\97\97\97","\98\42") == "")
59+assert(f("\u{61}\u{61}\u{61}","\u{62}\u{2a}") == "")
60;
60;
61−assert(f("\97\97\97","\97\98\42\97") == "\97\97")
61+assert(f("\u{61}\u{61}\u{61}","\u{61}\u{62}\u{2a}\u{61}") == "\u{61}\u{61}")
62−assert(f("\97\98\97","\97\98\42\97") == "\97\98\97")
62+assert(f("\u{61}\u{62}\u{61}","\u{61}\u{62}\u{2a}\u{61}") == "\u{61}\u{62}\u{61}")
63−assert(f("\97\97\97\98","\97\43") == "\97\97\97")
63+assert(f("\u{61}\u{61}\u{61}\u{62}","\u{61}\u{2b}") == "\u{61}\u{61}\u{61}")
64−assert(f("\97\97\97","\94\46\43\36") == "\97\97\97")
64+assert(f("\u{61}\u{61}\u{61}","\u{5e}\u{2e}\u{2b}\u{24}") == "\u{61}\u{61}\u{61}")
65−assert(not f("\97\97\97","\98\43"))
65+assert(not f("\u{61}\u{61}\u{61}","\u{62}\u{2b}"))
66−assert(not f("\97\97\97","\97\98\43\97"))
66+assert(not f("\u{61}\u{61}\u{61}","\u{61}\u{62}\u{2b}\u{61}"))
67−assert(f("\97\98\97","\97\98\43\97") == "\97\98\97")
67+assert(f("\u{61}\u{62}\u{61}","\u{61}\u{62}\u{2b}\u{61}") == "\u{61}\u{62}\u{61}")
68−assert(f("\97\36\97","\46\36") == "\97")
68+assert(f("\u{61}\u{24}\u{61}","\u{2e}\u{24}") == "\u{61}")
69−assert(f("\97\36\97","\46\37\36") == "\97\36")
69+assert(f("\u{61}\u{24}\u{61}","\u{2e}\u{25}\u{24}") == "\u{61}\u{24}")
70−assert(f("\97\36\97","\46\36\46") == "\97\36\97")
70+assert(f("\u{61}\u{24}\u{61}","\u{2e}\u{24}\u{2e}") == "\u{61}\u{24}\u{61}")
71−assert(not f("\97\36\97","\36\36"))
71+assert(not f("\u{61}\u{24}\u{61}","\u{24}\u{24}"))
72−assert(not f("\97\36\98","\97\36"))
72+assert(not f("\u{61}\u{24}\u{62}","\u{61}\u{24}"))
73−assert(f("\97\36\97","\36") == "")
73+assert(f("\u{61}\u{24}\u{61}","\u{24}") == "")
74−assert(f("","\98\42") == "")
74+assert(f("","\u{62}\u{2a}") == "")
75−assert(not f("\97\97\97","\98\98\42"))
75+assert(not f("\u{61}\u{61}\u{61}","\u{62}\u{62}\u{2a}"))
76−assert(f("\97\97\97\98","\97\45") == "")
76+assert(f("\u{61}\u{61}\u{61}\u{62}","\u{61}\u{2d}") == "")
77−assert(f("\97\97\97","\94\46\45\36") == "\97\97\97")
77+assert(f("\u{61}\u{61}\u{61}","\u{5e}\u{2e}\u{2d}\u{24}") == "\u{61}\u{61}\u{61}")
78−assert(f("\97\97\98\97\97\97\98\97\97\97\98\97\97\97\98\97","\98\46\42\98") == "\98\97\97\97\98\97\97\97\98\97\97\97\98")
78+assert(f("\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}","\u{62}\u{2e}\u{2a}\u{62}") == "\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}")
79−assert(f("\97\97\98\97\97\97\98\97\97\97\98\97\97\97\98\97","\98\46\45\98") == "\98\97\97\97\98")
79+assert(f("\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}\u{61}\u{61}\u{62}\u{61}","\u{62}\u{2e}\u{2d}\u{62}") == "\u{62}\u{61}\u{61}\u{61}\u{62}")
80−assert(f("\97\108\111\32\120\111","\46\111\36") == "\120\111")
80+assert(f("\u{61}\u{6c}\u{6f}\u{20}\u{78}\u{6f}","\u{2e}\u{6f}\u{24}") == "\u{78}\u{6f}")
81−assert(f("\32\10\32\105\115\116\111\32\195\169\32\97\115\115\105\109","\37\83\37\83\42") == "\105\115\116\111")
81+assert(f("\u{20}\u{a}\u{20}\u{69}\u{73}\u{74}\u{6f}\u{20}\u{c3}\u{a9}\u{20}\u{61}\u{73}\u{73}\u{69}\u{6d}","\u{25}\u{53}\u{25}\u{53}\u{2a}") == "\u{69}\u{73}\u{74}\u{6f}")
82−assert(f("\32\10\32\105\115\116\111\32\195\169\32\97\115\115\105\109","\37\83\42\36") == "\97\115\115\105\109")
82+assert(f("\u{20}\u{a}\u{20}\u{69}\u{73}\u{74}\u{6f}\u{20}\u{c3}\u{a9}\u{20}\u{61}\u{73}\u{73}\u{69}\u{6d}","\u{25}\u{53}\u{2a}\u{24}") == "\u{61}\u{73}\u{73}\u{69}\u{6d}")
83−assert(f("\32\10\32\105\115\116\111\32\195\169\32\97\115\115\105\109","\91\97\45\122\93\42\36") == "\97\115\115\105\109")
83+assert(f("\u{20}\u{a}\u{20}\u{69}\u{73}\u{74}\u{6f}\u{20}\u{c3}\u{a9}\u{20}\u{61}\u{73}\u{73}\u{69}\u{6d}","\u{5b}\u{61}\u{2d}\u{7a}\u{5d}\u{2a}\u{24}") == "\u{61}\u{73}\u{73}\u{69}\u{6d}")
84−assert(f("\117\109\32\99\97\114\97\99\116\101\114\32\63\32\101\120\116\114\97","\91\94\37\115\97\45\122\93") == "\63")
84+assert(f("\u{75}\u{6d}\u{20}\u{63}\u{61}\u{72}\u{61}\u{63}\u{74}\u{65}\u{72}\u{20}\u{3f}\u{20}\u{65}\u{78}\u{74}\u{72}\u{61}","\u{5b}\u{5e}\u{25}\u{73}\u{61}\u{2d}\u{7a}\u{5d}") == "\u{3f}")
85−assert(f("","\97\63") == "")
85+assert(f("","\u{61}\u{3f}") == "")
86−assert(f("\195\161",PU("\195\161\63")) == "\195\161")
86+assert(f("\u{c3}\u{a1}",PU("\u{c3}\u{a1}\u{3f}")) == "\u{c3}\u{a1}")
87−assert(f("\195\161\98\108",PU("\195\161\63\98\63\108\63")) == "\195\161\98\108")
87+assert(f("\u{c3}\u{a1}\u{62}\u{6c}",PU("\u{c3}\u{a1}\u{3f}\u{62}\u{3f}\u{6c}\u{3f}")) == "\u{c3}\u{a1}\u{62}\u{6c}")
88−assert(f("\32\32\195\161\98\108",PU("\195\161\63\98\63\108\63")) == "")
88+assert(f("\u{20}\u{20}\u{c3}\u{a1}\u{62}\u{6c}",PU("\u{c3}\u{a1}\u{3f}\u{62}\u{3f}\u{6c}\u{3f}")) == "")
89−assert(f("\97\97","\94\97\97\63\97\63\97") == "\97\97")
89+assert(f("\u{61}\u{61}","\u{5e}\u{61}\u{61}\u{3f}\u{61}\u{3f}\u{61}") == "\u{61}\u{61}")
90−assert(f("\93\93\93\195\161\98","\91\94\93\93\43") == "\195\161\98")
90+assert(f("\u{5d}\u{5d}\u{5d}\u{c3}\u{a1}\u{62}","\u{5b}\u{5e}\u{5d}\u{5d}\u{2b}") == "\u{c3}\u{a1}\u{62}")
91−assert(f("\48\97\108\111\32\97\108\111","\37\120\42") == "\48\97")
91+assert(f("\u{30}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{25}\u{78}\u{2a}") == "\u{30}\u{61}")
92−assert(f("\97\108\111\32\97\108\111","\37\67\43") == "\97\108\111\32\97\108\111")
92+assert(f("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{25}\u{43}\u{2b}") == "\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}")
93−print("\43")
93+print("\u{2b}")
94local function f1
94local function f1
95(s,p)
95(s,p)
96−p=string.gsub(p,"\37\37\40\91\48\45\57\93\41",function (s)
96+p=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 "\37" .. (tonumber(s) + 1)
97+return "\u{25}" .. (tonumber(s) + 1)
98end)
98end)
99−p=string.gsub(p,"\94\40\94\63\41","\37\49\40\41",1)
99+p=string.gsub(p,"\u{5e}\u{28}\u{5e}\u{3f}\u{29}","\u{25}\u{31}\u{28}\u{29}",1)
100−p=string.gsub(p,"\40\36\63\41\36","\40\41\37\49",1)
100+p=string.gsub(p,"\u{28}\u{24}\u{3f}\u{29}\u{24}","\u{28}\u{29}\u{25}\u{31}",1)
101local t = {string.match(s,p)}
101local t = {string.match(s,p)}
102return string.sub(s,t[1],t[# t] - 1)
102return string.sub(s,t[1],t[# t] - 1)
103end
103end
104−assert(f1("\97\108\111\32\97\108\120\32\49\50\51\32\98\111\32\98\111","\40\46\46\42\41\32\37\49") == "\98\111\32\98\111")
104+assert(f1("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{78}\u{20}\u{31}\u{32}\u{33}\u{20}\u{62}\u{0}\u{6f}\u{20}\u{62}\u{0}\u{6f}","\u{28}\u{2e}\u{2e}\u{2a}\u{29}\u{20}\u{25}\u{31}") == "\u{62}\u{0}\u{6f}\u{20}\u{62}\u{0}\u{6f}")
105−assert(f1("\97\120\122\49\50\51\61\32\52\61\32\52\32\51\52","\40\46\43\41\61\40\46\42\41\61\37\50\32\37\49") == "\51\61\32\52\61\32\52\32\51")
105+assert(f1("\u{61}\u{78}\u{7a}\u{31}\u{32}\u{33}\u{3d}\u{20}\u{34}\u{3d}\u{20}\u{34}\u{20}\u{33}\u{34}","\u{28}\u{2e}\u{2b}\u{29}\u{3d}\u{28}\u{2e}\u{2a}\u{29}\u{3d}\u{25}\u{32}\u{20}\u{25}\u{31}") == "\u{33}\u{3d}\u{20}\u{34}\u{3d}\u{20}\u{34}\u{20}\u{33}")
106−assert(f1("\61\61\61\61\61\61\61","\94\40\61\42\41\61\37\49\36") == "\61\61\61\61\61\61\61")
106+assert(f1("\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}","\u{5e}\u{28}\u{3d}\u{2a}\u{29}\u{3d}\u{25}\u{31}\u{24}") == "\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}")
107−assert(not string.match("\61\61\61\61\61\61\61\61\61\61","\94\40\91\61\93\42\41\61\37\49\36"))
107+assert(not string.match("\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}\u{3d}","\u{5e}\u{28}\u{5b}\u{3d}\u{5d}\u{2a}\u{29}\u{3d}\u{25}\u{31}\u{24}"))
108local function range
108local function range
109(i,j)
109(i,j)
110if i <= j then
110if i <= j then
@@ -116,91 +116,91 @@ local abc = string.char(range(0,127)) .. string.char(range(128,255))
116assert(string.len(abc) == 256)
116assert(string.len(abc) == 256)
117local function strset
117local function strset
118(p)
118(p)
119−local res = {["\115"] = ""}
119+local res = {["\u{73}"] = ""}
120string.gsub(abc,p,function (c)
120string.gsub(abc,p,function (c)
121res.s=res.s .. c
121res.s=res.s .. c
122end)
122end)
123return res.s
123return res.s
124end
124end
125;
125;
126−assert(string.len(strset("\91\200\45\210\93")) == 11)
126+assert(string.len(strset("\u{5b}\u{c8}\u{2d}\u{d2}\u{5d}")) == 11)
127−assert(strset("\91\97\45\122\93") == "\97\98\99\100\101\102\103\104\105\106\107\108\109\110\111\112\113\114\115\116\117\118\119\120\121\122")
127+assert(strset("\u{5b}\u{61}\u{2d}\u{7a}\u{5d}") == "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}\u{6a}\u{6b}\u{6c}\u{6d}\u{6e}\u{6f}\u{70}\u{71}\u{72}\u{73}\u{74}\u{75}\u{76}\u{77}\u{78}\u{79}\u{7a}")
128−assert(strset("\91\97\45\122\37\100\93") == strset("\91\37\100\97\45\117\117\45\122\93"))
128+assert(strset("\u{5b}\u{61}\u{2d}\u{7a}\u{25}\u{64}\u{5d}") == strset("\u{5b}\u{25}\u{64}\u{61}\u{2d}\u{75}\u{75}\u{2d}\u{7a}\u{5d}"))
129−assert(strset("\91\97\45\93") == "\45\97")
129+assert(strset("\u{5b}\u{61}\u{2d}\u{5d}") == "\u{2d}\u{61}")
130−assert(strset("\91\94\37\87\93") == strset("\91\37\119\93"))
130+assert(strset("\u{5b}\u{5e}\u{25}\u{57}\u{5d}") == strset("\u{5b}\u{25}\u{77}\u{5d}"))
131−assert(strset("\91\93\37\37\93") == "\37\93")
131+assert(strset("\u{5b}\u{5d}\u{25}\u{25}\u{5d}") == "\u{25}\u{5d}")
132−assert(strset("\91\97\37\45\122\93") == "\45\97\122")
132+assert(strset("\u{5b}\u{61}\u{25}\u{2d}\u{7a}\u{5d}") == "\u{2d}\u{61}\u{7a}")
133−assert(strset("\91\37\94\37\91\37\45\97\37\93\37\45\98\93") == "\45\91\93\94\97\98")
133+assert(strset("\u{5b}\u{25}\u{5e}\u{25}\u{5b}\u{25}\u{2d}\u{61}\u{25}\u{5d}\u{25}\u{2d}\u{62}\u{5d}") == "\u{2d}\u{5b}\u{5d}\u{5e}\u{61}\u{62}")
134−assert(strset("\37\90") == strset("\91\1\45\255\93"))
134+assert(strset("\u{25}\u{5a}") == strset("\u{5b}\u{1}\u{2d}\u{ff}\u{5d}"))
135−assert(strset("\46") == strset("\91\1\45\255\37\122\93"))
135+assert(strset("\u{2e}") == strset("\u{5b}\u{1}\u{2d}\u{ff}\u{25}\u{7a}\u{5d}"))
136−print("\43")
136+print("\u{2b}")
137;
137;
138−assert(string.match("\97\108\111\32\120\121\122\75","\40\37\119\43\41\75") == "\120\121\122")
138+assert(string.match("\u{61}\u{6c}\u{6f}\u{20}\u{78}\u{79}\u{7a}\u{4b}","\u{28}\u{25}\u{77}\u{2b}\u{29}\u{4b}") == "\u{78}\u{79}\u{7a}")
139−assert(string.match("\50\53\52\32\75","\40\37\100\42\41\75") == "")
139+assert(string.match("\u{32}\u{35}\u{34}\u{20}\u{4b}","\u{28}\u{25}\u{64}\u{2a}\u{29}\u{4b}") == "")
140−assert(string.match("\97\108\111\32","\40\37\119\42\41\36") == "")
140+assert(string.match("\u{61}\u{6c}\u{6f}\u{20}","\u{28}\u{25}\u{77}\u{2a}\u{29}\u{24}") == "")
141−assert(not string.match("\97\108\111\32","\40\37\119\43\41\36"))
141+assert(not string.match("\u{61}\u{6c}\u{6f}\u{20}","\u{28}\u{25}\u{77}\u{2b}\u{29}\u{24}"))
142−assert(string.find("\40\195\161\108\111\41","\37\40\195\161") == 1)
142+assert(string.find("\u{28}\u{c3}\u{a1}\u{6c}\u{6f}\u{29}","\u{25}\u{28}\u{c3}\u{a1}") == 1)
143−local a,b,c,d,e = string.match("\195\162\108\111\32\97\108\111",PU("\94\40\40\40\46\41\46\41\46\32\40\37\119\42\41\41\36"))
143+local a,b,c,d,e = string.match("\u{c3}\u{a2}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}",PU("\u{5e}\u{28}\u{28}\u{28}\u{2e}\u{29}\u{2e}\u{29}\u{2e}\u{20}\u{28}\u{25}\u{77}\u{2a}\u{29}\u{29}\u{24}"))
144−assert(a == "\195\162\108\111\32\97\108\111" and b == "\195\162\108" and c == "\195\162" and d == "\97\108\111" and e == nil)
144+assert(a == "\u{c3}\u{a2}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}" and b == "\u{c3}\u{a2}\u{6c}" and c == "\u{c3}\u{a2}" and d == "\u{61}\u{6c}\u{6f}" and e == nil)
145−a,b,c,d=string.match("\48\49\50\51\52\53\54\55\56\57","\40\46\43\40\46\63\41\40\41\41")
145+a,b,c,d=string.match("\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}","\u{28}\u{2e}\u{2b}\u{28}\u{2e}\u{3f}\u{29}\u{28}\u{29}\u{29}")
146−assert(a == "\48\49\50\51\52\53\54\55\56\57" and b == "" and c == 11 and d == nil)
146+assert(a == "\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}" and b == "" and c == 11 and d == nil)
147−print("\43")
147+print("\u{2b}")
148−assert(string.gsub("\195\188\108\111\32\195\188\108\111","\195\188","\120") == "\120\108\111\32\120\108\111")
148+assert(string.gsub("\u{c3}\u{bc}\u{6c}\u{6f}\u{20}\u{c3}\u{bc}\u{6c}\u{6f}","\u{c3}\u{bc}","\u{78}") == "\u{78}\u{6c}\u{6f}\u{20}\u{78}\u{6c}\u{6f}")
149−assert(string.gsub("\97\108\111\32\195\186\108\111\32\32","\32\43\36","") == "\97\108\111\32\195\186\108\111")
149+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{c3}\u{ba}\u{6c}\u{6f}\u{20}\u{20}","\u{20}\u{2b}\u{24}","") == "\u{61}\u{6c}\u{6f}\u{20}\u{c3}\u{ba}\u{6c}\u{6f}")
150−assert(string.gsub("\32\32\97\108\111\32\97\108\111\32\32","\94\37\115\42\40\46\45\41\37\115\42\36","\37\49") == "\97\108\111\32\97\108\111")
150+assert(string.gsub("\u{20}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{20}","\u{5e}\u{25}\u{73}\u{2a}\u{28}\u{2e}\u{2d}\u{29}\u{25}\u{73}\u{2a}\u{24}","\u{25}\u{31}") == "\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}")
151−assert(string.gsub("\97\108\111\32\32\97\108\111\32\32\10\32\49\50\51\10\32","\37\115\43","\32") == "\97\108\111\32\97\108\111\32\49\50\51\32")
151+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{20}\u{a}\u{20}\u{31}\u{32}\u{33}\u{a}\u{20}","\u{25}\u{73}\u{2b}","\u{20}") == "\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{31}\u{32}\u{33}\u{20}")
152−local t = "\97\98\195\167\32\100"
152+local t = "\u{61}\u{62}\u{c3}\u{a7}\u{20}\u{64}"
153−a,b=string.gsub(t,PU("\40\46\41"),"\37\49\64")
153+a,b=string.gsub(t,PU("\u{28}\u{2e}\u{29}"),"\u{25}\u{31}\u{40}")
154−assert(a == "\97\64\98\64\195\167\64\32\64\100\64" and b == 5)
154+assert(a == "\u{61}\u{40}\u{62}\u{40}\u{c3}\u{a7}\u{40}\u{20}\u{40}\u{64}\u{40}" and b == 5)
155−a,b=string.gsub("\97\98\195\167\100",PU("\40\46\41"),"\37\48\64",2)
155+a,b=string.gsub("\u{61}\u{62}\u{c3}\u{a7}\u{64}",PU("\u{28}\u{2e}\u{29}"),"\u{25}\u{30}\u{40}",2)
156−assert(a == "\97\64\98\64\195\167\100" and b == 2)
156+assert(a == "\u{61}\u{40}\u{62}\u{40}\u{c3}\u{a7}\u{64}" and b == 2)
157−assert(string.gsub("\97\108\111\32\97\108\111","\40\41\91\97\108\93","\37\49") == "\49\50\111\32\53\54\111")
157+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{29}\u{5b}\u{61}\u{6c}\u{5d}","\u{25}\u{31}") == "\u{31}\u{32}\u{6f}\u{20}\u{35}\u{36}\u{6f}")
158−assert(string.gsub("\97\98\99\61\120\121\122","\40\37\119\42\41\40\37\112\41\40\37\119\43\41","\37\51\37\50\37\49\45\37\48") == "\120\121\122\61\97\98\99\45\97\98\99\61\120\121\122")
158+assert(string.gsub("\u{61}\u{62}\u{63}\u{3d}\u{78}\u{79}\u{7a}","\u{28}\u{25}\u{77}\u{2a}\u{29}\u{28}\u{25}\u{70}\u{29}\u{28}\u{25}\u{77}\u{2b}\u{29}","\u{25}\u{33}\u{25}\u{32}\u{25}\u{31}\u{2d}\u{25}\u{30}") == "\u{78}\u{79}\u{7a}\u{3d}\u{61}\u{62}\u{63}\u{2d}\u{61}\u{62}\u{63}\u{3d}\u{78}\u{79}\u{7a}")
159−assert(string.gsub("\97\98\99","\37\119","\37\49\37\48") == "\97\97\98\98\99\99")
159+assert(string.gsub("\u{61}\u{62}\u{63}","\u{25}\u{77}","\u{25}\u{31}\u{25}\u{30}") == "\u{61}\u{61}\u{62}\u{62}\u{63}\u{63}")
160−assert(string.gsub("\97\98\99","\37\119\43","\37\48\37\49") == "\97\98\99\97\98\99")
160+assert(string.gsub("\u{61}\u{62}\u{63}","\u{25}\u{77}\u{2b}","\u{25}\u{30}\u{25}\u{31}") == "\u{61}\u{62}\u{63}\u{61}\u{62}\u{63}")
161−assert(string.gsub("\195\161\195\169\195\173","\36","\195\179\195\186") == "\195\161\195\169\195\173\195\179\195\186")
161+assert(string.gsub("\u{c3}\u{a1}\u{c3}\u{a9}\u{c3}\u{ad}","\u{24}","\u{0}\u{c3}\u{b3}\u{c3}\u{ba}") == "\u{c3}\u{a1}\u{c3}\u{a9}\u{c3}\u{ad}\u{0}\u{c3}\u{b3}\u{c3}\u{ba}")
162−assert(string.gsub("","\94","\114") == "\114")
162+assert(string.gsub("","\u{5e}","\u{72}") == "\u{72}")
163−assert(string.gsub("","\36","\114") == "\114")
163+assert(string.gsub("","\u{24}","\u{72}") == "\u{72}")
164−print("\43")
164+print("\u{2b}")
165do
165do
166−assert(string.gsub("\97\32\98\32\99\100","\32\42","\45") == "\45\97\45\98\45\99\45\100\45")
166+assert(string.gsub("\u{61}\u{20}\u{62}\u{20}\u{63}\u{64}","\u{20}\u{2a}","\u{2d}") == "\u{2d}\u{61}\u{2d}\u{62}\u{2d}\u{63}\u{2d}\u{64}\u{2d}")
167local res = ""
167local res = ""
168−local sub = "\97\32\32\10\98\99\9\9\100"
168+local sub = "\u{61}\u{20}\u{20}\u{a}\u{62}\u{63}\u{9}\u{9}\u{64}"
169local i = 1
169local i = 1
170−for p,e in string.gmatch(sub,"\40\41\37\115\42\40\41")
170+for p,e in string.gmatch(sub,"\u{28}\u{29}\u{25}\u{73}\u{2a}\u{28}\u{29}")
171do
171do
172−res=res .. string.sub(sub,i,p - 1) .. "\45"
172+res=res .. string.sub(sub,i,p - 1) .. "\u{2d}"
173i=e
173i=e
174end
174end
175−assert(res == "\45\97\45\98\45\99\45\100\45")
175+assert(res == "\u{2d}\u{61}\u{2d}\u{62}\u{2d}\u{63}\u{2d}\u{64}\u{2d}")
176end
176end
177−assert(string.gsub("\117\109\32\40\100\111\105\115\41\32\116\114\101\115\32\40\113\117\97\116\114\111\41","\40\37\40\37\119\43\37\41\41",string.upper) == "\117\109\32\40\68\79\73\83\41\32\116\114\101\115\32\40\81\85\65\84\82\79\41")
177+assert(string.gsub("\u{75}\u{6d}\u{20}\u{28}\u{64}\u{6f}\u{69}\u{73}\u{29}\u{20}\u{74}\u{72}\u{65}\u{73}\u{20}\u{28}\u{71}\u{75}\u{61}\u{74}\u{72}\u{6f}\u{29}","\u{28}\u{25}\u{28}\u{25}\u{77}\u{2b}\u{25}\u{29}\u{29}",string.upper) == "\u{75}\u{6d}\u{20}\u{28}\u{44}\u{4f}\u{49}\u{53}\u{29}\u{20}\u{74}\u{72}\u{65}\u{73}\u{20}\u{28}\u{51}\u{55}\u{41}\u{54}\u{52}\u{4f}\u{29}")
178do
178do
179local function setglobal
179local function setglobal
180(n,v)
180(n,v)
181rawset(_G,n,v)
181rawset(_G,n,v)
182end
182end
183−string.gsub("\97\61\114\111\98\101\114\116\111\44\114\111\98\101\114\116\111\61\97","\40\37\119\43\41\61\40\37\119\37\119\42\41",setglobal)
183+string.gsub("\u{61}\u{3d}\u{72}\u{6f}\u{62}\u{65}\u{72}\u{74}\u{6f}\u{2c}\u{72}\u{6f}\u{62}\u{65}\u{72}\u{74}\u{6f}\u{3d}\u{61}","\u{28}\u{25}\u{77}\u{2b}\u{29}\u{3d}\u{28}\u{25}\u{77}\u{25}\u{77}\u{2a}\u{29}",setglobal)
184−assert(_G.a == "\114\111\98\101\114\116\111" and _G.roberto == "\97")
184+assert(_G.a == "\u{72}\u{6f}\u{62}\u{65}\u{72}\u{74}\u{6f}" and _G.roberto == "\u{61}")
185_G.a=nil
185_G.a=nil
186;
186;
187_G.roberto=nil
187_G.roberto=nil
188end
188end
189function f(a,b)
189function f(a,b)
190−return string.gsub(a,"\46",b)
190+return string.gsub(a,"\u{2e}",b)
191end
191end
192−assert(string.gsub("\116\114\111\99\97\114\32\116\117\100\111\32\101\109\32\124\116\101\115\116\101\124\98\124\32\195\169\32\124\98\101\108\101\122\97\124\97\108\124","\124\40\91\94\124\93\42\41\124\40\91\94\124\93\42\41\124",f) == "\116\114\111\99\97\114\32\116\117\100\111\32\101\109\32\98\98\98\98\98\32\195\169\32\97\108\97\108\97\108\97\108\97\108\97\108")
192+assert(string.gsub("\u{74}\u{72}\u{6f}\u{63}\u{61}\u{72}\u{20}\u{74}\u{75}\u{64}\u{6f}\u{20}\u{65}\u{6d}\u{20}\u{7c}\u{74}\u{65}\u{73}\u{74}\u{65}\u{7c}\u{62}\u{7c}\u{20}\u{c3}\u{a9}\u{20}\u{7c}\u{62}\u{65}\u{6c}\u{65}\u{7a}\u{61}\u{7c}\u{61}\u{6c}\u{7c}","\u{7c}\u{28}\u{5b}\u{5e}\u{7c}\u{5d}\u{2a}\u{29}\u{7c}\u{28}\u{5b}\u{5e}\u{7c}\u{5d}\u{2a}\u{29}\u{7c}",f) == "\u{74}\u{72}\u{6f}\u{63}\u{61}\u{72}\u{20}\u{74}\u{75}\u{64}\u{6f}\u{20}\u{65}\u{6d}\u{20}\u{62}\u{62}\u{62}\u{62}\u{62}\u{20}\u{c3}\u{a9}\u{20}\u{61}\u{6c}\u{61}\u{6c}\u{61}\u{6c}\u{61}\u{6c}\u{61}\u{6c}\u{61}\u{6c}")
193local function dostring
193local function dostring
194(s)
194(s)
195return load(s,"")() or ""
195return load(s,"")() or ""
196end
196end
197−assert(string.gsub("\97\108\111\32\36\97\61\39\120\39\36\32\110\111\118\97\109\101\110\116\101\32\36\114\101\116\117\114\110\32\97\36","\36\40\91\94\36\93\42\41\37\36",dostring) == "\97\108\111\32\32\110\111\118\97\109\101\110\116\101\32\120")
197+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{24}\u{61}\u{3d}\u{27}\u{78}\u{27}\u{24}\u{20}\u{6e}\u{6f}\u{76}\u{61}\u{6d}\u{65}\u{6e}\u{74}\u{65}\u{20}\u{24}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{24}","\u{24}\u{28}\u{5b}\u{5e}\u{24}\u{5d}\u{2a}\u{29}\u{25}\u{24}",dostring) == "\u{61}\u{6c}\u{6f}\u{20}\u{20}\u{6e}\u{6f}\u{76}\u{61}\u{6d}\u{65}\u{6e}\u{74}\u{65}\u{20}\u{78}")
198−local x = string.gsub("\36\120\61\115\116\114\105\110\103\46\103\115\117\98\40\39\97\108\111\39\44\32\39\46\39\44\32\115\116\114\105\110\103\46\117\112\112\101\114\41\36\32\97\115\115\105\109\32\118\97\105\32\112\97\114\97\32\36\114\101\116\117\114\110\32\120\36","\36\40\91\94\36\93\42\41\37\36",dostring)
198+local x = string.gsub("\u{24}\u{78}\u{3d}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{67}\u{73}\u{75}\u{62}\u{28}\u{27}\u{61}\u{6c}\u{6f}\u{27}\u{2c}\u{20}\u{27}\u{2e}\u{27}\u{2c}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{2e}\u{75}\u{70}\u{70}\u{65}\u{72}\u{29}\u{24}\u{20}\u{61}\u{73}\u{73}\u{69}\u{6d}\u{20}\u{76}\u{61}\u{69}\u{20}\u{70}\u{61}\u{72}\u{61}\u{20}\u{24}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{78}\u{24}","\u{24}\u{28}\u{5b}\u{5e}\u{24}\u{5d}\u{2a}\u{29}\u{25}\u{24}",dostring)
199−assert(x == "\32\97\115\115\105\109\32\118\97\105\32\112\97\114\97\32\65\76\79")
199+assert(x == "\u{20}\u{61}\u{73}\u{73}\u{69}\u{6d}\u{20}\u{76}\u{61}\u{69}\u{20}\u{70}\u{61}\u{72}\u{61}\u{20}\u{41}\u{4c}\u{4f}")
200_G.a,_G.x=nil
200_G.a,_G.x=nil
201local t = {}
201local t = {}
202−local s = "\97\32\97\108\111\32\106\111\115\101\32\32\106\111\97\111"
202+local s = "\u{61}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{6a}\u{6f}\u{73}\u{65}\u{20}\u{20}\u{6a}\u{6f}\u{61}\u{6f}"
203−local r = string.gsub(s,"\40\41\40\37\119\43\41\40\41",function (a,w,b)
203+local r = string.gsub(s,"\u{28}\u{29}\u{28}\u{25}\u{77}\u{2b}\u{29}\u{28}\u{29}",function (a,w,b)
204assert(string.len(w) == b - a)
204assert(string.len(w) == b - a)
205;
205;
206t[a]=b - a
206t[a]=b - a
@@ -209,88 +209,88 @@ end)
209assert(s == r and t[1] == 1 and t[3] == 3 and t[7] == 4 and t[13] == 4)
209assert(s == r and t[1] == 1 and t[3] == 3 and t[7] == 4 and t[13] == 4)
210local function isbalanced
210local function isbalanced
211(s)
211(s)
212−return not string.find(string.gsub(s,"\37\98\40\41",""),"\91\40\41\93")
212+return not string.find(string.gsub(s,"\u{25}\u{62}\u{28}\u{29}",""),"\u{5b}\u{28}\u{29}\u{5d}")
213end
213end
214−assert(isbalanced("\40\57\32\40\40\56\41\41\40\41\32\55\41\32\32\97\32\98\32\40\41\40\99\41\40\41\32\97"))
214+assert(isbalanced("\u{28}\u{39}\u{20}\u{28}\u{28}\u{38}\u{29}\u{29}\u{28}\u{0}\u{29}\u{20}\u{37}\u{29}\u{20}\u{0}\u{0}\u{20}\u{61}\u{20}\u{62}\u{20}\u{28}\u{29}\u{28}\u{63}\u{29}\u{28}\u{29}\u{20}\u{61}"))
215−assert(not isbalanced("\40\57\32\40\40\56\41\32\55\41\32\97\32\98\32\40\32\99\41\32\97"))
215+assert(not isbalanced("\u{28}\u{39}\u{20}\u{28}\u{28}\u{38}\u{29}\u{20}\u{37}\u{29}\u{20}\u{61}\u{20}\u{62}\u{20}\u{28}\u{0}\u{20}\u{63}\u{29}\u{20}\u{61}"))
216−assert(string.gsub("\97\108\111\32\39\111\105\39\32\97\108\111","\37\98\39\39","\34") == "\97\108\111\32\34\32\97\108\111")
216+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{27}\u{6f}\u{69}\u{27}\u{20}\u{61}\u{6c}\u{6f}","\u{25}\u{62}\u{27}\u{27}","\u{22}") == "\u{61}\u{6c}\u{6f}\u{20}\u{22}\u{20}\u{61}\u{6c}\u{6f}")
217−local t = {"\97\112\112\108\101","\111\114\97\110\103\101","\108\105\109\101",["\110"] = 0}
217+local t = {"\u{61}\u{70}\u{70}\u{6c}\u{65}","\u{6f}\u{72}\u{61}\u{6e}\u{67}\u{65}","\u{6c}\u{69}\u{6d}\u{65}",["\u{6e}"] = 0}
218−assert(string.gsub("\120\32\97\110\100\32\120\32\97\110\100\32\120","\120",function ()
218+assert(string.gsub("\u{78}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{78}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{78}","\u{78}",function ()
219t.n=t.n + 1
219t.n=t.n + 1
220;
220;
221return t[t.n]
221return t[t.n]
222−end) == "\97\112\112\108\101\32\97\110\100\32\111\114\97\110\103\101\32\97\110\100\32\108\105\109\101")
222+end) == "\u{61}\u{70}\u{70}\u{6c}\u{65}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6f}\u{72}\u{61}\u{6e}\u{67}\u{65}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{6c}\u{69}\u{6d}\u{65}")
223−t={["\110"] = 0}
223+t={["\u{6e}"] = 0}
224−string.gsub("\102\105\114\115\116\32\115\101\99\111\110\100\32\119\111\114\100","\37\119\37\119\42",function (w)
224+string.gsub("\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{77}\u{6f}\u{72}\u{64}","\u{25}\u{77}\u{25}\u{77}\u{2a}",function (w)
225t.n=t.n + 1
225t.n=t.n + 1
226;
226;
227t[t.n]=w
227t[t.n]=w
228end)
228end)
229−assert(t[1] == "\102\105\114\115\116" and t[2] == "\115\101\99\111\110\100" and t[3] == "\119\111\114\100" and t.n == 3)
229+assert(t[1] == "\u{66}\u{69}\u{72}\u{73}\u{74}" and t[2] == "\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}" and t[3] == "\u{77}\u{6f}\u{72}\u{64}" and t.n == 3)
230−t={["\110"] = 0}
230+t={["\u{6e}"] = 0}
231−assert(string.gsub("\102\105\114\115\116\32\115\101\99\111\110\100\32\119\111\114\100","\37\119\43",function (w)
231+assert(string.gsub("\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{77}\u{6f}\u{72}\u{64}","\u{25}\u{77}\u{2b}",function (w)
232t.n=t.n + 1
232t.n=t.n + 1
233;
233;
234t[t.n]=w
234t[t.n]=w
235−end,2) == "\102\105\114\115\116\32\115\101\99\111\110\100\32\119\111\114\100")
235+end,2) == "\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{77}\u{6f}\u{72}\u{64}")
236−assert(t[1] == "\102\105\114\115\116" and t[2] == "\115\101\99\111\110\100" and t[3] == undef)
236+assert(t[1] == "\u{66}\u{69}\u{72}\u{73}\u{74}" and t[2] == "\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}" and t[3] == undef)
237−checkerror("\105\110\118\97\108\105\100\32\114\101\112\108\97\99\101\109\101\110\116\32\118\97\108\117\101\32\37\40\97\32\116\97\98\108\101\37\41",string.gsub,"\97\108\111","\46",{["\97"] = {}})
237+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{72}\u{65}\u{70}\u{6c}\u{61}\u{63}\u{65}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}\u{20}\u{25}\u{28}\u{61}\u{20}\u{74}\u{61}\u{62}\u{6c}\u{65}\u{25}\u{29}",string.gsub,"\u{61}\u{6c}\u{6f}","\u{2e}",{["\u{61}"] = {}})
238−checkerror("\105\110\118\97\108\105\100\32\99\97\112\116\117\114\101\32\105\110\100\101\120\32\37\37\50",string.gsub,"\97\108\111","\46","\37\50")
238+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{61}\u{70}\u{74}\u{75}\u{72}\u{65}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{25}\u{25}\u{32}",string.gsub,"\u{61}\u{6c}\u{6f}","\u{2e}","\u{25}\u{32}")
239−checkerror("\105\110\118\97\108\105\100\32\99\97\112\116\117\114\101\32\105\110\100\101\120\32\37\37\48",string.gsub,"\97\108\111","\40\37\48\41","\97")
239+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{61}\u{70}\u{74}\u{75}\u{72}\u{65}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{25}\u{25}\u{30}",string.gsub,"\u{61}\u{6c}\u{6f}","\u{28}\u{25}\u{30}\u{29}","\u{61}")
240−checkerror("\105\110\118\97\108\105\100\32\99\97\112\116\117\114\101\32\105\110\100\101\120\32\37\37\49",string.gsub,"\97\108\111","\40\37\49\41","\97")
240+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{61}\u{70}\u{74}\u{75}\u{72}\u{65}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{25}\u{25}\u{31}",string.gsub,"\u{61}\u{6c}\u{6f}","\u{28}\u{25}\u{31}\u{29}","\u{61}")
241−checkerror("\105\110\118\97\108\105\100\32\117\115\101\32\111\102\32\39\37\37\39",string.gsub,"\97\108\111","\46","\37\120")
241+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{75}\u{73}\u{65}\u{20}\u{6f}\u{66}\u{20}\u{27}\u{25}\u{25}\u{27}",string.gsub,"\u{61}\u{6c}\u{6f}","\u{2e}","\u{25}\u{78}")
242if not _soft then
242if not _soft then
243−print("\98\105\103\32\115\116\114\105\110\103\115")
243+print("\u{62}\u{69}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}")
244−local a = string.rep("\97",300000)
244+local a = string.rep("\u{61}",300000)
245−assert(string.find(a,"\94\97\42\46\63\36"))
245+assert(string.find(a,"\u{5e}\u{61}\u{2a}\u{2e}\u{3f}\u{24}"))
246−assert(not string.find(a,"\94\97\42\46\63\98\36"))
246+assert(not string.find(a,"\u{5e}\u{61}\u{2a}\u{2e}\u{3f}\u{62}\u{24}"))
247−assert(string.find(a,"\94\97\45\46\63\36"))
247+assert(string.find(a,"\u{5e}\u{61}\u{2d}\u{2e}\u{3f}\u{24}"))
248−a=string.rep("\97",10000) .. string.rep("\98",10000)
248+a=string.rep("\u{61}",10000) .. string.rep("\u{62}",10000)
249−assert(not pcall(string.gsub,a,"\98"))
249+assert(not pcall(string.gsub,a,"\u{62}"))
250end
250end
251local function rev
251local function rev
252(s)
252(s)
253−return string.gsub(s,"\40\46\41\40\46\43\41",function (c,s1)
253+return string.gsub(s,"\u{28}\u{2e}\u{29}\u{28}\u{2e}\u{2b}\u{29}",function (c,s1)
254return rev(s1) .. c
254return rev(s1) .. c
255end)
255end)
256end
256end
257−local x = "\97\98\99\100\101\102"
257+local x = "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}"
258assert(rev(rev(x)) == x)
258assert(rev(rev(x)) == x)
259−assert(string.gsub("\97\108\111\32\97\108\111","\46",{}) == "\97\108\111\32\97\108\111")
259+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{2e}",{}) == "\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}")
260−assert(string.gsub("\97\108\111\32\97\108\111","\40\46\41",{["\97"] = "\65\65",["\108"] = ""}) == "\65\65\111\32\65\65\111")
260+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{2e}\u{29}",{["\u{61}"] = "\u{41}\u{41}",["\u{6c}"] = ""}) == "\u{41}\u{41}\u{6f}\u{20}\u{41}\u{41}\u{6f}")
261−assert(string.gsub("\97\108\111\32\97\108\111","\40\46\41\46",{["\97"] = "\65\65",["\108"] = "\75"}) == "\65\65\111\32\65\65\111")
261+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{2e}\u{29}\u{2e}",{["\u{61}"] = "\u{41}\u{41}",["\u{6c}"] = "\u{4b}"}) == "\u{41}\u{41}\u{6f}\u{20}\u{41}\u{41}\u{6f}")
262−assert(string.gsub("\97\108\111\32\97\108\111","\40\40\46\41\40\46\63\41\41",{["\97\108"] = "\65\65",["\111"] = false}) == "\65\65\111\32\65\65\111")
262+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{28}\u{2e}\u{29}\u{28}\u{2e}\u{3f}\u{29}\u{29}",{["\u{61}\u{6c}"] = "\u{41}\u{41}",["\u{6f}"] = false}) == "\u{41}\u{41}\u{6f}\u{20}\u{41}\u{41}\u{6f}")
263−assert(string.gsub("\97\108\111\32\97\108\111","\40\41\46",{"\120","\121\121","\122\122\122"}) == "\120\121\121\122\122\122\32\97\108\111")
263+assert(string.gsub("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}","\u{28}\u{29}\u{2e}",{"\u{78}","\u{79}\u{79}","\u{7a}\u{7a}\u{7a}"}) == "\u{78}\u{79}\u{79}\u{7a}\u{7a}\u{7a}\u{20}\u{61}\u{6c}\u{6f}")
264t={}
264t={}
265;
265;
266−setmetatable(t,{["\95\95\105\110\100\101\120"] = function (t,s)
266+setmetatable(t,{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,s)
267return string.upper(s)
267return string.upper(s)
268end})
268end})
269−assert(string.gsub("\97\32\97\108\111\32\98\32\104\105","\37\119\37\119\43",t) == "\97\32\65\76\79\32\98\32\72\73")
269+assert(string.gsub("\u{61}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{62}\u{20}\u{68}\u{69}","\u{25}\u{77}\u{25}\u{77}\u{2b}",t) == "\u{61}\u{20}\u{41}\u{4c}\u{4f}\u{20}\u{62}\u{20}\u{48}\u{49}")
270local a = 0
270local a = 0
271−for i in string.gmatch("\97\98\99\100\101","\40\41")
271+for i in string.gmatch("\u{61}\u{62}\u{63}\u{64}\u{65}","\u{28}\u{29}")
272do
272do
273assert(i == a + 1)
273assert(i == a + 1)
274;
274;
275a=i
275a=i
276end
276end
277assert(a == 6)
277assert(a == 6)
278−t={["\110"] = 0}
278+t={["\u{6e}"] = 0}
279−for w in string.gmatch("\102\105\114\115\116\32\115\101\99\111\110\100\32\119\111\114\100","\37\119\43")
279+for w in string.gmatch("\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}\u{20}\u{77}\u{6f}\u{72}\u{64}","\u{25}\u{77}\u{2b}")
280do
280do
281t.n=t.n + 1
281t.n=t.n + 1
282;
282;
283t[t.n]=w
283t[t.n]=w
284end
284end
285−assert(t[1] == "\102\105\114\115\116" and t[2] == "\115\101\99\111\110\100" and t[3] == "\119\111\114\100")
285+assert(t[1] == "\u{66}\u{69}\u{72}\u{73}\u{74}" and t[2] == "\u{73}\u{65}\u{63}\u{6f}\u{6e}\u{64}" and t[3] == "\u{77}\u{6f}\u{72}\u{64}")
286t={3,6,9}
286t={3,6,9}
287−for i in string.gmatch("\120\117\120\120\32\117\117\32\112\112\97\114\32\114","\40\41\40\46\41\37\50")
287+for i in string.gmatch("\u{78}\u{75}\u{78}\u{78}\u{20}\u{75}\u{75}\u{20}\u{70}\u{70}\u{61}\u{72}\u{20}\u{72}","\u{28}\u{29}\u{28}\u{2e}\u{29}\u{25}\u{32}")
288do
288do
289assert(i == table.remove(t,1))
289assert(i == table.remove(t,1))
290end
290end
291assert(# t == 0)
291assert(# t == 0)
292t={}
292t={}
293−for i,j in string.gmatch("\49\51\32\49\52\32\49\48\32\61\32\49\49\44\32\49\53\61\32\49\54\44\32\50\50\61\50\51","\40\37\100\43\41\37\115\42\61\37\115\42\40\37\100\43\41")
293+for i,j in string.gmatch("\u{31}\u{33}\u{20}\u{31}\u{34}\u{20}\u{31}\u{30}\u{20}\u{3d}\u{20}\u{31}\u{31}\u{2c}\u{20}\u{31}\u{35}\u{3d}\u{20}\u{31}\u{36}\u{2c}\u{20}\u{32}\u{32}\u{3d}\u{32}\u{33}","\u{28}\u{25}\u{64}\u{2b}\u{29}\u{25}\u{73}\u{2a}\u{3d}\u{25}\u{73}\u{2a}\u{28}\u{25}\u{64}\u{2b}\u{29}")
294do
294do
295t[tonumber(i)]=tonumber(j)
295t[tonumber(i)]=tonumber(j)
296end
296end
@@ -304,101 +304,101 @@ end
304assert(a == 3)
304assert(a == 3)
305do
305do
306local s = 0
306local s = 0
307−for k in string.gmatch("\49\48\32\50\48\32\51\48","\37\100\43",3)
307+for k in string.gmatch("\u{31}\u{30}\u{20}\u{32}\u{30}\u{20}\u{33}\u{30}","\u{25}\u{64}\u{2b}",3)
308do
308do
309s=s + tonumber(k)
309s=s + tonumber(k)
310end
310end
311assert(s == 50)
311assert(s == 50)
312s=0
312s=0
313−for k in string.gmatch("\49\49\32\50\49\32\51\49","\37\100\43",- 4)
313+for k in string.gmatch("\u{31}\u{31}\u{20}\u{32}\u{31}\u{20}\u{33}\u{31}","\u{25}\u{64}\u{2b}",- 4)
314do
314do
315s=s + tonumber(k)
315s=s + tonumber(k)
316end
316end
317assert(s == 32)
317assert(s == 32)
318s=0
318s=0
319−for k in string.gmatch("\49\49\32\50\49\32\51\49","\37\119\42",9)
319+for k in string.gmatch("\u{31}\u{31}\u{20}\u{32}\u{31}\u{20}\u{33}\u{31}","\u{25}\u{77}\u{2a}",9)
320do
320do
321s=s + 1
321s=s + 1
322end
322end
323assert(s == 1)
323assert(s == 1)
324s=0
324s=0
325−for k in string.gmatch("\49\49\32\50\49\32\51\49","\37\119\42",10)
325+for k in string.gmatch("\u{31}\u{31}\u{20}\u{32}\u{31}\u{20}\u{33}\u{31}","\u{25}\u{77}\u{2a}",10)
326do
326do
327s=s + 1
327s=s + 1
328end
328end
329assert(s == 0)
329assert(s == 0)
330end
330end
331−assert(string.gsub("\97\97\97\32\97\97\32\97\32\97\97\97\32\97","\37\102\91\37\119\93\97","\120") == "\120\97\97\32\120\97\32\120\32\120\97\97\32\120")
331+assert(string.gsub("\u{61}\u{61}\u{61}\u{20}\u{61}\u{61}\u{20}\u{61}\u{20}\u{61}\u{61}\u{61}\u{20}\u{61}","\u{25}\u{66}\u{5b}\u{25}\u{77}\u{5d}\u{61}","\u{78}") == "\u{78}\u{61}\u{61}\u{20}\u{78}\u{61}\u{20}\u{78}\u{20}\u{78}\u{61}\u{61}\u{20}\u{78}")
332−assert(string.gsub("\91\91\93\93\32\91\93\91\93\32\91\91\91\91","\37\102\91\91\93\46","\120") == "\120\91\93\93\32\120\93\120\93\32\120\91\91\91")
332+assert(string.gsub("\u{5b}\u{5b}\u{5d}\u{5d}\u{20}\u{5b}\u{5d}\u{5b}\u{5d}\u{20}\u{5b}\u{5b}\u{5b}\u{5b}","\u{25}\u{66}\u{5b}\u{5b}\u{5d}\u{2e}","\u{78}") == "\u{78}\u{5b}\u{5d}\u{5d}\u{20}\u{78}\u{5d}\u{78}\u{5d}\u{20}\u{78}\u{5b}\u{5b}\u{5b}")
333−assert(string.gsub("\48\49\97\98\99\52\53\100\101\51","\37\102\91\37\100\93","\46") == "\46\48\49\97\98\99\46\52\53\100\101\46\51")
333+assert(string.gsub("\u{30}\u{31}\u{61}\u{62}\u{63}\u{34}\u{35}\u{64}\u{65}\u{33}","\u{25}\u{66}\u{5b}\u{25}\u{64}\u{5d}","\u{2e}") == "\u{2e}\u{30}\u{31}\u{61}\u{62}\u{63}\u{2e}\u{34}\u{35}\u{64}\u{65}\u{2e}\u{33}")
334−assert(string.gsub("\48\49\97\98\99\52\53\32\100\101\51\120","\37\102\91\37\68\93\37\119","\46") == "\48\49\46\98\99\52\53\32\100\101\51\46")
334+assert(string.gsub("\u{30}\u{31}\u{61}\u{62}\u{63}\u{34}\u{35}\u{20}\u{64}\u{65}\u{33}\u{78}","\u{25}\u{66}\u{5b}\u{25}\u{44}\u{5d}\u{25}\u{77}","\u{2e}") == "\u{30}\u{31}\u{2e}\u{62}\u{63}\u{34}\u{35}\u{20}\u{64}\u{65}\u{33}\u{2e}")
335−assert(string.gsub("\102\117\110\99\116\105\111\110","\37\102\91\1\45\255\93\37\119","\46") == "\46\117\110\99\116\105\111\110")
335+assert(string.gsub("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}","\u{25}\u{66}\u{5b}\u{1}\u{2d}\u{ff}\u{5d}\u{25}\u{77}","\u{2e}") == "\u{2e}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}")
336−assert(string.gsub("\102\117\110\99\116\105\111\110","\37\102\91\94\1\45\255\93","\46") == "\102\117\110\99\116\105\111\110\46")
336+assert(string.gsub("\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}","\u{25}\u{66}\u{5b}\u{5e}\u{1}\u{2d}\u{ff}\u{5d}","\u{2e}") == "\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{2e}")
337−assert(string.find("\97","\37\102\91\97\93") == 1)
337+assert(string.find("\u{61}","\u{25}\u{66}\u{5b}\u{61}\u{5d}") == 1)
338−assert(string.find("\97","\37\102\91\94\37\122\93") == 1)
338+assert(string.find("\u{61}","\u{25}\u{66}\u{5b}\u{5e}\u{25}\u{7a}\u{5d}") == 1)
339−assert(string.find("\97","\37\102\91\94\37\108\93") == 2)
339+assert(string.find("\u{61}","\u{25}\u{66}\u{5b}\u{5e}\u{25}\u{6c}\u{5d}") == 2)
340−assert(string.find("\97\98\97","\37\102\91\97\37\122\93") == 3)
340+assert(string.find("\u{61}\u{62}\u{61}","\u{25}\u{66}\u{5b}\u{61}\u{25}\u{7a}\u{5d}") == 3)
341−assert(string.find("\97\98\97","\37\102\91\37\122\93") == 4)
341+assert(string.find("\u{61}\u{62}\u{61}","\u{25}\u{66}\u{5b}\u{25}\u{7a}\u{5d}") == 4)
342−assert(not string.find("\97\98\97","\37\102\91\37\108\37\122\93"))
342+assert(not string.find("\u{61}\u{62}\u{61}","\u{25}\u{66}\u{5b}\u{25}\u{6c}\u{25}\u{7a}\u{5d}"))
343−assert(not string.find("\97\98\97","\37\102\91\94\37\108\37\122\93"))
343+assert(not string.find("\u{61}\u{62}\u{61}","\u{25}\u{66}\u{5b}\u{5e}\u{25}\u{6c}\u{25}\u{7a}\u{5d}"))
344−local i,e = string.find("\32\97\108\111\32\97\97\108\111\32\97\108\108\111","\37\102\91\37\83\93\46\45\37\102\91\37\115\93\46\45\37\102\91\37\83\93")
344+local i,e = string.find("\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6c}\u{6f}","\u{25}\u{66}\u{5b}\u{25}\u{53}\u{5d}\u{2e}\u{2d}\u{25}\u{66}\u{5b}\u{25}\u{73}\u{5d}\u{2e}\u{2d}\u{25}\u{66}\u{5b}\u{25}\u{53}\u{5d}")
345assert(i == 2 and e == 5)
345assert(i == 2 and e == 5)
346−local k = string.match("\32\97\108\111\32\97\97\108\111\32\97\108\108\111","\37\102\91\37\83\93\40\46\45\37\102\91\37\115\93\46\45\37\102\91\37\83\93\41")
346+local k = string.match("\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6c}\u{6f}","\u{25}\u{66}\u{5b}\u{25}\u{53}\u{5d}\u{28}\u{2e}\u{2d}\u{25}\u{66}\u{5b}\u{25}\u{73}\u{5d}\u{2e}\u{2d}\u{25}\u{66}\u{5b}\u{25}\u{53}\u{5d}\u{29}")
347−assert(k == "\97\108\111\32")
347+assert(k == "\u{61}\u{6c}\u{6f}\u{20}")
348local a = {1,5,9,14,17}
348local a = {1,5,9,14,17}
349−for k in string.gmatch("\97\108\111\32\97\108\111\32\116\104\48\50\32\105\115\32\49\104\97\116","\40\41\37\102\91\37\119\37\100\93")
349+for k in string.gmatch("\u{61}\u{6c}\u{6f}\u{20}\u{61}\u{6c}\u{6f}\u{20}\u{74}\u{68}\u{30}\u{32}\u{20}\u{69}\u{73}\u{20}\u{31}\u{68}\u{61}\u{74}","\u{28}\u{29}\u{25}\u{66}\u{5b}\u{25}\u{77}\u{25}\u{64}\u{5d}")
350do
350do
351assert(table.remove(a,1) == k)
351assert(table.remove(a,1) == k)
352end
352end
353assert(# a == 0)
353assert(# a == 0)
354local function malform
354local function malform
355(p,m)
355(p,m)
356−m=m or "\109\97\108\102\111\114\109\101\100"
356+m=m or "\u{6d}\u{61}\u{6c}\u{66}\u{6f}\u{72}\u{6d}\u{65}\u{64}"
357−local r,msg = pcall(string.find,"\97",p)
357+local r,msg = pcall(string.find,"\u{61}",p)
358assert(not r and string.find(msg,m))
358assert(not r and string.find(msg,m))
359end
359end
360−malform("\40\46","\117\110\102\105\110\105\115\104\101\100\32\99\97\112\116\117\114\101")
360+malform("\u{28}\u{2e}","\u{75}\u{6e}\u{66}\u{69}\u{6e}\u{69}\u{73}\u{68}\u{65}\u{64}\u{20}\u{63}\u{61}\u{70}\u{74}\u{75}\u{72}\u{65}")
361−malform("\46\41","\105\110\118\97\108\105\100\32\112\97\116\116\101\114\110\32\99\97\112\116\117\114\101")
361+malform("\u{2e}\u{29}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{70}\u{61}\u{74}\u{74}\u{65}\u{72}\u{6e}\u{20}\u{63}\u{61}\u{70}\u{74}\u{75}\u{72}\u{65}")
362−malform("\91\97")
362+malform("\u{5b}\u{61}")
363−malform("\91\93")
363+malform("\u{5b}\u{5d}")
364−malform("\91\94\93")
364+malform("\u{5b}\u{5e}\u{5d}")
365−malform("\91\97\37\93")
365+malform("\u{5b}\u{61}\u{25}\u{5d}")
366−malform("\91\97\37")
366+malform("\u{5b}\u{61}\u{25}")
367−malform("\37\98")
367+malform("\u{25}\u{62}")
368−malform("\37\98\97")
368+malform("\u{25}\u{62}\u{61}")
369−malform("\37")
369+malform("\u{25}")
370−malform("\37\102","\109\105\115\115\105\110\103")
370+malform("\u{25}\u{66}","\u{6d}\u{69}\u{73}\u{73}\u{69}\u{6e}\u{67}")
371−assert(string.match("\97\98\1\2\99","\91\45\2\93\43") == "\1\2")
371+assert(string.match("\u{61}\u{62}\u{0}\u{1}\u{2}\u{63}","\u{5b}\u{0}\u{2d}\u{2}\u{5d}\u{2b}") == "\u{0}\u{1}\u{2}")
372−assert(string.match("\97\98\1\2\99","\91\45\93\43") == "")
372+assert(string.match("\u{61}\u{62}\u{0}\u{1}\u{2}\u{63}","\u{5b}\u{0}\u{2d}\u{0}\u{5d}\u{2b}") == "\u{0}")
373−assert(string.find("\98\36\97","\36\63") == 2)
373+assert(string.find("\u{62}\u{24}\u{61}","\u{24}\u{0}\u{3f}") == 2)
374−assert(string.find("\97\98\99\101\102\103","\37") == 4)
374+assert(string.find("\u{61}\u{62}\u{63}\u{0}\u{65}\u{66}\u{67}","\u{25}\u{0}") == 4)
375−assert(string.match("\97\98\99\101\102\103\1\101\1\103","\37\98\1") == "\101\102\103\1\101\1")
375+assert(string.match("\u{61}\u{62}\u{63}\u{0}\u{65}\u{66}\u{67}\u{0}\u{1}\u{65}\u{1}\u{67}","\u{25}\u{62}\u{0}\u{1}") == "\u{0}\u{65}\u{66}\u{67}\u{0}\u{1}\u{65}\u{1}")
376−assert(string.match("\97\98\99","\37\43") == "")
376+assert(string.match("\u{61}\u{62}\u{63}\u{0}\u{0}\u{0}","\u{25}\u{0}\u{2b}") == "\u{0}\u{0}\u{0}")
377−assert(string.match("\97\98\99","\37\37\63") == "")
377+assert(string.match("\u{61}\u{62}\u{63}\u{0}\u{0}\u{0}","\u{25}\u{0}\u{25}\u{0}\u{3f}") == "\u{0}\u{0}")
378−assert(string.find("\97\98\99","\46") == 4)
378+assert(string.find("\u{61}\u{62}\u{63}\u{0}\u{0}","\u{0}\u{2e}") == 4)
379−assert(string.find("\97\98\99\120\97\98\99\97\98\99","\120\97\98\99\97\46") == 4)
379+assert(string.find("\u{61}\u{62}\u{63}\u{78}\u{0}\u{0}\u{61}\u{62}\u{63}\u{0}\u{61}\u{62}\u{63}","\u{78}\u{0}\u{0}\u{61}\u{62}\u{63}\u{0}\u{61}\u{2e}") == 4)
380do
380do
381−local s = string.rep("\97",100)
381+local s = string.rep("\u{61}",100)
382−local r = string.gsub(s,"\98","\99")
382+local r = string.gsub(s,"\u{62}","\u{63}")
383−assert(string.format("\37\112",s) == string.format("\37\112",r))
383+assert(string.format("\u{25}\u{70}",s) == string.format("\u{25}\u{70}",r))
384−r=string.gsub(s,"\46",{["\120"] = "\121"})
384+r=string.gsub(s,"\u{2e}",{["\u{78}"] = "\u{79}"})
385−assert(string.format("\37\112",s) == string.format("\37\112",r))
385+assert(string.format("\u{25}\u{70}",s) == string.format("\u{25}\u{70}",r))
386local count = 0
386local count = 0
387−r=string.gsub(s,"\46",function (x)
387+r=string.gsub(s,"\u{2e}",function (x)
388−assert(x == "\97")
388+assert(x == "\u{61}")
389count=count + 1
389count=count + 1
390return nil
390return nil
391end)
391end)
392−r=string.gsub(r,"\46",{["\98"] = "\120"})
392+r=string.gsub(r,"\u{2e}",{["\u{62}"] = "\u{78}"})
393assert(count == 100)
393assert(count == 100)
394−assert(string.format("\37\112",s) == string.format("\37\112",r))
394+assert(string.format("\u{25}\u{70}",s) == string.format("\u{25}\u{70}",r))
395count=0
395count=0
396−r=string.gsub(s,"\46",function (x)
396+r=string.gsub(s,"\u{2e}",function (x)
397−assert(x == "\97")
397+assert(x == "\u{61}")
398count=count + 1
398count=count + 1
399return x
399return x
400end)
400end)
401assert(count == 100)
401assert(count == 100)
402−assert(r == s and string.format("\37\112",s) ~= string.format("\37\112",r))
402+assert(r == s and string.format("\u{25}\u{70}",s) ~= string.format("\u{25}\u{70}",r))
403end
403end
404−print("\79\75")
404+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/sort.lua+47−47
@@ -1,5 +1,5 @@
1−print("\116\101\115\116\105\110\103\32\40\112\97\114\116\115\32\111\102\41\32\116\97\98\108\101\32\108\105\98\114\97\114\121")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{28}\u{70}\u{61}\u{72}\u{74}\u{73}\u{20}\u{6f}\u{66}\u{29}\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}")
2−print("\116\101\115\116\105\110\103\32\117\110\112\97\99\107")
2+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{75}\u{6e}\u{70}\u{61}\u{63}\u{6b}")
3local unpack = table.unpack
3local unpack = table.unpack
4local maxI = math.maxinteger
4local maxI = math.maxinteger
5local minI = math.mininteger
5local minI = math.mininteger
@@ -8,7 +8,7 @@ local function checkerror
8local s,err = pcall(f,...)
8local s,err = pcall(f,...)
9assert(not s and string.find(err,msg))
9assert(not s and string.find(err,msg))
10end
10end
11−checkerror("\119\114\111\110\103\32\110\117\109\98\101\114\32\111\102\32\97\114\103\117\109\101\110\116\115",table.insert,{},2,3,4)
11+checkerror("\u{77}\u{72}\u{6f}\u{6e}\u{67}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{20}\u{6f}\u{66}\u{20}\u{61}\u{72}\u{67}\u{75}\u{6d}\u{65}\u{6e}\u{74}\u{73}",table.insert,{},2,3,4)
12local x,y,z,a,n
12local x,y,z,a,n
13a={}
13a={}
14;
14;
@@ -17,7 +17,7 @@ for i = 1, lim
17do
17do
18a[i]=i
18a[i]=i
19end
19end
20−assert(select(lim,unpack(a)) == lim and select("\35",unpack(a)) == lim)
20+assert(select(lim,unpack(a)) == lim and select("\u{23}",unpack(a)) == lim)
21x=unpack(a)
21x=unpack(a)
22assert(x == 1)
22assert(x == 1)
23x={unpack(a)}
23x={unpack(a)}
@@ -39,13 +39,13 @@ assert(a == 1 and x == nil)
39do
39do
40local maxi = (1 << 31) - 1
40local maxi = (1 << 31) - 1
41local mini = - (1 << 31)
41local mini = - (1 << 31)
42−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},0,maxi)
42+checkerror("\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,{},0,maxi)
43−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},1,maxi)
43+checkerror("\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,{},1,maxi)
44−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},0,maxI)
44+checkerror("\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,{},0,maxI)
45−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},1,maxI)
45+checkerror("\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,{},1,maxI)
46−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},mini,maxi)
46+checkerror("\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,{},mini,maxi)
47−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},- maxi,maxi)
47+checkerror("\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,{},- maxi,maxi)
48−checkerror("\116\111\111\32\109\97\110\121\32\114\101\115\117\108\116\115",unpack,{},minI,maxI)
48+checkerror("\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,{},minI,maxI)
49unpack({},maxi,0)
49unpack({},maxi,0)
50unpack({},maxi,1)
50unpack({},maxi,1)
51unpack({},maxI,minI)
51unpack({},maxI,minI)
@@ -76,13 +76,13 @@ a,b=unpack(t,minI + 1,minI)
76assert(a == nil and b == nil)
76assert(a == nil and b == nil)
77end
77end
78do
78do
79−local t = setmetatable({},{["\95\95\108\101\110"] = function ()
79+local t = setmetatable({},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
80−return "\97\98\99"
80+return "\u{61}\u{62}\u{63}"
81end})
81end})
82−assert(# t == "\97\98\99")
82+assert(# t == "\u{61}\u{62}\u{63}")
83−checkerror("\111\98\106\101\99\116\32\108\101\110\103\116\104\32\105\115\32\110\111\116\32\97\110\32\105\110\116\101\103\101\114",table.insert,t,1)
83+checkerror("\u{6f}\u{62}\u{6a}\u{65}\u{63}\u{74}\u{20}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{69}\u{73}\u{20}\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}",table.insert,t,1)
84end
84end
85−print("\116\101\115\116\105\110\103\32\112\97\99\107")
85+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{63}\u{6b}")
86a=table.pack()
86a=table.pack()
87assert(a[1] == undef and a.n == 0)
87assert(a[1] == undef and a.n == 0)
88a=table.pack(table)
88a=table.pack(table)
@@ -90,7 +90,7 @@ assert(a[1] == table and a.n == 1)
90a=table.pack(nil,nil,nil,nil)
90a=table.pack(nil,nil,nil,nil)
91assert(a[1] == nil and a.n == 4)
91assert(a[1] == nil and a.n == 4)
92do
92do
93−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.move,1,2,3,4)
93+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.move,1,2,3,4)
94local function eqT
94local function eqT
95(a,b)
95(a,b)
96for k,v in pairs(a)
96for k,v in pairs(a)
@@ -129,17 +129,17 @@ a=table.move({[maxI] = 100},maxI,maxI,minI)
129eqT(a,{[minI] = 100,[maxI] = 100})
129eqT(a,{[minI] = 100,[maxI] = 100})
130a=table.move({[minI] = 100},minI,minI,maxI)
130a=table.move({[minI] = 100},minI,minI,maxI)
131eqT(a,{[minI] = 100,[maxI] = 100})
131eqT(a,{[minI] = 100,[maxI] = 100})
132−a=setmetatable({},{["\95\95\105\110\100\101\120"] = function (_,k)
132+a=setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k)
133return k * 10
133return k * 10
134−end,["\95\95\110\101\119\105\110\100\101\120"] = error})
134+end,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = error})
135local b = table.move(a,1,10,3,{})
135local b = table.move(a,1,10,3,{})
136eqT(a,{})
136eqT(a,{})
137eqT(b,{nil,nil,10,20,30,40,50,60,70,80,90,100})
137eqT(b,{nil,nil,10,20,30,40,50,60,70,80,90,100})
138−b=setmetatable({""},{["\95\95\105\110\100\101\120"] = error,["\95\95\110\101\119\105\110\100\101\120"] = function (t,k,v)
138+b=setmetatable({""},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = error,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (t,k,v)
139−t[1]=string.format("\37\115\40\37\100\44\37\100\41",t[1],k,v)
139+t[1]=string.format("\u{25}\u{73}\u{28}\u{25}\u{64}\u{2c}\u{25}\u{64}\u{29}",t[1],k,v)
140end})
140end})
141table.move(a,10,13,3,b)
141table.move(a,10,13,3,b)
142−assert(b[1] == "\40\51\44\49\48\48\41\40\52\44\49\49\48\41\40\53\44\49\50\48\41\40\54\44\49\51\48\41")
142+assert(b[1] == "\u{28}\u{33}\u{2c}\u{31}\u{30}\u{30}\u{29}\u{28}\u{34}\u{2c}\u{31}\u{31}\u{30}\u{29}\u{28}\u{35}\u{2c}\u{31}\u{32}\u{30}\u{29}\u{28}\u{36}\u{2c}\u{31}\u{33}\u{30}\u{29}")
143local stat,msg = pcall(table.move,b,10,13,3,b)
143local stat,msg = pcall(table.move,b,10,13,3,b)
144assert(not stat and msg == b)
144assert(not stat and msg == b)
145end
145end
@@ -147,9 +147,9 @@ do
147local function checkmove
147local function checkmove
148(f,e,t,x,y)
148(f,e,t,x,y)
149local pos1,pos2
149local pos1,pos2
150−local a = setmetatable({},{["\95\95\105\110\100\101\120"] = function (_,k)
150+local a = setmetatable({},{["\u{5f}\u{5f}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k)
151pos1=k
151pos1=k
152−end,["\95\95\110\101\119\105\110\100\101\120"] = function (_,k)
152+end,["\u{5f}\u{5f}\u{6e}\u{65}\u{77}\u{69}\u{6e}\u{64}\u{65}\u{78}"] = function (_,k)
153pos2=k
153pos2=k
154;
154;
155error()
155error()
@@ -164,23 +164,23 @@ checkmove(minI + 1,- 1,- 2,- 1,maxI - 3)
164checkmove(minI,- 2,0,minI,0)
164checkmove(minI,- 2,0,minI,0)
165checkmove(minI + 1,- 1,1,minI + 1,1)
165checkmove(minI + 1,- 1,1,minI + 1,1)
166end
166end
167−checkerror("\116\111\111\32\109\97\110\121",table.move,{},0,maxI,1)
167+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}",table.move,{},0,maxI,1)
168−checkerror("\116\111\111\32\109\97\110\121",table.move,{},- 1,maxI - 1,1)
168+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}",table.move,{},- 1,maxI - 1,1)
169−checkerror("\116\111\111\32\109\97\110\121",table.move,{},minI,- 1,1)
169+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}",table.move,{},minI,- 1,1)
170−checkerror("\116\111\111\32\109\97\110\121",table.move,{},minI,maxI,1)
170+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6d}\u{61}\u{6e}\u{79}",table.move,{},minI,maxI,1)
171−checkerror("\119\114\97\112\32\97\114\111\117\110\100",table.move,{},1,maxI,2)
171+checkerror("\u{77}\u{72}\u{61}\u{70}\u{20}\u{61}\u{72}\u{6f}\u{75}\u{6e}\u{64}",table.move,{},1,maxI,2)
172−checkerror("\119\114\97\112\32\97\114\111\117\110\100",table.move,{},1,2,maxI)
172+checkerror("\u{77}\u{72}\u{61}\u{70}\u{20}\u{61}\u{72}\u{6f}\u{75}\u{6e}\u{64}",table.move,{},1,2,maxI)
173−checkerror("\119\114\97\112\32\97\114\111\117\110\100",table.move,{},minI,- 2,2)
173+checkerror("\u{77}\u{72}\u{61}\u{70}\u{20}\u{61}\u{72}\u{6f}\u{75}\u{6e}\u{64}",table.move,{},minI,- 2,2)
174−print("\116\101\115\116\105\110\103\32\115\111\114\116")
174+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{6f}\u{72}\u{74}")
175−local a = setmetatable({},{["\95\95\108\101\110"] = function ()
175+local a = setmetatable({},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
176return - 1
176return - 1
177end})
177end})
178assert(# a == - 1)
178assert(# a == - 1)
179table.sort(a,error)
179table.sort(a,error)
180−a=setmetatable({},{["\95\95\108\101\110"] = function ()
180+a=setmetatable({},{["\u{5f}\u{5f}\u{6c}\u{65}\u{6e}"] = function ()
181return maxI
181return maxI
182end})
182end})
183−checkerror("\116\111\111\32\98\105\103",table.sort,a)
183+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{62}\u{69}\u{67}",table.sort,a)
184local function check
184local function check
185(t)
185(t)
186local function f
186local function f
@@ -189,7 +189,7 @@ assert(a and b)
189;
189;
190return true
190return true
191end
191end
192−checkerror("\105\110\118\97\108\105\100\32\111\114\100\101\114\32\102\117\110\99\116\105\111\110",table.sort,t,f)
192+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6f}\u{72}\u{64}\u{65}\u{72}\u{20}\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}",table.sort,t,f)
193end
193end
194check({1,2,3,4})
194check({1,2,3,4})
195check({1,2,3,4,5})
195check({1,2,3,4,5})
@@ -204,7 +204,7 @@ do
204assert(not f(a[n],a[n - 1]))
204assert(not f(a[n],a[n - 1]))
205end
205end
206end
206end
207−a={"\74\97\110","\70\101\98","\77\97\114","\65\112\114","\77\97\121","\74\117\110","\74\117\108","\65\117\103","\83\101\112","\79\99\116","\78\111\118","\68\101\99"}
207+a={"\u{4a}\u{61}\u{6e}","\u{46}\u{65}\u{62}","\u{4d}\u{61}\u{72}","\u{41}\u{70}\u{72}","\u{4d}\u{61}\u{79}","\u{4a}\u{75}\u{6e}","\u{4a}\u{75}\u{6c}","\u{41}\u{75}\u{67}","\u{53}\u{65}\u{70}","\u{4f}\u{63}\u{74}","\u{4e}\u{6f}\u{76}","\u{44}\u{65}\u{63}"}
208table.sort(a)
208table.sort(a)
209check(a)
209check(a)
210local function perm
210local function perm
@@ -239,7 +239,7 @@ local x = os.clock()
239table.sort(a,func)
239table.sort(a,func)
240x=(os.clock() - x) * 1000
240x=(os.clock() - x) * 1000
241pre=pre or ""
241pre=pre or ""
242−print(string.format("\37\115\115\111\114\116\105\110\103\32\37\100\32\37\115\32\101\108\101\109\101\110\116\115\32\105\110\32\37\46\50\102\32\109\115\101\99\46",pre,n,msg,x))
242+print(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))
243check(a,func)
243check(a,func)
244end
244end
245local limit = 50000
245local limit = 50000
@@ -251,8 +251,8 @@ for i = 1, limit
251do
251do
252a[i]=math.random()
252a[i]=math.random()
253end
253end
254−timesort(a,limit,nil,"\114\97\110\100\111\109")
254+timesort(a,limit,nil,"\u{72}\u{61}\u{6e}\u{64}\u{6f}\u{6d}")
255−timesort(a,limit,nil,"\115\111\114\116\101\100","\114\101\45")
255+timesort(a,limit,nil,"\u{73}\u{6f}\u{72}\u{74}\u{65}\u{64}","\u{72}\u{65}\u{2d}")
256a={}
256a={}
257for i = 1, limit
257for i = 1, limit
258do
258do
@@ -267,7 +267,7 @@ i=i + 1
267return y < x
267return y < x
268end)
268end)
269x=(os.clock() - x) * 1000
269x=(os.clock() - x) * 1000
270−print(string.format("\73\110\118\101\114\116\45\115\111\114\116\105\110\103\32\111\116\104\101\114\32\37\100\32\101\108\101\109\101\110\116\115\32\105\110\32\37\46\50\102\32\109\115\101\99\46\44\32\119\105\116\104\32\37\105\32\99\111\109\112\97\114\105\115\111\110\115",limit,x,i))
270+print(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))
271check(a,function (x,y)
271check(a,function (x,y)
272return y < x
272return y < x
273end)
273end)
@@ -278,27 +278,27 @@ a[i]=false
278end
278end
279timesort(a,limit,function (x,y)
279timesort(a,limit,function (x,y)
280return nil
280return nil
281−end,"\101\113\117\97\108")
281+end,"\u{65}\u{71}\u{75}\u{61}\u{6c}")
282for i,v in pairs(a)
282for i,v in pairs(a)
283do
283do
284assert(v == false)
284assert(v == false)
285end
285end
286−AA={"\225\108\111","\102\105\114\115\116\32\58\45\41","\97\108\111","\116\104\101\110\32\116\104\105\115\32\111\110\101","\52\53","\97\110\100\32\97\32\110\101\119"}
286+AA={"\u{e1}\u{6c}\u{6f}","\u{0}\u{66}\u{69}\u{72}\u{73}\u{74}\u{20}\u{3a}\u{2d}\u{29}","\u{61}\u{6c}\u{6f}","\u{74}\u{68}\u{65}\u{6e}\u{20}\u{74}\u{68}\u{69}\u{73}\u{20}\u{6f}\u{6e}\u{65}","\u{34}\u{35}","\u{61}\u{6e}\u{64}\u{20}\u{61}\u{20}\u{6e}\u{65}\u{77}"}
287table.sort(AA)
287table.sort(AA)
288check(AA)
288check(AA)
289table.sort(AA,function (x,y)
289table.sort(AA,function (x,y)
290−load(string.format("\65\65\91\37\113\93\32\61\32\39\39",x),"")()
290+load(string.format("\u{41}\u{41}\u{5b}\u{25}\u{71}\u{5d}\u{20}\u{3d}\u{20}\u{27}\u{27}",x),"")()
291collectgarbage()
291collectgarbage()
292return x < y
292return x < y
293end)
293end)
294_G.AA=nil
294_G.AA=nil
295−local tt = {["\95\95\108\116"] = function (a,b)
295+local tt = {["\u{5f}\u{5f}\u{6c}\u{74}"] = function (a,b)
296return a.val < b.val
296return a.val < b.val
297end}
297end}
298a={}
298a={}
299for i = 1, 10
299for i = 1, 10
300do
300do
301−a[i]={["\118\97\108"] = math.random(100)}
301+a[i]={["\u{76}\u{61}\u{6c}"] = math.random(100)}
302;
302;
303setmetatable(a[i],tt)
303setmetatable(a[i],tt)
304;
304;
@@ -306,4 +306,4 @@ end
306table.sort(a)
306table.sort(a)
307check(a,tt.__lt)
307check(a,tt.__lt)
308check(a)
308check(a)
309−print("\79\75")
309+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/strings.lua+299−299
@@ -1,4 +1,4 @@
1−print("\116\101\115\116\105\110\103\32\115\116\114\105\110\103\115\32\97\110\100\32\115\116\114\105\110\103\32\108\105\98\114\97\114\121")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}\u{20}\u{61}\u{6e}\u{64}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}")
2local maxi <const> = math.maxinteger
2local maxi <const> = math.maxinteger
3local mini <const> = math.mininteger
3local mini <const> = math.mininteger
4local function checkerror
4local function checkerror
@@ -6,187 +6,187 @@ local function checkerror
6local s,err = pcall(f,...)
6local s,err = pcall(f,...)
7assert(not s and string.find(err,msg))
7assert(not s and string.find(err,msg))
8end
8end
9−assert("\97\108\111" < "\97\108\111\49")
9+assert("\u{61}\u{6c}\u{6f}" < "\u{61}\u{6c}\u{6f}\u{31}")
10−assert("" < "\97")
10+assert("" < "\u{61}")
11−assert("\97\108\111\97\108\111" < "\97\108\111\98")
11+assert("\u{61}\u{6c}\u{6f}\u{0}\u{61}\u{6c}\u{6f}" < "\u{61}\u{6c}\u{6f}\u{0}\u{62}")
12−assert("\97\108\111\97\108\111" > "\97\108\111\97\108\111")
12+assert("\u{61}\u{6c}\u{6f}\u{0}\u{61}\u{6c}\u{6f}\u{0}\u{0}" > "\u{61}\u{6c}\u{6f}\u{0}\u{61}\u{6c}\u{6f}\u{0}")
13−assert("\97\108\111" < "\97\108\111")
13+assert("\u{61}\u{6c}\u{6f}" < "\u{61}\u{6c}\u{6f}\u{0}")
14−assert("\97\108\111" > "\97\108\111")
14+assert("\u{61}\u{6c}\u{6f}\u{0}" > "\u{61}\u{6c}\u{6f}")
15−assert("" < "\1")
15+assert("\u{0}" < "\u{1}")
16−assert("" < "\1")
16+assert("\u{0}\u{0}" < "\u{0}\u{1}")
17−assert("\1\97\97" <= "\1\97\97")
17+assert("\u{1}\u{0}\u{61}\u{0}\u{61}" <= "\u{1}\u{0}\u{61}\u{0}\u{61}")
18−assert(not ("\1\97\98" <= "\1\97\97"))
18+assert(not ("\u{1}\u{0}\u{61}\u{0}\u{62}" <= "\u{1}\u{0}\u{61}\u{0}\u{61}"))
19−assert("" < "")
19+assert("\u{0}\u{0}\u{0}" < "\u{0}\u{0}\u{0}\u{0}")
20−assert(not ("" < ""))
20+assert(not ("\u{0}\u{0}\u{0}\u{0}" < "\u{0}\u{0}\u{0}"))
21−assert("" <= "")
21+assert("\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}\u{0}")
22−assert(not ("" <= ""))
22+assert(not ("\u{0}\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}"))
23−assert("" <= "")
23+assert("\u{0}\u{0}\u{0}" <= "\u{0}\u{0}\u{0}")
24−assert("" >= "")
24+assert("\u{0}\u{0}\u{0}" >= "\u{0}\u{0}\u{0}")
25−assert(not ("\98" < "\97"))
25+assert(not ("\u{0}\u{0}\u{62}" < "\u{0}\u{0}\u{61}\u{0}"))
26−assert(string.sub("\49\50\51\52\53\54\55\56\57",2,4) == "\50\51\52")
26+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",2,4) == "\u{32}\u{33}\u{34}")
27−assert(string.sub("\49\50\51\52\53\54\55\56\57",7) == "\55\56\57")
27+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",7) == "\u{37}\u{38}\u{39}")
28−assert(string.sub("\49\50\51\52\53\54\55\56\57",7,6) == "")
28+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",7,6) == "")
29−assert(string.sub("\49\50\51\52\53\54\55\56\57",7,7) == "\55")
29+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",7,7) == "\u{37}")
30−assert(string.sub("\49\50\51\52\53\54\55\56\57",0,0) == "")
30+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",0,0) == "")
31−assert(string.sub("\49\50\51\52\53\54\55\56\57",- 10,10) == "\49\50\51\52\53\54\55\56\57")
31+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",- 10,10) == "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}")
32−assert(string.sub("\49\50\51\52\53\54\55\56\57",1,9) == "\49\50\51\52\53\54\55\56\57")
32+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",1,9) == "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}")
33−assert(string.sub("\49\50\51\52\53\54\55\56\57",- 10,- 20) == "")
33+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",- 10,- 20) == "")
34−assert(string.sub("\49\50\51\52\53\54\55\56\57",- 1) == "\57")
34+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",- 1) == "\u{39}")
35−assert(string.sub("\49\50\51\52\53\54\55\56\57",- 4) == "\54\55\56\57")
35+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",- 4) == "\u{36}\u{37}\u{38}\u{39}")
36−assert(string.sub("\49\50\51\52\53\54\55\56\57",- 6,- 4) == "\52\53\54")
36+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",- 6,- 4) == "\u{34}\u{35}\u{36}")
37−assert(string.sub("\49\50\51\52\53\54\55\56\57",mini,- 4) == "\49\50\51\52\53\54")
37+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",mini,- 4) == "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}")
38−assert(string.sub("\49\50\51\52\53\54\55\56\57",mini,maxi) == "\49\50\51\52\53\54\55\56\57")
38+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",mini,maxi) == "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}")
39−assert(string.sub("\49\50\51\52\53\54\55\56\57",mini,mini) == "")
39+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",mini,mini) == "")
40−assert(string.sub("\49\50\51\52\53\54\55\56\57",3,5) == "\50\51\52")
40+assert(string.sub("\u{0}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",3,5) == "\u{32}\u{33}\u{34}")
41−assert(("\49\50\51\52\53\54\55\56\57"):sub(8) == "\55\56\57")
41+assert(("\u{0}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}"):sub(8) == "\u{37}\u{38}\u{39}")
42−assert(string.find("\49\50\51\52\53\54\55\56\57","\51\52\53") == 3)
42+assert(string.find("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}","\u{33}\u{34}\u{35}") == 3)
43−local a,b = string.find("\49\50\51\52\53\54\55\56\57","\51\52\53")
43+local a,b = string.find("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}","\u{33}\u{34}\u{35}")
44−assert(string.sub("\49\50\51\52\53\54\55\56\57",a,b) == "\51\52\53")
44+assert(string.sub("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}",a,b) == "\u{33}\u{34}\u{35}")
45−assert(string.find("\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57","\51\52\53",3) == 3)
45+assert(string.find("\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{33}\u{34}\u{35}",3) == 3)
46−assert(string.find("\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57","\51\52\53",4) == 13)
46+assert(string.find("\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{33}\u{34}\u{35}",4) == 13)
47−assert(not string.find("\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57","\51\52\54",4))
47+assert(not string.find("\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{33}\u{34}\u{36}",4))
48−assert(string.find("\49\50\51\52\53\54\55\56\57\48\49\50\51\52\53\54\55\56\57","\46\52\53",- 9) == 13)
48+assert(string.find("\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{2e}\u{34}\u{35}",- 9) == 13)
49−assert(not string.find("\97\98\99\100\101\102\103","",5,1))
49+assert(not string.find("\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}","\u{0}",5,1))
50assert(string.find("","") == 1)
50assert(string.find("","") == 1)
51assert(string.find("","",1) == 1)
51assert(string.find("","",1) == 1)
52assert(not string.find("","",2))
52assert(not string.find("","",2))
53−assert(not string.find("","\97\97\97",1))
53+assert(not string.find("","\u{61}\u{61}\u{61}",1))
54−assert(("\97\108\111\40\46\41\97\108\111"):find("\40\46\41",1,1) == 4)
54+assert(("\u{61}\u{6c}\u{6f}\u{28}\u{2e}\u{29}\u{61}\u{6c}\u{6f}"):find("\u{28}\u{2e}\u{29}",1,1) == 4)
55assert(string.len("") == 0)
55assert(string.len("") == 0)
56−assert(string.len("") == 3)
56+assert(string.len("\u{0}\u{0}\u{0}") == 3)
57−assert(string.len("\49\50\51\52\53\54\55\56\57\48") == 10)
57+assert(string.len("\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}") == 10)
58assert(# "" == 0)
58assert(# "" == 0)
59−assert(# "" == 3)
59+assert(# "\u{0}\u{0}\u{0}" == 3)
60−assert(# "\49\50\51\52\53\54\55\56\57\48" == 10)
60+assert(# "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{38}\u{39}\u{30}" == 10)
61−assert(string.byte("\97") == 97)
61+assert(string.byte("\u{61}") == 97)
62−assert(string.byte("\228") > 127)
62+assert(string.byte("\u{e4}") > 127)
63assert(string.byte(string.char(255)) == 255)
63assert(string.byte(string.char(255)) == 255)
64assert(string.byte(string.char(0)) == 0)
64assert(string.byte(string.char(0)) == 0)
65−assert(string.byte("") == 0)
65+assert(string.byte("\u{0}") == 0)
66−assert(string.byte("\97\108\111\120",- 1) == string.byte("\120"))
66+assert(string.byte("\u{0}\u{0}\u{61}\u{6c}\u{6f}\u{0}\u{78}",- 1) == string.byte("\u{78}"))
67−assert(string.byte("\98\97",2) == 97)
67+assert(string.byte("\u{62}\u{61}",2) == 97)
68−assert(string.byte("\10\10",2,- 1) == 10)
68+assert(string.byte("\u{a}\u{a}",2,- 1) == 10)
69−assert(string.byte("\10\10",2,2) == 10)
69+assert(string.byte("\u{a}\u{a}",2,2) == 10)
70assert(string.byte("") == nil)
70assert(string.byte("") == nil)
71−assert(string.byte("\104\105",- 3) == nil)
71+assert(string.byte("\u{68}\u{69}",- 3) == nil)
72−assert(string.byte("\104\105",3) == nil)
72+assert(string.byte("\u{68}\u{69}",3) == nil)
73−assert(string.byte("\104\105",9,10) == nil)
73+assert(string.byte("\u{68}\u{69}",9,10) == nil)
74−assert(string.byte("\104\105",2,1) == nil)
74+assert(string.byte("\u{68}\u{69}",2,1) == nil)
75assert(string.char() == "")
75assert(string.char() == "")
76−assert(string.char(0,255,0) == "\255")
76+assert(string.char(0,255,0) == "\u{0}\u{ff}\u{0}")
77−assert(string.char(0,string.byte("\228"),0) == "\228")
77+assert(string.char(0,string.byte("\u{e4}"),0) == "\u{0}\u{e4}\u{0}")
78−assert(string.char(string.byte("\228\108\243\117",1,- 1)) == "\228\108\243\117")
78+assert(string.char(string.byte("\u{e4}\u{6c}\u{0}\u{f3}\u{75}",1,- 1)) == "\u{e4}\u{6c}\u{0}\u{f3}\u{75}")
79−assert(string.char(string.byte("\228\108\243\117",1,0)) == "")
79+assert(string.char(string.byte("\u{e4}\u{6c}\u{0}\u{f3}\u{75}",1,0)) == "")
80−assert(string.char(string.byte("\228\108\243\117",- 10,100)) == "\228\108\243\117")
80+assert(string.char(string.byte("\u{e4}\u{6c}\u{0}\u{f3}\u{75}",- 10,100)) == "\u{e4}\u{6c}\u{0}\u{f3}\u{75}")
81−checkerror("\111\117\116\32\111\102\32\114\97\110\103\101",string.char,256)
81+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",string.char,256)
82−checkerror("\111\117\116\32\111\102\32\114\97\110\103\101",string.char,- 1)
82+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",string.char,- 1)
83−checkerror("\111\117\116\32\111\102\32\114\97\110\103\101",string.char,math.maxinteger)
83+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",string.char,math.maxinteger)
84−checkerror("\111\117\116\32\111\102\32\114\97\110\103\101",string.char,math.mininteger)
84+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{72}\u{61}\u{6e}\u{67}\u{65}",string.char,math.mininteger)
85−assert(string.upper("\97\98\99") == "\65\66\67")
85+assert(string.upper("\u{61}\u{62}\u{0}\u{63}") == "\u{41}\u{42}\u{0}\u{43}")
86−assert(string.lower("\65\66\67\99\37\36") == "\97\98\99\99\37\36")
86+assert(string.lower("\u{0}\u{41}\u{42}\u{43}\u{63}\u{25}\u{24}") == "\u{0}\u{61}\u{62}\u{63}\u{63}\u{25}\u{24}")
87−assert(string.rep("\116\101\115\116\101",0) == "")
87+assert(string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",0) == "")
88−assert(string.rep("\116\233\115\116\234",2) == "\116\233\115\116\234\116\233\115\116\234")
88+assert(string.rep("\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}",2) == "\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}\u{74}\u{e9}\u{73}\u{0}\u{74}\u{ea}")
89assert(string.rep("",10) == "")
89assert(string.rep("",10) == "")
90−if string.packsize("\105") == 4 then
90+if string.packsize("\u{69}") == 4 then
91−checkerror("\116\111\111\32\108\97\114\103\101",string.rep,"\97\97",(1 << 30))
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}",(1 << 30))
92−checkerror("\116\111\111\32\108\97\114\103\101",string.rep,"\97",(1 << 30),"\44")
92+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",string.rep,"\u{61}",(1 << 30),"\u{2c}")
93−end
93+end
94−assert(string.rep("\116\101\115\116\101",0,"\120\117\120\117") == "")
94+assert(string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",0,"\u{78}\u{75}\u{78}\u{75}") == "")
95−assert(string.rep("\116\101\115\116\101",1,"\120\117\120\117") == "\116\101\115\116\101")
95+assert(string.rep("\u{74}\u{65}\u{73}\u{74}\u{65}",1,"\u{78}\u{75}\u{78}\u{75}") == "\u{74}\u{65}\u{73}\u{74}\u{65}")
96−assert(string.rep("\1\1",2,"") == "\1\1\1\1")
96+assert(string.rep("\u{1}\u{0}\u{1}",2,"\u{0}\u{0}") == "\u{1}\u{0}\u{1}\u{0}\u{0}\u{1}\u{0}\u{1}")
97−assert(string.rep("",10,"\46") == string.rep("\46",9))
97+assert(string.rep("",10,"\u{2e}") == string.rep("\u{2e}",9))
98−assert(not pcall(string.rep,"\97\97",maxi // 2 + 10))
98+assert(not pcall(string.rep,"\u{61}\u{61}",maxi // 2 + 10))
99−assert(not pcall(string.rep,"",maxi // 2 + 10,"\97\97"))
99+assert(not pcall(string.rep,"",maxi // 2 + 10,"\u{61}\u{61}"))
100assert(string.reverse("") == "")
100assert(string.reverse("") == "")
101−assert(string.reverse("\1\2\3") == "\3\2\1")
101+assert(string.reverse("\u{0}\u{1}\u{2}\u{3}") == "\u{3}\u{2}\u{1}\u{0}")
102−assert(string.reverse("\49\50\51\52") == "\52\51\50\49")
102+assert(string.reverse("\u{0}\u{31}\u{32}\u{33}\u{34}") == "\u{34}\u{33}\u{32}\u{31}\u{0}")
103for i = 0, 30
103for i = 0, 30
104do
104do
105−assert(string.len(string.rep("\97",i)) == i)
105+assert(string.len(string.rep("\u{61}",i)) == i)
106−end
106+end
107−assert(type(tostring(nil)) == "\115\116\114\105\110\103")
107+assert(type(tostring(nil)) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
108−assert(type(tostring(12)) == "\115\116\114\105\110\103")
108+assert(type(tostring(12)) == "\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}")
109−assert(string.find(tostring({}),"\116\97\98\108\101\58"))
109+assert(string.find(tostring({}),"\u{74}\u{61}\u{62}\u{6c}\u{65}\u{3a}"))
110−assert(string.find(tostring(print),"\102\117\110\99\116\105\111\110\58"))
110+assert(string.find(tostring(print),"\u{66}\u{75}\u{6e}\u{63}\u{74}\u{69}\u{6f}\u{6e}\u{3a}"))
111−assert(# tostring("") == 1)
111+assert(# tostring("\u{0}") == 1)
112−assert(tostring(true) == "\116\114\117\101")
112+assert(tostring(true) == "\u{74}\u{72}\u{75}\u{65}")
113−assert(tostring(false) == "\102\97\108\115\101")
113+assert(tostring(false) == "\u{66}\u{61}\u{6c}\u{73}\u{65}")
114−assert(tostring(- 1203) == "\45\49\50\48\51")
114+assert(tostring(- 1203) == "\u{2d}\u{31}\u{32}\u{30}\u{33}")
115−assert(tostring(1203.125) == "\49\50\48\51\46\49\50\53")
115+assert(tostring(1203.125) == "\u{31}\u{32}\u{30}\u{33}\u{2e}\u{31}\u{32}\u{35}")
116−assert(tostring(- 0.5) == "\45\48\46\53")
116+assert(tostring(- 0.5) == "\u{2d}\u{30}\u{2e}\u{35}")
117−assert(tostring(- 32767) == "\45\51\50\55\54\55")
117+assert(tostring(- 32767) == "\u{2d}\u{33}\u{32}\u{37}\u{36}\u{37}")
118if math.tointeger(2147483647) then
118if math.tointeger(2147483647) then
119−assert(tostring(- 2147483647) == "\45\50\49\52\55\52\56\51\54\52\55")
119+assert(tostring(- 2147483647) == "\u{2d}\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{37}")
120end
120end
121if math.tointeger(4611686018427387904) then
121if math.tointeger(4611686018427387904) then
122−assert(tostring(4611686018427387904) == "\52\54\49\49\54\56\54\48\49\56\52\50\55\51\56\55\57\48\52")
122+assert(tostring(4611686018427387904) == "\u{34}\u{36}\u{31}\u{31}\u{36}\u{38}\u{36}\u{30}\u{31}\u{38}\u{34}\u{32}\u{37}\u{33}\u{38}\u{37}\u{39}\u{30}\u{34}")
123−assert(tostring(- 4611686018427387904) == "\45\52\54\49\49\54\56\54\48\49\56\52\50\55\51\56\55\57\48\52")
123+assert(tostring(- 4611686018427387904) == "\u{2d}\u{34}\u{36}\u{31}\u{31}\u{36}\u{38}\u{36}\u{30}\u{31}\u{38}\u{34}\u{32}\u{37}\u{33}\u{38}\u{37}\u{39}\u{30}\u{34}")
124end
124end
125−if tostring(0.0) == "\48\46\48" then
125+if tostring(0.0) == "\u{30}\u{2e}\u{30}" then
126−assert("" .. 12 == "\49\50" and 12.0 .. "" == "\49\50\46\48")
126+assert("" .. 12 == "\u{31}\u{32}" and 12.0 .. "" == "\u{31}\u{32}\u{2e}\u{30}")
127−assert(tostring(- 1203 + 0.0) == "\45\49\50\48\51\46\48")
127+assert(tostring(- 1203 + 0.0) == "\u{2d}\u{31}\u{32}\u{30}\u{33}\u{2e}\u{30}")
128else
128else
129−assert(tostring(0.0) == "\48")
129+assert(tostring(0.0) == "\u{30}")
130−assert("" .. 12 == "\49\50" and 12.0 .. "" == "\49\50")
130+assert("" .. 12 == "\u{31}\u{32}" and 12.0 .. "" == "\u{31}\u{32}")
131−assert(tostring(- 1203 + 0.0) == "\45\49\50\48\51")
131+assert(tostring(- 1203 + 0.0) == "\u{2d}\u{31}\u{32}\u{30}\u{33}")
132end
132end
133do
133do
134−local null = "\40\110\117\108\108\41"
134+local null = "\u{28}\u{6e}\u{75}\u{6c}\u{6c}\u{29}"
135−assert(string.format("\37\112",4) == null)
135+assert(string.format("\u{25}\u{70}",4) == null)
136−assert(string.format("\37\112",true) == null)
136+assert(string.format("\u{25}\u{70}",true) == null)
137−assert(string.format("\37\112",nil) == null)
137+assert(string.format("\u{25}\u{70}",nil) == null)
138−assert(string.format("\37\112",{}) ~= null)
138+assert(string.format("\u{25}\u{70}",{}) ~= null)
139−assert(string.format("\37\112",print) ~= null)
139+assert(string.format("\u{25}\u{70}",print) ~= null)
140−assert(string.format("\37\112",coroutine.running()) ~= null)
140+assert(string.format("\u{25}\u{70}",coroutine.running()) ~= null)
141−assert(string.format("\37\112",io.stdin) ~= null)
141+assert(string.format("\u{25}\u{70}",io.stdin) ~= null)
142−assert(string.format("\37\112",io.stdin) == string.format("\37\112",io.stdin))
142+assert(string.format("\u{25}\u{70}",io.stdin) == string.format("\u{25}\u{70}",io.stdin))
143−assert(string.format("\37\112",print) == string.format("\37\112",print))
143+assert(string.format("\u{25}\u{70}",print) == string.format("\u{25}\u{70}",print))
144−assert(string.format("\37\112",print) ~= string.format("\37\112",assert))
144+assert(string.format("\u{25}\u{70}",print) ~= string.format("\u{25}\u{70}",assert))
145−assert(# string.format("\37\57\48\112",{}) == 90)
145+assert(# string.format("\u{25}\u{39}\u{30}\u{70}",{}) == 90)
146−assert(# string.format("\37\45\54\48\112",{}) == 60)
146+assert(# string.format("\u{25}\u{2d}\u{36}\u{30}\u{70}",{}) == 60)
147−assert(string.format("\37\49\48\112",false) == string.rep("\32",10 - # null) .. null)
147+assert(string.format("\u{25}\u{31}\u{30}\u{70}",false) == string.rep("\u{20}",10 - # null) .. null)
148−assert(string.format("\37\45\49\50\112",1.5) == null .. string.rep("\32",12 - # null))
148+assert(string.format("\u{25}\u{2d}\u{31}\u{32}\u{70}",1.5) == null .. string.rep("\u{20}",12 - # null))
149do
149do
150local t1 = {}
150local t1 = {}
151;
151;
152local t2 = {}
152local t2 = {}
153−assert(string.format("\37\112",t1) ~= string.format("\37\112",t2))
153+assert(string.format("\u{25}\u{70}",t1) ~= string.format("\u{25}\u{70}",t2))
154end
154end
155do
155do
156−local s1 = string.rep("\97",10)
156+local s1 = string.rep("\u{61}",10)
157−local s2 = string.rep("\97\97",5)
157+local s2 = string.rep("\u{61}\u{61}",5)
158−assert(string.format("\37\112",s1) == string.format("\37\112",s2))
158+assert(string.format("\u{25}\u{70}",s1) == string.format("\u{25}\u{70}",s2))
159end
159end
160do
160do
161−local s1 = string.rep("\97",300)
161+local s1 = string.rep("\u{61}",300)
162;
162;
163−local s2 = string.rep("\97",300)
163+local s2 = string.rep("\u{61}",300)
164−assert(string.format("\37\112",s1) ~= string.format("\37\112",s2))
164+assert(string.format("\u{25}\u{70}",s1) ~= string.format("\u{25}\u{70}",s2))
165end
165end
166end
166end
167−local x = "\34\237\108\111\34\10\92"
167+local x = "\u{22}\u{ed}\u{6c}\u{6f}\u{22}\u{a}\u{5c}"
168−assert(string.format("\37\113\37\115",x,x) == "\34\92\34\237\108\111\92\34\92\10\92\92\34\34\237\108\111\34\10\92")
168+assert(string.format("\u{25}\u{71}\u{25}\u{73}",x,x) == "\u{22}\u{5c}\u{22}\u{ed}\u{6c}\u{6f}\u{5c}\u{22}\u{5c}\u{a}\u{5c}\u{5c}\u{22}\u{22}\u{ed}\u{6c}\u{6f}\u{22}\u{a}\u{5c}")
169−assert(string.format("\37\113","") == "\34\92\48\34")
169+assert(string.format("\u{25}\u{71}","\u{0}") == "\u{22}\u{5c}\u{30}\u{22}")
170−assert(load(string.format("\114\101\116\117\114\110\32\37\113",x))() == x)
170+assert(load(string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{71}",x))() == x)
171−x="\1\2\51\5\57"
171+x="\u{0}\u{1}\u{2}\u{33}\u{5}\u{0}\u{39}"
172−assert(load(string.format("\114\101\116\117\114\110\32\37\113",x))() == x)
172+assert(load(string.format("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{25}\u{71}",x))() == x)
173−assert(string.format("\37\99\37\99\37\120",string.byte("\228"),string.byte("\98"),140) == "\228\98\56\99")
173+assert(string.format("\u{0}\u{25}\u{63}\u{0}\u{25}\u{63}\u{25}\u{78}\u{0}",string.byte("\u{e4}"),string.byte("\u{62}"),140) == "\u{0}\u{e4}\u{0}\u{62}\u{38}\u{63}\u{0}")
174assert(string.format("") == "")
174assert(string.format("") == "")
175−assert(string.format("\37\99",34) .. string.format("\37\99",48) .. string.format("\37\99",90) .. string.format("\37\99",100) == string.format("\37\49\99\37\45\99\37\45\49\99\37\99",34,48,90,100))
175+assert(string.format("\u{25}\u{63}",34) .. string.format("\u{25}\u{63}",48) .. string.format("\u{25}\u{63}",90) .. string.format("\u{25}\u{63}",100) == string.format("\u{25}\u{31}\u{63}\u{25}\u{2d}\u{63}\u{25}\u{2d}\u{31}\u{63}\u{25}\u{63}",34,48,90,100))
176−assert(string.format("\37\115\32\105\115\32\110\111\116\32\37\115","\110\111\116\32\98\101","\98\101") == "\110\111\116\32\98\101\32\105\115\32\110\111\116\32\98\101")
176+assert(string.format("\u{25}\u{73}\u{0}\u{20}\u{69}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{0}\u{25}\u{73}","\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}","\u{62}\u{65}") == "\u{6e}\u{6f}\u{74}\u{20}\u{62}\u{65}\u{0}\u{20}\u{69}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{0}\u{62}\u{65}")
177−assert(string.format("\37\37\37\100\32\37\48\49\48\100",10,23) == "\37\49\48\32\48\48\48\48\48\48\48\48\50\51")
177+assert(string.format("\u{25}\u{25}\u{25}\u{64}\u{20}\u{25}\u{30}\u{31}\u{30}\u{64}",10,23) == "\u{25}\u{31}\u{30}\u{20}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{32}\u{33}")
178−assert(tonumber(string.format("\37\102",10.3)) == 10.3)
178+assert(tonumber(string.format("\u{25}\u{66}",10.3)) == 10.3)
179−assert(string.format("\34\37\45\53\48\115\34","\97") == "\34\97" .. string.rep("\32",49) .. "\34")
179+assert(string.format("\u{22}\u{25}\u{2d}\u{35}\u{30}\u{73}\u{22}","\u{61}") == "\u{22}\u{61}" .. string.rep("\u{20}",49) .. "\u{22}")
180−assert(string.format("\45\37\46\50\48\115\46\50\48\115",string.rep("\37",2000)) == "\45" .. string.rep("\37",20) .. "\46\50\48\115")
180+assert(string.format("\u{2d}\u{25}\u{2e}\u{32}\u{30}\u{73}\u{2e}\u{32}\u{30}\u{73}",string.rep("\u{25}",2000)) == "\u{2d}" .. string.rep("\u{25}",20) .. "\u{2e}\u{32}\u{30}\u{73}")
181−assert(string.format("\34\45\37\50\48\115\46\50\48\115\34",string.rep("\37",2000)) == string.format("\37\113","\45" .. string.rep("\37",2000) .. "\46\50\48\115"))
181+assert(string.format("\u{22}\u{2d}\u{25}\u{32}\u{30}\u{73}\u{2e}\u{32}\u{30}\u{73}\u{22}",string.rep("\u{25}",2000)) == string.format("\u{25}\u{71}","\u{2d}" .. string.rep("\u{25}",2000) .. "\u{2e}\u{32}\u{30}\u{73}"))
182do
182do
183local function checkQ
183local function checkQ
184(v)
184(v)
185−local s = string.format("\37\113",v)
185+local s = string.format("\u{25}\u{71}",v)
186−local nv = load("\114\101\116\117\114\110\32" .. s)()
186+local nv = load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}" .. s)()
187assert(v == nv and math.type(v) == math.type(nv))
187assert(v == nv and math.type(v) == math.type(nv))
188end
188end
189−checkQ("\1\255\52\2")
189+checkQ("\u{0}\u{0}\u{1}\u{ff}\u{234}")
190checkQ(math.maxinteger)
190checkQ(math.maxinteger)
191checkQ(math.mininteger)
191checkQ(math.mininteger)
192checkQ(math.pi)
192checkQ(math.pi)
@@ -196,29 +196,29 @@ checkQ(nil)
196checkQ(false)
196checkQ(false)
197checkQ(math.huge)
197checkQ(math.huge)
198checkQ(- math.huge)
198checkQ(- math.huge)
199−assert(string.format("\37\113",0 / 0) == "\40\48\47\48\41")
199+assert(string.format("\u{25}\u{71}",0 / 0) == "\u{28}\u{30}\u{2f}\u{30}\u{29}")
200−checkerror("\110\111\32\108\105\116\101\114\97\108",string.format,"\37\113",{})
200+checkerror("\u{6e}\u{6f}\u{20}\u{6c}\u{69}\u{74}\u{65}\u{72}\u{61}\u{6c}",string.format,"\u{25}\u{71}",{})
201−end
201+end
202−assert(string.format("\37\115","\1") == "\1")
202+assert(string.format("\u{0}\u{25}\u{73}\u{0}","\u{0}\u{0}\u{1}") == "\u{0}\u{0}\u{0}\u{1}\u{0}")
203−checkerror("\99\111\110\116\97\105\110\115\32\122\101\114\111\115",string.format,"\37\49\48\115","")
203+checkerror("\u{63}\u{6f}\u{6e}\u{74}\u{61}\u{69}\u{6e}\u{73}\u{20}\u{7a}\u{65}\u{72}\u{6f}\u{73}",string.format,"\u{25}\u{31}\u{30}\u{73}","\u{0}")
204−assert(string.format("\37\115\32\37\115",nil,true) == "\110\105\108\32\116\114\117\101")
204+assert(string.format("\u{25}\u{73}\u{20}\u{25}\u{73}",nil,true) == "\u{6e}\u{69}\u{6c}\u{20}\u{74}\u{72}\u{75}\u{65}")
205−assert(string.format("\37\115\32\37\46\52\115",false,true) == "\102\97\108\115\101\32\116\114\117\101")
205+assert(string.format("\u{25}\u{73}\u{20}\u{25}\u{2e}\u{34}\u{73}",false,true) == "\u{66}\u{61}\u{6c}\u{73}\u{65}\u{20}\u{74}\u{72}\u{75}\u{65}")
206−assert(string.format("\37\46\51\115\32\37\46\51\115",false,true) == "\102\97\108\32\116\114\117")
206+assert(string.format("\u{25}\u{2e}\u{33}\u{73}\u{20}\u{25}\u{2e}\u{33}\u{73}",false,true) == "\u{66}\u{61}\u{6c}\u{20}\u{74}\u{72}\u{75}")
207−local m = setmetatable({},{["\95\95\116\111\115\116\114\105\110\103"] = function ()
207+local m = setmetatable({},{["\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}"] = function ()
208−return "\104\101\108\108\111"
208+return "\u{68}\u{65}\u{6c}\u{6c}\u{6f}"
209−end,["\95\95\110\97\109\101"] = "\104\105"})
209+end,["\u{5f}\u{5f}\u{6e}\u{61}\u{6d}\u{65}"] = "\u{68}\u{69}"})
210−assert(string.format("\37\115\32\37\46\49\48\115",m,m) == "\104\101\108\108\111\32\104\101\108\108\111")
210+assert(string.format("\u{25}\u{73}\u{20}\u{25}\u{2e}\u{31}\u{30}\u{73}",m,m) == "\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{68}\u{65}\u{6c}\u{6c}\u{6f}")
211getmetatable(m).__tostring=nil
211getmetatable(m).__tostring=nil
212−assert(string.format("\37\46\52\115",m) == "\104\105\58\32")
212+assert(string.format("\u{25}\u{2e}\u{34}\u{73}",m) == "\u{68}\u{69}\u{3a}\u{20}")
213getmetatable(m).__tostring=function ()
213getmetatable(m).__tostring=function ()
214return {}
214return {}
215end
215end
216−checkerror("\39\95\95\116\111\115\116\114\105\110\103\39\32\109\117\115\116\32\114\101\116\117\114\110\32\97\32\115\116\114\105\110\103",tostring,m)
216+checkerror("\u{27}\u{5f}\u{5f}\u{74}\u{6f}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{27}\u{20}\u{6d}\u{75}\u{73}\u{74}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{61}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",tostring,m)
217−assert(string.format("\37\120",0.0) == "\48")
217+assert(string.format("\u{25}\u{78}",0.0) == "\u{30}")
218−assert(string.format("\37\48\50\120",0.0) == "\48\48")
218+assert(string.format("\u{25}\u{30}\u{32}\u{78}",0.0) == "\u{30}\u{30}")
219−assert(string.format("\37\48\56\88",4294967295) == "\70\70\70\70\70\70\70\70")
219+assert(string.format("\u{25}\u{30}\u{38}\u{58}",4294967295) == "\u{46}\u{46}\u{46}\u{46}\u{46}\u{46}\u{46}\u{46}")
220−assert(string.format("\37\43\48\56\100",31501) == "\43\48\48\51\49\53\48\49")
220+assert(string.format("\u{25}\u{2b}\u{30}\u{38}\u{64}",31501) == "\u{2b}\u{30}\u{30}\u{33}\u{31}\u{35}\u{30}\u{31}")
221−assert(string.format("\37\43\48\56\100",- 30927) == "\45\48\48\51\48\57\50\55")
221+assert(string.format("\u{25}\u{2b}\u{30}\u{38}\u{64}",- 30927) == "\u{2d}\u{30}\u{30}\u{33}\u{30}\u{39}\u{32}\u{37}")
222do
222do
223local i = 1
223local i = 1
224local j = 10000
224local j = 10000
@@ -231,172 +231,172 @@ j=m
231end
231end
232end
232end
233assert(10 ^ i < math.huge and 10 ^ j == math.huge)
233assert(10 ^ i < math.huge and 10 ^ j == math.huge)
234−local s = string.format("\37\46\57\57\102",- (10 ^ i))
234+local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- (10 ^ i))
235assert(string.len(s) >= i + 101)
235assert(string.len(s) >= i + 101)
236assert(tonumber(s) == - (10 ^ i))
236assert(tonumber(s) == - (10 ^ i))
237assert(10 ^ 38 < math.huge)
237assert(10 ^ 38 < math.huge)
238−local s = string.format("\37\46\57\57\102",- (10 ^ 38))
238+local s = string.format("\u{25}\u{2e}\u{39}\u{39}\u{66}",- (10 ^ 38))
239assert(string.len(s) >= 38 + 101)
239assert(string.len(s) >= 38 + 101)
240assert(tonumber(s) == - (10 ^ 38))
240assert(tonumber(s) == - (10 ^ 38))
241end
241end
242do
242do
243local max,min = 2147483647,- 2147483648
243local max,min = 2147483647,- 2147483648
244−assert(string.sub(string.format("\37\56\120",- 1),- 8) == "\102\102\102\102\102\102\102\102")
244+assert(string.sub(string.format("\u{25}\u{38}\u{78}",- 1),- 8) == "\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}")
245−assert(string.format("\37\120",max) == "\55\102\102\102\102\102\102\102")
245+assert(string.format("\u{25}\u{78}",max) == "\u{37}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}\u{66}")
246−assert(string.sub(string.format("\37\120",min),- 8) == "\56\48\48\48\48\48\48\48")
246+assert(string.sub(string.format("\u{25}\u{78}",min),- 8) == "\u{38}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}")
247−assert(string.format("\37\100",max) == "\50\49\52\55\52\56\51\54\52\55")
247+assert(string.format("\u{25}\u{64}",max) == "\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{37}")
248−assert(string.format("\37\100",min) == "\45\50\49\52\55\52\56\51\54\52\56")
248+assert(string.format("\u{25}\u{64}",min) == "\u{2d}\u{32}\u{31}\u{34}\u{37}\u{34}\u{38}\u{33}\u{36}\u{34}\u{38}")
249−assert(string.format("\37\117",4294967295) == "\52\50\57\52\57\54\55\50\57\53")
249+assert(string.format("\u{25}\u{75}",4294967295) == "\u{34}\u{32}\u{39}\u{34}\u{39}\u{36}\u{37}\u{32}\u{39}\u{35}")
250−assert(string.format("\37\111",43981) == "\49\50\53\55\49\53")
250+assert(string.format("\u{25}\u{6f}",43981) == "\u{31}\u{32}\u{35}\u{37}\u{31}\u{35}")
251max,min=9223372036854775807,- 9223372036854775808
251max,min=9223372036854775807,- 9223372036854775808
252if max > 2.0 ^ 53 then
252if max > 2.0 ^ 53 then
253−assert(string.format("\37\120",(2 ^ 52 | 0) - 1) == "\102\102\102\102\102\102\102\102\102\102\102\102\102")
253+assert(string.format("\u{25}\u{78}",(2 ^ 52 | 0) - 1) == "\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}")
254−assert(string.format("\48\120\37\56\88",2399141891) == "\48\120\56\70\48\48\48\48\48\51")
254+assert(string.format("\u{30}\u{78}\u{25}\u{38}\u{58}",2399141891) == "\u{30}\u{78}\u{38}\u{46}\u{30}\u{30}\u{30}\u{30}\u{30}\u{33}")
255−assert(string.format("\37\100",2 ^ 53) == "\57\48\48\55\49\57\57\50\53\52\55\52\48\57\57\50")
255+assert(string.format("\u{25}\u{64}",2 ^ 53) == "\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}")
256−assert(string.format("\37\105",- 2 ^ 53) == "\45\57\48\48\55\49\57\57\50\53\52\55\52\48\57\57\50")
256+assert(string.format("\u{25}\u{69}",- 2 ^ 53) == "\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}")
257−assert(string.format("\37\120",max) == "\55\102\102\102\102\102\102\102\102\102\102\102\102\102\102\102")
257+assert(string.format("\u{25}\u{78}",max) == "\u{37}\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}")
258−assert(string.format("\37\120",min) == "\56\48\48\48\48\48\48\48\48\48\48\48\48\48\48\48")
258+assert(string.format("\u{25}\u{78}",min) == "\u{38}\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{30}\u{30}")
259−assert(string.format("\37\100",max) == "\57\50\50\51\51\55\50\48\51\54\56\53\52\55\55\53\56\48\55")
259+assert(string.format("\u{25}\u{64}",max) == "\u{39}\u{32}\u{32}\u{33}\u{33}\u{37}\u{32}\u{30}\u{33}\u{36}\u{38}\u{35}\u{34}\u{37}\u{37}\u{35}\u{38}\u{30}\u{37}")
260−assert(string.format("\37\100",min) == "\45\57\50\50\51\51\55\50\48\51\54\56\53\52\55\55\53\56\48\56")
260+assert(string.format("\u{25}\u{64}",min) == "\u{2d}\u{39}\u{32}\u{32}\u{33}\u{33}\u{37}\u{32}\u{30}\u{33}\u{36}\u{38}\u{35}\u{34}\u{37}\u{37}\u{35}\u{38}\u{30}\u{38}")
261−assert(string.format("\37\117",~ (- 1 << 64)) == "\49\56\52\52\54\55\52\52\48\55\51\55\48\57\53\53\49\54\49\53")
261+assert(string.format("\u{25}\u{75}",~ (- 1 << 64)) == "\u{31}\u{38}\u{34}\u{34}\u{36}\u{37}\u{34}\u{34}\u{30}\u{37}\u{33}\u{37}\u{30}\u{39}\u{35}\u{35}\u{31}\u{36}\u{31}\u{35}")
262−assert(tostring(1234567890123) == "\49\50\51\52\53\54\55\56\57\48\49\50\51")
262+assert(tostring(1234567890123) == "\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}")
263end
263end
264end
264end
265do
265do
266−print("\116\101\115\116\105\110\103\32\39\102\111\114\109\97\116\32\37\97\32\37\65\39")
266+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{27}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{20}\u{25}\u{61}\u{20}\u{25}\u{41}\u{27}")
267local function matchhexa
267local function matchhexa
268(n)
268(n)
269−local s = string.format("\37\97",n)
269+local s = string.format("\u{25}\u{61}",n)
270−assert(string.find(s,"\94\37\45\63\48\120\91\49\45\57\97\45\102\93\37\46\63\91\48\45\57\97\45\102\93\42\112\91\45\43\93\63\37\100\43\36"))
270+assert(string.find(s,"\u{5e}\u{25}\u{2d}\u{3f}\u{30}\u{78}\u{5b}\u{31}\u{2d}\u{39}\u{61}\u{2d}\u{66}\u{5d}\u{25}\u{2e}\u{3f}\u{5b}\u{30}\u{2d}\u{39}\u{61}\u{2d}\u{66}\u{5d}\u{2a}\u{70}\u{5b}\u{2d}\u{2b}\u{5d}\u{3f}\u{25}\u{64}\u{2b}\u{24}"))
271assert(tonumber(s) == n)
271assert(tonumber(s) == n)
272−s=string.format("\37\65",n)
272+s=string.format("\u{25}\u{41}",n)
273−assert(string.find(s,"\94\37\45\63\48\88\91\49\45\57\65\45\70\93\37\46\63\91\48\45\57\65\45\70\93\42\80\91\45\43\93\63\37\100\43\36"))
273+assert(string.find(s,"\u{5e}\u{25}\u{2d}\u{3f}\u{30}\u{58}\u{5b}\u{31}\u{2d}\u{39}\u{41}\u{2d}\u{46}\u{5d}\u{25}\u{2e}\u{3f}\u{5b}\u{30}\u{2d}\u{39}\u{41}\u{2d}\u{46}\u{5d}\u{2a}\u{50}\u{5b}\u{2d}\u{2b}\u{5d}\u{3f}\u{25}\u{64}\u{2b}\u{24}"))
274assert(tonumber(s) == n)
274assert(tonumber(s) == n)
275end
275end
276for _,n in ipairs({0.1,- 0.1,1 / 3,- 1 / 3,1e30,- 1e30,- 45 / 247,1,- 1,2,- 2,3e-20,- 3e-20})
276for _,n in ipairs({0.1,- 0.1,1 / 3,- 1 / 3,1e30,- 1e30,- 45 / 247,1,- 1,2,- 2,3e-20,- 3e-20})
277do
277do
278matchhexa(n)
278matchhexa(n)
279end
279end
280−assert(string.find(string.format("\37\65",0.0),"\94\48\88\48\37\46\63\48\42\80\37\43\63\48\36"))
280+assert(string.find(string.format("\u{25}\u{41}",0.0),"\u{5e}\u{30}\u{58}\u{30}\u{25}\u{2e}\u{3f}\u{30}\u{2a}\u{50}\u{25}\u{2b}\u{3f}\u{30}\u{24}"))
281−assert(string.find(string.format("\37\97",- 0.0),"\94\37\45\48\120\48\37\46\63\48\42\112\37\43\63\48\36"))
281+assert(string.find(string.format("\u{25}\u{61}",- 0.0),"\u{5e}\u{25}\u{2d}\u{30}\u{78}\u{30}\u{25}\u{2e}\u{3f}\u{30}\u{2a}\u{70}\u{25}\u{2b}\u{3f}\u{30}\u{24}"))
282if not _port then
282if not _port then
283−assert(string.find(string.format("\37\97",1 / 0),"\94\105\110\102"))
283+assert(string.find(string.format("\u{25}\u{61}",1 / 0),"\u{5e}\u{69}\u{6e}\u{66}"))
284−assert(string.find(string.format("\37\65",- 1 / 0),"\94\37\45\73\78\70"))
284+assert(string.find(string.format("\u{25}\u{41}",- 1 / 0),"\u{5e}\u{25}\u{2d}\u{49}\u{4e}\u{46}"))
285−assert(string.find(string.format("\37\97",0 / 0),"\94\37\45\63\110\97\110"))
285+assert(string.find(string.format("\u{25}\u{61}",0 / 0),"\u{5e}\u{25}\u{2d}\u{3f}\u{6e}\u{61}\u{6e}"))
286−assert(string.find(string.format("\37\97",- 0.0),"\94\37\45\48\120\48"))
286+assert(string.find(string.format("\u{25}\u{61}",- 0.0),"\u{5e}\u{25}\u{2d}\u{30}\u{78}\u{30}"))
287end
287end
288−if not pcall(string.format,"\37\46\51\97",0) then
288+if not pcall(string.format,"\u{25}\u{2e}\u{33}\u{61}",0) then
289−(Message or print)("\10\32\62\62\62\32\109\111\100\105\102\105\101\114\115\32\102\111\114\32\102\111\114\109\97\116\32\39\37\97\39\32\110\111\116\32\97\118\97\105\108\97\98\108\101\32\60\60\60\10")
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}")
290else
290else
291−assert(string.find(string.format("\37\43\46\50\65",12),"\94\37\43\48\88\37\120\37\46\37\120\48\80\37\43\63\37\100\36"))
291+assert(string.find(string.format("\u{25}\u{2b}\u{2e}\u{32}\u{41}",12),"\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}"))
292−assert(string.find(string.format("\37\46\52\65",- 12),"\94\37\45\48\88\37\120\37\46\37\120\48\48\48\80\37\43\63\37\100\36"))
292+assert(string.find(string.format("\u{25}\u{2e}\u{34}\u{41}",- 12),"\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}"))
293−end
293+end
294−end
294+end
295−assert(string.format("\37\35\49\50\111",10) == "\32\32\32\32\32\32\32\32\32\48\49\50")
295+assert(string.format("\u{25}\u{23}\u{31}\u{32}\u{6f}",10) == "\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{30}\u{31}\u{32}")
296−assert(string.format("\37\35\49\48\120",100) == "\32\32\32\32\32\32\48\120\54\52")
296+assert(string.format("\u{25}\u{23}\u{31}\u{30}\u{78}",100) == "\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{30}\u{78}\u{36}\u{34}")
297−assert(string.format("\37\35\45\49\55\88",100) == "\48\88\54\52\32\32\32\32\32\32\32\32\32\32\32\32\32")
297+assert(string.format("\u{25}\u{23}\u{2d}\u{31}\u{37}\u{58}",100) == "\u{30}\u{58}\u{36}\u{34}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}")
298−assert(string.format("\37\48\49\51\105",- 100) == "\45\48\48\48\48\48\48\48\48\48\49\48\48")
298+assert(string.format("\u{25}\u{30}\u{31}\u{33}\u{69}",- 100) == "\u{2d}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{31}\u{30}\u{30}")
299−assert(string.format("\37\50\46\53\100",- 100) == "\45\48\48\49\48\48")
299+assert(string.format("\u{25}\u{32}\u{2e}\u{35}\u{64}",- 100) == "\u{2d}\u{30}\u{30}\u{31}\u{30}\u{30}")
300−assert(string.format("\37\46\117",0) == "")
300+assert(string.format("\u{25}\u{2e}\u{75}",0) == "")
301−assert(string.format("\37\43\35\48\49\52\46\48\102",100) == "\43\48\48\48\48\48\48\48\48\48\49\48\48\46")
301+assert(string.format("\u{25}\u{2b}\u{23}\u{30}\u{31}\u{34}\u{2e}\u{30}\u{66}",100) == "\u{2b}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{31}\u{30}\u{30}\u{2e}")
302−assert(string.format("\37\45\49\54\99",97) == "\97\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32")
302+assert(string.format("\u{25}\u{2d}\u{31}\u{36}\u{63}",97) == "\u{61}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}\u{20}")
303−assert(string.format("\37\43\46\51\71",1.5) == "\43\49\46\53")
303+assert(string.format("\u{25}\u{2b}\u{2e}\u{33}\u{47}",1.5) == "\u{2b}\u{31}\u{2e}\u{35}")
304−assert(string.format("\37\46\48\115","\97\108\111") == "")
304+assert(string.format("\u{25}\u{2e}\u{30}\u{73}","\u{61}\u{6c}\u{6f}") == "")
305−assert(string.format("\37\46\115","\97\108\111") == "")
305+assert(string.format("\u{25}\u{2e}\u{73}","\u{61}\u{6c}\u{6f}") == "")
306−assert(string.match(string.format("\37\32\49\46\48\69",100),"\94\32\49\69\37\43\48\43\50\36"))
306+assert(string.match(string.format("\u{25}\u{20}\u{31}\u{2e}\u{30}\u{45}",100),"\u{5e}\u{20}\u{31}\u{45}\u{25}\u{2b}\u{30}\u{2b}\u{32}\u{24}"))
307−assert(string.match(string.format("\37\32\46\49\103",2 ^ 10),"\94\32\49\101\37\43\48\43\51\36"))
307+assert(string.match(string.format("\u{25}\u{20}\u{2e}\u{31}\u{67}",2 ^ 10),"\u{5e}\u{20}\u{31}\u{65}\u{25}\u{2b}\u{30}\u{2b}\u{33}\u{24}"))
308local function check
308local function check
309(fmt,msg)
309(fmt,msg)
310checkerror(msg,string.format,fmt,10)
310checkerror(msg,string.format,fmt,10)
311end
311end
312−local aux = string.rep("\48",600)
312+local aux = string.rep("\u{30}",600)
313−check("\37\49\48\48\46\51\100","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
313+check("\u{25}\u{31}\u{30}\u{30}\u{2e}\u{33}\u{64}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
314−check("\37\49" .. aux .. "\46\51\100","\116\111\111\32\108\111\110\103")
314+check("\u{25}\u{31}" .. aux .. "\u{2e}\u{33}\u{64}","\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}")
315−check("\37\49\46\49\48\48\100","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
315+check("\u{25}\u{31}\u{2e}\u{31}\u{30}\u{30}\u{64}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
316−check("\37\49\48\46\49" .. aux .. "\48\48\52\100","\116\111\111\32\108\111\110\103")
316+check("\u{25}\u{31}\u{30}\u{2e}\u{31}" .. aux .. "\u{30}\u{30}\u{34}\u{64}","\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}")
317−check("\37\116","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
317+check("\u{25}\u{74}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
318−check("\37" .. aux .. "\100","\116\111\111\32\108\111\110\103")
318+check("\u{25}" .. aux .. "\u{64}","\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{6f}\u{6e}\u{67}")
319−check("\37\100\32\37\100","\110\111\32\118\97\108\117\101")
319+check("\u{25}\u{64}\u{20}\u{25}\u{64}","\u{6e}\u{6f}\u{20}\u{76}\u{61}\u{6c}\u{75}\u{65}")
320−check("\37\48\49\48\99","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
320+check("\u{25}\u{30}\u{31}\u{30}\u{63}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
321−check("\37\46\49\48\99","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
321+check("\u{25}\u{2e}\u{31}\u{30}\u{63}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
322−check("\37\48\46\51\52\115","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
322+check("\u{25}\u{30}\u{2e}\u{33}\u{34}\u{73}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
323−check("\37\35\105","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
323+check("\u{25}\u{23}\u{69}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
324−check("\37\51\46\49\112","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
324+check("\u{25}\u{33}\u{2e}\u{31}\u{70}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
325−check("\37\48\46\115","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
325+check("\u{25}\u{30}\u{2e}\u{73}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
326−check("\37\49\48\113","\99\97\110\110\111\116\32\104\97\118\101\32\109\111\100\105\102\105\101\114\115")
326+check("\u{25}\u{31}\u{30}\u{71}","\u{63}\u{61}\u{6e}\u{6e}\u{6f}\u{74}\u{20}\u{68}\u{61}\u{76}\u{65}\u{20}\u{6d}\u{6f}\u{64}\u{69}\u{66}\u{69}\u{65}\u{72}\u{73}")
327−check("\37\70","\105\110\118\97\108\105\100\32\99\111\110\118\101\114\115\105\111\110")
327+check("\u{25}\u{46}","\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{63}\u{6f}\u{6e}\u{76}\u{65}\u{72}\u{73}\u{69}\u{6f}\u{6e}")
328−assert(load("\114\101\116\117\114\110\32\49\10\45\45\99\111\109\109\101\110\116\32\119\105\116\104\111\117\116\32\101\110\100\105\110\103\32\69\79\76")() == 1)
328+assert(load("\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{31}\u{a}\u{2d}\u{2d}\u{63}\u{6f}\u{6d}\u{6d}\u{65}\u{6e}\u{74}\u{20}\u{77}\u{69}\u{74}\u{68}\u{6f}\u{75}\u{74}\u{20}\u{65}\u{6e}\u{64}\u{69}\u{6e}\u{67}\u{20}\u{45}\u{4f}\u{4c}")() == 1)
329−checkerror("\116\97\98\108\101\32\101\120\112\101\99\116\101\100",table.concat,3)
329+checkerror("\u{74}\u{61}\u{62}\u{6c}\u{65}\u{20}\u{65}\u{78}\u{70}\u{65}\u{63}\u{74}\u{65}\u{64}",table.concat,3)
330−checkerror("\97\116\32\105\110\100\101\120\32" .. maxi,table.concat,{},"\32",maxi,maxi)
330+checkerror("\u{61}\u{74}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}" .. maxi,table.concat,{},"\u{20}",maxi,maxi)
331−checkerror("\97\116\32\105\110\100\101\120\32\37" .. mini,table.concat,{},"\32",mini,mini)
331+checkerror("\u{61}\u{74}\u{20}\u{69}\u{6e}\u{64}\u{65}\u{78}\u{20}\u{25}" .. mini,table.concat,{},"\u{20}",mini,mini)
332assert(table.concat({}) == "")
332assert(table.concat({}) == "")
333−assert(table.concat({},"\120") == "")
333+assert(table.concat({},"\u{78}") == "")
334−assert(table.concat({"","\1","\1\2"},"\46\46") == "\46\46\1\46\46\1\2")
334+assert(table.concat({"\u{0}","\u{0}\u{1}","\u{0}\u{1}\u{2}"},"\u{2e}\u{0}\u{2e}") == "\u{0}\u{2e}\u{0}\u{2e}\u{0}\u{1}\u{2e}\u{0}\u{2e}\u{0}\u{1}\u{2}")
335local a = {}
335local a = {}
336;
336;
337for i = 1, 300
337for i = 1, 300
338do
338do
339−a[i]="\120\117\120\117"
339+a[i]="\u{78}\u{75}\u{78}\u{75}"
340−end
340+end
341−assert(table.concat(a,"\49\50\51") .. "\49\50\51" == string.rep("\120\117\120\117\49\50\51",300))
341+assert(table.concat(a,"\u{31}\u{32}\u{33}") .. "\u{31}\u{32}\u{33}" == string.rep("\u{78}\u{75}\u{78}\u{75}\u{31}\u{32}\u{33}",300))
342−assert(table.concat(a,"\98",20,20) == "\120\117\120\117")
342+assert(table.concat(a,"\u{62}",20,20) == "\u{78}\u{75}\u{78}\u{75}")
343−assert(table.concat(a,"",20,21) == "\120\117\120\117\120\117\120\117")
343+assert(table.concat(a,"",20,21) == "\u{78}\u{75}\u{78}\u{75}\u{78}\u{75}\u{78}\u{75}")
344−assert(table.concat(a,"\120",22,21) == "")
344+assert(table.concat(a,"\u{78}",22,21) == "")
345−assert(table.concat(a,"\51",299) == "\120\117\120\117\51\120\117\120\117")
345+assert(table.concat(a,"\u{33}",299) == "\u{78}\u{75}\u{78}\u{75}\u{33}\u{78}\u{75}\u{78}\u{75}")
346−assert(table.concat({},"\120",maxi,maxi - 1) == "")
346+assert(table.concat({},"\u{78}",maxi,maxi - 1) == "")
347−assert(table.concat({},"\120",mini + 1,mini) == "")
347+assert(table.concat({},"\u{78}",mini + 1,mini) == "")
348−assert(table.concat({},"\120",maxi,mini) == "")
348+assert(table.concat({},"\u{78}",maxi,mini) == "")
349−assert(table.concat({[maxi] = "\97\108\111"},"\120",maxi,maxi) == "\97\108\111")
349+assert(table.concat({[maxi] = "\u{61}\u{6c}\u{6f}"},"\u{78}",maxi,maxi) == "\u{61}\u{6c}\u{6f}")
350−assert(table.concat({[maxi] = "\97\108\111",[maxi - 1] = "\121"},"\45",maxi - 1,maxi) == "\121\45\97\108\111")
350+assert(table.concat({[maxi] = "\u{61}\u{6c}\u{6f}",[maxi - 1] = "\u{79}"},"\u{2d}",maxi - 1,maxi) == "\u{79}\u{2d}\u{61}\u{6c}\u{6f}")
351−assert(not pcall(table.concat,{"\97","\98",{}}))
351+assert(not pcall(table.concat,{"\u{61}","\u{62}",{}}))
352−a={"\97","\98","\99"}
352+a={"\u{61}","\u{62}","\u{63}"}
353−assert(table.concat(a,"\44",1,0) == "")
353+assert(table.concat(a,"\u{2c}",1,0) == "")
354−assert(table.concat(a,"\44",1,1) == "\97")
354+assert(table.concat(a,"\u{2c}",1,1) == "\u{61}")
355−assert(table.concat(a,"\44",1,2) == "\97\44\98")
355+assert(table.concat(a,"\u{2c}",1,2) == "\u{61}\u{2c}\u{62}")
356−assert(table.concat(a,"\44",2) == "\98\44\99")
356+assert(table.concat(a,"\u{2c}",2) == "\u{62}\u{2c}\u{63}")
357−assert(table.concat(a,"\44",3) == "\99")
357+assert(table.concat(a,"\u{2c}",3) == "\u{63}")
358−assert(table.concat(a,"\44",4) == "")
358+assert(table.concat(a,"\u{2c}",4) == "")
359if not _port then
359if not _port then
360−local locales = {"\112\116\98","\112\116\95\66\82\46\105\115\111\56\56\53\57\49","\73\83\79\45\56\56\53\57\45\49"}
360+local locales = {"\u{70}\u{74}\u{62}","\u{70}\u{74}\u{5f}\u{42}\u{52}\u{2e}\u{69}\u{73}\u{6f}\u{38}\u{38}\u{35}\u{39}\u{31}","\u{49}\u{53}\u{4f}\u{2d}\u{38}\u{38}\u{35}\u{39}\u{2d}\u{31}"}
361local function trylocale
361local function trylocale
362(w)
362(w)
363for i = 1, # locales
363for i = 1, # locales
364do
364do
365if os.setlocale(locales[i],w) then
365if os.setlocale(locales[i],w) then
366−print(string.format("\39\37\115\39\32\108\111\99\97\108\101\32\115\101\116\32\116\111\32\39\37\115\39",w,locales[i]))
366+print(string.format("\u{27}\u{25}\u{73}\u{27}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{65}\u{20}\u{73}\u{65}\u{74}\u{20}\u{74}\u{6f}\u{20}\u{27}\u{25}\u{73}\u{27}",w,locales[i]))
367return locales[i]
367return locales[i]
368end
368end
369end
369end
370−print(string.format("\39\37\115\39\32\108\111\99\97\108\101\32\110\111\116\32\102\111\117\110\100",w))
370+print(string.format("\u{27}\u{25}\u{73}\u{27}\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{66}\u{6f}\u{75}\u{6e}\u{64}",w))
371return false
371return false
372end
372end
373−if trylocale("\99\111\108\108\97\116\101") then
373+if trylocale("\u{63}\u{6f}\u{6c}\u{6c}\u{61}\u{74}\u{65}") then
374−assert("\97\108\111" < "\225\108\111" and "\225\108\111" < "\97\109\111")
374+assert("\u{61}\u{6c}\u{6f}" < "\u{e1}\u{6c}\u{6f}" and "\u{e1}\u{6c}\u{6f}" < "\u{61}\u{6d}\u{6f}")
375end
375end
376−if trylocale("\99\116\121\112\101") then
376+if trylocale("\u{63}\u{74}\u{79}\u{70}\u{65}") then
377−assert(string.gsub("\225\233\237\243\250","\37\97","\120") == "\120\120\120\120\120")
377+assert(string.gsub("\u{e1}\u{e9}\u{ed}\u{f3}\u{fa}","\u{25}\u{61}","\u{78}") == "\u{78}\u{78}\u{78}\u{78}\u{78}")
378−assert(string.gsub("\225\193\233\201","\37\108","\120") == "\120\193\120\201")
378+assert(string.gsub("\u{e1}\u{c1}\u{e9}\u{c9}","\u{25}\u{6c}","\u{78}") == "\u{78}\u{c1}\u{78}\u{c9}")
379−assert(string.gsub("\225\193\233\201","\37\117","\120") == "\225\120\233\120")
379+assert(string.gsub("\u{e1}\u{c1}\u{e9}\u{c9}","\u{25}\u{75}","\u{78}") == "\u{e1}\u{78}\u{e9}\u{78}")
380−assert(string.upper("\225\193\233\123\120\117\120\117\125\231\227\111") == "\193\193\201\123\88\85\88\85\125\199\195\79")
380+assert(string.upper("\u{e1}\u{c1}\u{e9}\u{7b}\u{78}\u{75}\u{78}\u{75}\u{7d}\u{e7}\u{e3}\u{6f}") == "\u{c1}\u{c1}\u{c9}\u{7b}\u{58}\u{55}\u{58}\u{55}\u{7d}\u{c7}\u{c3}\u{4f}")
381end
381end
382−os.setlocale("\67")
382+os.setlocale("\u{43}")
383−assert(os.setlocale() == "\67")
383+assert(os.setlocale() == "\u{43}")
384−assert(os.setlocale(nil,"\110\117\109\101\114\105\99") == "\67")
384+assert(os.setlocale(nil,"\u{6e}\u{75}\u{6d}\u{65}\u{72}\u{69}\u{63}") == "\u{43}")
385end
385end
386do
386do
387−local f = string.gmatch("\49\32\50\32\51\32\52\32\53","\37\100\43")
387+local f = string.gmatch("\u{31}\u{20}\u{32}\u{20}\u{33}\u{20}\u{34}\u{20}\u{35}","\u{25}\u{64}\u{2b}")
388−assert(f() == "\49")
388+assert(f() == "\u{31}")
389local co = coroutine.wrap(f)
389local co = coroutine.wrap(f)
390−assert(co() == "\50")
390+assert(co() == "\u{32}")
391end
391end
392if T == nil then
392if T == nil then
393−(Message or print)("\10\32\62\62\62\32\116\101\115\116\67\32\110\111\116\32\97\99\116\105\118\101\58\32\115\107\105\112\112\105\110\103\32\39\112\117\115\104\102\115\116\114\105\110\103\39\32\116\101\115\116\115\32\60\60\60\10")
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}")
394else
394else
395−print("\116\101\115\116\105\110\103\32\39\112\117\115\104\102\115\116\114\105\110\103\39")
395+print("\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}")
396local blen = 200
396local blen = 200
397local function callpfs
397local function callpfs
398(op,fmt,n)
398(op,fmt,n)
399−local x = {T.testC("\112\117\115\104\102\115\116\114\105\110\103" .. op .. "\59\32\114\101\116\117\114\110\32\42",fmt,n)}
399+local x = {T.testC("\u{70}\u{75}\u{73}\u{68}\u{66}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}" .. op .. "\u{3b}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{2a}",fmt,n)}
400assert(# x == 4)
400assert(# x == 4)
401return x[4]
401return x[4]
402end
402end
@@ -404,38 +404,38 @@ local function testpfs
404(op,fmt,n)
404(op,fmt,n)
405assert(callpfs(op,fmt,n) == string.format(fmt,n))
405assert(callpfs(op,fmt,n) == string.format(fmt,n))
406end
406end
407−testpfs("\73","",0)
407+testpfs("\u{49}","",0)
408−testpfs("\73",string.rep("\97",blen - 1),0)
408+testpfs("\u{49}",string.rep("\u{61}",blen - 1),0)
409−testpfs("\73",string.rep("\97",blen),0)
409+testpfs("\u{49}",string.rep("\u{61}",blen),0)
410−testpfs("\73",string.rep("\97",blen + 1),0)
410+testpfs("\u{49}",string.rep("\u{61}",blen + 1),0)
411−local str = string.rep("\97\98",blen) .. "\37\100" .. string.rep("\100",blen / 2)
411+local str = string.rep("\u{61}\u{62}",blen) .. "\u{25}\u{64}" .. string.rep("\u{64}",blen / 2)
412−testpfs("\73",str,2 ^ 14)
412+testpfs("\u{49}",str,2 ^ 14)
413−testpfs("\73",str,- 2 ^ 15)
413+testpfs("\u{49}",str,- 2 ^ 15)
414−str="\37\100" .. string.rep("\99\100",blen)
414+str="\u{25}\u{64}" .. string.rep("\u{63}\u{64}",blen)
415−testpfs("\73",str,2 ^ 14)
415+testpfs("\u{49}",str,2 ^ 14)
416−testpfs("\73",str,- 2 ^ 15)
416+testpfs("\u{49}",str,- 2 ^ 15)
417−str=string.rep("\99",blen - 2) .. "\37\100"
417+str=string.rep("\u{63}",blen - 2) .. "\u{25}\u{64}"
418−testpfs("\73",str,2 ^ 14)
418+testpfs("\u{49}",str,2 ^ 14)
419−testpfs("\73",str,- 2 ^ 15)
419+testpfs("\u{49}",str,- 2 ^ 15)
420for l = 12, 14
420for l = 12, 14
421do
421do
422−local str1 = string.rep("\97",l)
422+local str1 = string.rep("\u{61}",l)
423for i = 0, 500, 13
423for i = 0, 500, 13
424do
424do
425for j = 0, 500, 13
425for j = 0, 500, 13
426do
426do
427−str=string.rep("\97",i) .. "\37\115" .. string.rep("\100",j)
427+str=string.rep("\u{61}",i) .. "\u{25}\u{73}" .. string.rep("\u{64}",j)
428−testpfs("\83",str,str1)
428+testpfs("\u{53}",str,str1)
429−testpfs("\83",str,str)
429+testpfs("\u{53}",str,str)
430end
430end
431end
431end
432end
432end
433−str="\97\98\99\32\37\99\32\100\101\102"
433+str="\u{61}\u{62}\u{63}\u{20}\u{25}\u{63}\u{20}\u{64}\u{65}\u{66}"
434−testpfs("\73",str,string.byte("\65"))
434+testpfs("\u{49}",str,string.byte("\u{41}"))
435−testpfs("\73",str,255)
435+testpfs("\u{49}",str,255)
436−str=string.rep("\97",blen - 1) .. "\37\112" .. string.rep("\99\100",blen)
436+str=string.rep("\u{61}",blen - 1) .. "\u{25}\u{70}" .. string.rep("\u{63}\u{64}",blen)
437−testpfs("\80",str,{})
437+testpfs("\u{50}",str,{})
438−str=string.rep("\37\37",3 * blen) .. "\37\112" .. string.rep("\37\37",2 * blen)
438+str=string.rep("\u{25}\u{25}",3 * blen) .. "\u{25}\u{70}" .. string.rep("\u{25}\u{25}",2 * blen)
439−testpfs("\80",str,{})
439+testpfs("\u{50}",str,{})
440end
440end
441−print("\79\75")
441+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/tpack.lua+163−163
@@ -1,108 +1,108 @@
1local pack = string.pack
1local pack = string.pack
2local packsize = string.packsize
2local packsize = string.packsize
3local unpack = string.unpack
3local unpack = string.unpack
4−print("\116\101\115\116\105\110\103\32\112\97\99\107\47\117\110\112\97\99\107")
4+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{63}\u{6b}\u{2f}\u{75}\u{6e}\u{70}\u{61}\u{63}\u{6b}")
5local NB = 16
5local NB = 16
6−local sizeshort = packsize("\104")
6+local sizeshort = packsize("\u{68}")
7−local sizeint = packsize("\105")
7+local sizeint = packsize("\u{69}")
8−local sizelong = packsize("\108")
8+local sizelong = packsize("\u{6c}")
9−local sizesize_t = packsize("\84")
9+local sizesize_t = packsize("\u{54}")
10−local sizeLI = packsize("\106")
10+local sizeLI = packsize("\u{6a}")
11−local sizefloat = packsize("\102")
11+local sizefloat = packsize("\u{66}")
12−local sizedouble = packsize("\100")
12+local sizedouble = packsize("\u{64}")
13−local sizenumber = packsize("\110")
13+local sizenumber = packsize("\u{6e}")
14−local little = (pack("\105\50",1) == "\1")
14+local little = (pack("\u{69}\u{32}",1) == "\u{1}\u{0}")
15−local align = packsize("\33\120\88\105\49\54")
15+local align = packsize("\u{21}\u{78}\u{58}\u{69}\u{31}\u{36}")
16assert(1 <= sizeshort and sizeshort <= sizeint and sizeint <= sizelong and sizefloat <= sizedouble)
16assert(1 <= sizeshort and sizeshort <= sizeint and sizeint <= sizelong and sizefloat <= sizedouble)
17−print("\112\108\97\116\102\111\114\109\58")
17+print("\u{70}\u{6c}\u{61}\u{74}\u{66}\u{6f}\u{72}\u{6d}\u{3a}")
18−print(string.format("\9\115\104\111\114\116\32\37\100\44\32\105\110\116\32\37\100\44\32\108\111\110\103\32\37\100\44\32\115\105\122\101\95\116\32\37\100\44\32\102\108\111\97\116\32\37\100\44\32\100\111\117\98\108\101\32\37\100\44\10\9\108\117\97\32\73\110\116\101\103\101\114\32\37\100\44\32\108\117\97\32\78\117\109\98\101\114\32\37\100",sizeshort,sizeint,sizelong,sizesize_t,sizefloat,sizedouble,sizeLI,sizenumber))
18+print(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("\9" .. (little and "\108\105\116\116\108\101" or "\98\105\103") .. "\32\101\110\100\105\97\110")
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}")
20−print("\9\97\108\105\103\110\109\101\110\116\58\32" .. align)
20+print("\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)
21local function checkerror
21local function checkerror
22(msg,f, ...)
22(msg,f, ...)
23local status,err = pcall(f,...)
23local status,err = pcall(f,...)
24assert(not status and string.find(err,msg))
24assert(not status and string.find(err,msg))
25end
25end
26−assert(unpack("\66",pack("\66",255)) == 255)
26+assert(unpack("\u{42}",pack("\u{42}",255)) == 255)
27−assert(unpack("\98",pack("\98",127)) == 127)
27+assert(unpack("\u{62}",pack("\u{62}",127)) == 127)
28−assert(unpack("\98",pack("\98",- 128)) == - 128)
28+assert(unpack("\u{62}",pack("\u{62}",- 128)) == - 128)
29−assert(unpack("\72",pack("\72",65535)) == 65535)
29+assert(unpack("\u{48}",pack("\u{48}",65535)) == 65535)
30−assert(unpack("\104",pack("\104",32767)) == 32767)
30+assert(unpack("\u{68}",pack("\u{68}",32767)) == 32767)
31−assert(unpack("\104",pack("\104",- 32768)) == - 32768)
31+assert(unpack("\u{68}",pack("\u{68}",- 32768)) == - 32768)
32−assert(unpack("\76",pack("\76",4294967295)) == 4294967295)
32+assert(unpack("\u{4c}",pack("\u{4c}",4294967295)) == 4294967295)
33−assert(unpack("\108",pack("\108",2147483647)) == 2147483647)
33+assert(unpack("\u{6c}",pack("\u{6c}",2147483647)) == 2147483647)
34−assert(unpack("\108",pack("\108",- 2147483648)) == - 2147483648)
34+assert(unpack("\u{6c}",pack("\u{6c}",- 2147483648)) == - 2147483648)
35for i = 1, NB
35for i = 1, NB
36do
36do
37−local s = string.rep("\255",i)
37+local s = string.rep("\u{ff}",i)
38−assert(pack("\105" .. i,- 1) == s)
38+assert(pack("\u{69}" .. i,- 1) == s)
39−assert(packsize("\105" .. i) == # s)
39+assert(packsize("\u{69}" .. i) == # s)
40−assert(unpack("\105" .. i,s) == - 1)
40+assert(unpack("\u{69}" .. i,s) == - 1)
41−s="\170" .. string.rep("",i - 1)
41+s="\u{aa}" .. string.rep("\u{0}",i - 1)
42−assert(pack("\60\73" .. i,170) == s)
42+assert(pack("\u{3c}\u{49}" .. i,170) == s)
43−assert(unpack("\60\73" .. i,s) == 170)
43+assert(unpack("\u{3c}\u{49}" .. i,s) == 170)
44−assert(pack("\62\73" .. i,170) == s:reverse())
44+assert(pack("\u{3e}\u{49}" .. i,170) == s:reverse())
45−assert(unpack("\62\73" .. i,s:reverse()) == 170)
45+assert(unpack("\u{3e}\u{49}" .. i,s:reverse()) == 170)
46end
46end
47do
47do
48local lnum = 1510926445411202934483812811265
48local lnum = 1510926445411202934483812811265
49−local s = pack("\60\106",lnum)
49+local s = pack("\u{3c}\u{6a}",lnum)
50−assert(unpack("\60\106",s) == lnum)
50+assert(unpack("\u{3c}\u{6a}",s) == lnum)
51−assert(unpack("\60\105" .. sizeLI + 1,s .. "") == lnum)
51+assert(unpack("\u{3c}\u{69}" .. sizeLI + 1,s .. "\u{0}") == lnum)
52−assert(unpack("\60\105" .. sizeLI + 1,s .. "") == lnum)
52+assert(unpack("\u{3c}\u{69}" .. sizeLI + 1,s .. "\u{0}") == lnum)
53for i = sizeLI + 1, NB
53for i = sizeLI + 1, NB
54do
54do
55−local s = pack("\60\106",- lnum)
55+local s = pack("\u{3c}\u{6a}",- lnum)
56−assert(unpack("\60\106",s) == - lnum)
56+assert(unpack("\u{3c}\u{6a}",s) == - lnum)
57−assert(unpack("\60\105" .. i,s .. ("\255"):rep(i - sizeLI)) == - lnum)
57+assert(unpack("\u{3c}\u{69}" .. i,s .. ("\u{ff}"):rep(i - sizeLI)) == - lnum)
58−assert(unpack("\62\105" .. i,("\255"):rep(i - sizeLI) .. s:reverse()) == - lnum)
58+assert(unpack("\u{3e}\u{69}" .. i,("\u{ff}"):rep(i - sizeLI) .. s:reverse()) == - lnum)
59−assert(unpack("\60\73" .. i,s .. (""):rep(i - sizeLI)) == - lnum)
59+assert(unpack("\u{3c}\u{49}" .. i,s .. ("\u{0}"):rep(i - sizeLI)) == - lnum)
60−checkerror("\100\111\101\115\32\110\111\116\32\102\105\116",unpack,"\60\73" .. i,(""):rep(i - 1) .. "\1")
60+checkerror("\u{64}\u{6f}\u{65}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{69}\u{74}",unpack,"\u{3c}\u{49}" .. i,("\u{0}"):rep(i - 1) .. "\u{1}")
61−checkerror("\100\111\101\115\32\110\111\116\32\102\105\116",unpack,"\62\105" .. i,"\1" .. (""):rep(i - 1))
61+checkerror("\u{64}\u{6f}\u{65}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{69}\u{74}",unpack,"\u{3e}\u{69}" .. i,"\u{1}" .. ("\u{0}"):rep(i - 1))
62end
62end
63end
63end
64for i = 1, sizeLI
64for i = 1, sizeLI
65do
65do
66−local lstr = "\1\2\3\4\5\6\7\8\9\10\11\12\13"
66+local 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}"
67local lnum = 1510926445411202934483812811265
67local lnum = 1510926445411202934483812811265
68local n = lnum & (~ (- 1 << (i * 8)))
68local n = lnum & (~ (- 1 << (i * 8)))
69local s = string.sub(lstr,1,i)
69local s = string.sub(lstr,1,i)
70−assert(pack("\60\105" .. i,n) == s)
70+assert(pack("\u{3c}\u{69}" .. i,n) == s)
71−assert(pack("\62\105" .. i,n) == s:reverse())
71+assert(pack("\u{3e}\u{69}" .. i,n) == s:reverse())
72−assert(unpack("\62\105" .. i,s:reverse()) == n)
72+assert(unpack("\u{3e}\u{69}" .. i,s:reverse()) == n)
73end
73end
74do
74do
75local u = 240
75local u = 240
76for i = 1, sizeLI - 1
76for i = 1, sizeLI - 1
77do
77do
78−assert(unpack("\60\105" .. i,"\240" .. ("\255"):rep(i - 1)) == - 16)
78+assert(unpack("\u{3c}\u{69}" .. i,"\u{f0}" .. ("\u{ff}"):rep(i - 1)) == - 16)
79−assert(unpack("\62\73" .. i,"\240" .. ("\255"):rep(i - 1)) == u)
79+assert(unpack("\u{3e}\u{49}" .. i,"\u{f0}" .. ("\u{ff}"):rep(i - 1)) == u)
80u=u * 256 + 255
80u=u * 256 + 255
81end
81end
82end
82end
83do
83do
84−assert(pack("\62\105\50\32\60\105\50",10,20) == "\10\20")
84+assert(pack("\u{3e}\u{69}\u{32}\u{20}\u{3c}\u{69}\u{32}",10,20) == "\u{0}\u{a}\u{14}\u{0}")
85−local a,b = unpack("\60\105\50\32\62\105\50","\10\20")
85+local a,b = unpack("\u{3c}\u{69}\u{32}\u{20}\u{3e}\u{69}\u{32}","\u{a}\u{0}\u{0}\u{14}")
86assert(a == 10 and b == 20)
86assert(a == 10 and b == 20)
87−assert(pack("\61\105\52",2001) == pack("\105\52",2001))
87+assert(pack("\u{3d}\u{69}\u{34}",2001) == pack("\u{69}\u{34}",2001))
88end
88end
89−print("\116\101\115\116\105\110\103\32\105\110\118\97\108\105\100\32\102\111\114\109\97\116\115")
89+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{73}")
90−checkerror("\111\117\116\32\111\102\32\108\105\109\105\116\115",pack,"\105\48",0)
90+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}",pack,"\u{69}\u{30}",0)
91−checkerror("\111\117\116\32\111\102\32\108\105\109\105\116\115",pack,"\105" .. NB + 1,0)
91+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}",pack,"\u{69}" .. NB + 1,0)
92−checkerror("\111\117\116\32\111\102\32\108\105\109\105\116\115",pack,"\33" .. NB + 1,0)
92+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}",pack,"\u{21}" .. NB + 1,0)
93−checkerror("\37\40\49\55\37\41\32\111\117\116\32\111\102\32\108\105\109\105\116\115\32\37\91\49\44\49\54\37\93",pack,"\88\105" .. NB + 1)
93+checkerror("\u{25}\u{28}\u{31}\u{37}\u{25}\u{29}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}\u{20}\u{25}\u{5b}\u{31}\u{2c}\u{31}\u{36}\u{25}\u{5d}",pack,"\u{58}\u{69}" .. NB + 1)
94−checkerror("\105\110\118\97\108\105\100\32\102\111\114\109\97\116\32\111\112\116\105\111\110\32\39\114\39",pack,"\105\51\114",0)
94+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{27}\u{72}\u{27}",pack,"\u{69}\u{33}\u{72}",0)
95−checkerror("\49\54\37\45\98\121\116\101\32\105\110\116\101\103\101\114",unpack,"\105\49\54",string.rep("\3",16))
95+checkerror("\u{31}\u{36}\u{25}\u{2d}\u{62}\u{79}\u{74}\u{65}\u{20}\u{69}\u{6e}\u{74}\u{65}\u{67}\u{65}\u{72}",unpack,"\u{69}\u{31}\u{36}",string.rep("\u{3}",16))
96−checkerror("\110\111\116\32\112\111\119\101\114\32\111\102\32\50",pack,"\33\52\105\51",0)
96+checkerror("\u{6e}\u{6f}\u{74}\u{20}\u{70}\u{6f}\u{77}\u{65}\u{72}\u{20}\u{6f}\u{66}\u{20}\u{32}",pack,"\u{21}\u{34}\u{69}\u{33}",0)
97;
97;
98−checkerror("\109\105\115\115\105\110\103\32\115\105\122\101",pack,"\99","")
98+checkerror("\u{6d}\u{69}\u{73}\u{73}\u{69}\u{6e}\u{67}\u{20}\u{73}\u{69}\u{7a}\u{65}",pack,"\u{63}","")
99−checkerror("\118\97\114\105\97\98\108\101\37\45\108\101\110\103\116\104\32\102\111\114\109\97\116",packsize,"\115")
99+checkerror("\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{25}\u{2d}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}",packsize,"\u{73}")
100−checkerror("\118\97\114\105\97\98\108\101\37\45\108\101\110\103\116\104\32\102\111\114\109\97\116",packsize,"\122")
100+checkerror("\u{76}\u{61}\u{72}\u{69}\u{61}\u{62}\u{6c}\u{65}\u{25}\u{2d}\u{6c}\u{65}\u{6e}\u{67}\u{74}\u{68}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}",packsize,"\u{7a}")
101−checkerror("\105\110\118\97\108\105\100\32\102\111\114\109\97\116",packsize,"\99\49" .. string.rep("\48",40))
101+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{66}\u{6f}\u{72}\u{6d}\u{61}\u{74}",packsize,"\u{63}\u{31}" .. string.rep("\u{30}",40))
102−if packsize("\105") == 4 then
102+if packsize("\u{69}") == 4 then
103−local s = string.rep("\99\50\54\56\52\51\53\52\53\54",2 ^ 3)
103+local s = string.rep("\u{63}\u{32}\u{36}\u{38}\u{34}\u{33}\u{35}\u{34}\u{35}\u{36}",2 ^ 3)
104−checkerror("\116\111\111\32\108\97\114\103\101",packsize,s)
104+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{6c}\u{61}\u{72}\u{67}\u{65}",packsize,s)
105−s=string.rep("\99\50\54\56\52\51\53\52\53\54",2 ^ 3 - 1) .. "\99\50\54\56\52\51\53\52\53\53"
105+s=string.rep("\u{63}\u{32}\u{36}\u{38}\u{34}\u{33}\u{35}\u{34}\u{35}\u{36}",2 ^ 3 - 1) .. "\u{63}\u{32}\u{36}\u{38}\u{34}\u{33}\u{35}\u{34}\u{35}\u{35}"
106assert(packsize(s) == 2147483647)
106assert(packsize(s) == 2147483647)
107end
107end
108for i = 1, sizeLI - 1
108for i = 1, sizeLI - 1
@@ -110,150 +110,150 @@ do
110local umax = (1 << (i * 8)) - 1
110local umax = (1 << (i * 8)) - 1
111local max = umax >> 1
111local max = umax >> 1
112local min = ~ max
112local min = ~ max
113−checkerror("\111\118\101\114\102\108\111\119",pack,"\60\73" .. i,- 1)
113+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3c}\u{49}" .. i,- 1)
114−checkerror("\111\118\101\114\102\108\111\119",pack,"\60\73" .. i,min)
114+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3c}\u{49}" .. i,min)
115−checkerror("\111\118\101\114\102\108\111\119",pack,"\62\73" .. i,umax + 1)
115+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3e}\u{49}" .. i,umax + 1)
116−checkerror("\111\118\101\114\102\108\111\119",pack,"\62\105" .. i,umax)
116+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3e}\u{69}" .. i,umax)
117−checkerror("\111\118\101\114\102\108\111\119",pack,"\62\105" .. i,max + 1)
117+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3e}\u{69}" .. i,max + 1)
118−checkerror("\111\118\101\114\102\108\111\119",pack,"\60\105" .. i,min - 1)
118+checkerror("\u{6f}\u{76}\u{65}\u{72}\u{66}\u{6c}\u{6f}\u{77}",pack,"\u{3c}\u{69}" .. i,min - 1)
119−assert(unpack("\62\105" .. i,pack("\62\105" .. i,max)) == max)
119+assert(unpack("\u{3e}\u{69}" .. i,pack("\u{3e}\u{69}" .. i,max)) == max)
120−assert(unpack("\60\105" .. i,pack("\60\105" .. i,min)) == min)
120+assert(unpack("\u{3c}\u{69}" .. i,pack("\u{3c}\u{69}" .. i,min)) == min)
121−assert(unpack("\62\73" .. i,pack("\62\73" .. i,umax)) == umax)
121+assert(unpack("\u{3e}\u{49}" .. i,pack("\u{3e}\u{49}" .. i,umax)) == umax)
122end
122end
123−assert(unpack("\62\106",pack("\62\106",math.maxinteger)) == math.maxinteger)
123+assert(unpack("\u{3e}\u{6a}",pack("\u{3e}\u{6a}",math.maxinteger)) == math.maxinteger)
124−assert(unpack("\60\106",pack("\60\106",math.mininteger)) == math.mininteger)
124+assert(unpack("\u{3c}\u{6a}",pack("\u{3c}\u{6a}",math.mininteger)) == math.mininteger)
125−assert(unpack("\60\74",pack("\60\106",- 1)) == - 1)
125+assert(unpack("\u{3c}\u{4a}",pack("\u{3c}\u{6a}",- 1)) == - 1)
126if little then
126if little then
127−assert(pack("\102",24) == pack("\60\102",24))
127+assert(pack("\u{66}",24) == pack("\u{3c}\u{66}",24))
128else
128else
129−assert(pack("\102",24) == pack("\62\102",24))
129+assert(pack("\u{66}",24) == pack("\u{3e}\u{66}",24))
130end
130end
131−print("\116\101\115\116\105\110\103\32\112\97\99\107\47\117\110\112\97\99\107\32\111\102\32\102\108\111\97\116\105\110\103\45\112\111\105\110\116\32\110\117\109\98\101\114\115")
131+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{63}\u{6b}\u{2f}\u{75}\u{6e}\u{70}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{66}\u{20}\u{66}\u{6c}\u{6f}\u{61}\u{74}\u{69}\u{6e}\u{67}\u{2d}\u{70}\u{6f}\u{69}\u{6e}\u{74}\u{20}\u{6e}\u{75}\u{6d}\u{62}\u{65}\u{72}\u{73}")
132for _,n in ipairs({0,- 1.1,1.9,1 / 0,- 1 / 0,1e20,- 1e20,0.1,2000.7})
132for _,n in ipairs({0,- 1.1,1.9,1 / 0,- 1 / 0,1e20,- 1e20,0.1,2000.7})
133do
133do
134−assert(unpack("\110",pack("\110",n)) == n)
134+assert(unpack("\u{6e}",pack("\u{6e}",n)) == n)
135−assert(unpack("\60\110",pack("\60\110",n)) == n)
135+assert(unpack("\u{3c}\u{6e}",pack("\u{3c}\u{6e}",n)) == n)
136−assert(unpack("\62\110",pack("\62\110",n)) == n)
136+assert(unpack("\u{3e}\u{6e}",pack("\u{3e}\u{6e}",n)) == n)
137−assert(pack("\60\102",n) == pack("\62\102",n):reverse())
137+assert(pack("\u{3c}\u{66}",n) == pack("\u{3e}\u{66}",n):reverse())
138−assert(pack("\62\100",n) == pack("\60\100",n):reverse())
138+assert(pack("\u{3e}\u{64}",n) == pack("\u{3c}\u{64}",n):reverse())
139end
139end
140for _,n in ipairs({0,- 1.5,1 / 0,- 1 / 0,1e10,- 1e9,0.5,2000.25})
140for _,n in ipairs({0,- 1.5,1 / 0,- 1 / 0,1e10,- 1e9,0.5,2000.25})
141do
141do
142−assert(unpack("\60\102",pack("\60\102",n)) == n)
142+assert(unpack("\u{3c}\u{66}",pack("\u{3c}\u{66}",n)) == n)
143−assert(unpack("\62\102",pack("\62\102",n)) == n)
143+assert(unpack("\u{3e}\u{66}",pack("\u{3e}\u{66}",n)) == n)
144−assert(unpack("\60\100",pack("\60\100",n)) == n)
144+assert(unpack("\u{3c}\u{64}",pack("\u{3c}\u{64}",n)) == n)
145−assert(unpack("\62\100",pack("\62\100",n)) == n)
145+assert(unpack("\u{3e}\u{64}",pack("\u{3e}\u{64}",n)) == n)
146end
146end
147−print("\116\101\115\116\105\110\103\32\112\97\99\107\47\117\110\112\97\99\107\32\111\102\32\115\116\114\105\110\103\115")
147+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{70}\u{61}\u{63}\u{6b}\u{2f}\u{75}\u{6e}\u{70}\u{61}\u{63}\u{6b}\u{20}\u{6f}\u{66}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}\u{73}")
148do
148do
149−local s = string.rep("\97\98\99",1000)
149+local s = string.rep("\u{61}\u{62}\u{63}",1000)
150−assert(pack("\122\66",s,247) == s .. "\247")
150+assert(pack("\u{7a}\u{42}",s,247) == s .. "\u{0}\u{f7}")
151−local s1,b = unpack("\122\66",s .. "\249")
151+local s1,b = unpack("\u{7a}\u{42}",s .. "\u{0}\u{f9}")
152assert(b == 249 and s1 == s)
152assert(b == 249 and s1 == s)
153−s1=pack("\115",s)
153+s1=pack("\u{73}",s)
154−assert(unpack("\115",s1) == s)
154+assert(unpack("\u{73}",s1) == s)
155−checkerror("\100\111\101\115\32\110\111\116\32\102\105\116",pack,"\115\49",s)
155+checkerror("\u{64}\u{6f}\u{65}\u{73}\u{20}\u{6e}\u{6f}\u{74}\u{20}\u{66}\u{69}\u{74}",pack,"\u{73}\u{31}",s)
156−checkerror("\99\111\110\116\97\105\110\115\32\122\101\114\111\115",pack,"\122","\97\108\111")
156+checkerror("\u{63}\u{6f}\u{6e}\u{74}\u{61}\u{69}\u{6e}\u{73}\u{20}\u{7a}\u{65}\u{72}\u{6f}\u{73}",pack,"\u{7a}","\u{61}\u{6c}\u{6f}\u{0}")
157;
157;
158−checkerror("\117\110\102\105\110\105\115\104\101\100\32\115\116\114\105\110\103",unpack,"\122\99\49\48\48\48\48\48\48\48","\97\108\111")
158+checkerror("\u{75}\u{6e}\u{66}\u{69}\u{6e}\u{69}\u{73}\u{68}\u{65}\u{64}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",unpack,"\u{7a}\u{63}\u{31}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}\u{30}","\u{61}\u{6c}\u{6f}")
159for i = 2, NB
159for i = 2, NB
160do
160do
161−local s1 = pack("\115" .. i,s)
161+local s1 = pack("\u{73}" .. i,s)
162−assert(unpack("\115" .. i,s1) == s and # s1 == # s + i)
162+assert(unpack("\u{73}" .. i,s1) == s and # s1 == # s + i)
163end
163end
164end
164end
165do
165do
166−local x = pack("\115","\97\108\111")
166+local x = pack("\u{73}","\u{61}\u{6c}\u{6f}")
167−checkerror("\116\111\111\32\115\104\111\114\116",unpack,"\115",x:sub(1,- 2))
167+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{73}\u{68}\u{6f}\u{72}\u{74}",unpack,"\u{73}",x:sub(1,- 2))
168−checkerror("\116\111\111\32\115\104\111\114\116",unpack,"\99\53","\97\98\99\100")
168+checkerror("\u{74}\u{6f}\u{6f}\u{20}\u{73}\u{68}\u{6f}\u{72}\u{74}",unpack,"\u{63}\u{35}","\u{61}\u{62}\u{63}\u{64}")
169−checkerror("\111\117\116\32\111\102\32\108\105\109\105\116\115",pack,"\115\49\48\48","\97\108\111")
169+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{6c}\u{69}\u{6d}\u{69}\u{74}\u{73}",pack,"\u{73}\u{31}\u{30}\u{30}","\u{61}\u{6c}\u{6f}")
170end
170end
171do
171do
172−assert(pack("\99\48","") == "")
172+assert(pack("\u{63}\u{30}","") == "")
173−assert(packsize("\99\48") == 0)
173+assert(packsize("\u{63}\u{30}") == 0)
174−assert(unpack("\99\48","") == "")
174+assert(unpack("\u{63}\u{30}","") == "")
175−assert(pack("\60\33\32\99\51","\97\98\99") == "\97\98\99")
175+assert(pack("\u{3c}\u{21}\u{20}\u{63}\u{33}","\u{61}\u{62}\u{63}") == "\u{61}\u{62}\u{63}")
176−assert(packsize("\60\33\32\99\51") == 3)
176+assert(packsize("\u{3c}\u{21}\u{20}\u{63}\u{33}") == 3)
177−assert(pack("\62\33\52\32\99\54","\97\98\99\100\101\102") == "\97\98\99\100\101\102")
177+assert(pack("\u{3e}\u{21}\u{34}\u{20}\u{63}\u{36}","\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}") == "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}")
178−assert(pack("\99\51","\49\50\51") == "\49\50\51")
178+assert(pack("\u{63}\u{33}","\u{31}\u{32}\u{33}") == "\u{31}\u{32}\u{33}")
179−assert(pack("\99\48","") == "")
179+assert(pack("\u{63}\u{30}","") == "")
180−assert(pack("\99\56","\49\50\51\52\53\54") == "\49\50\51\52\53\54")
180+assert(pack("\u{63}\u{38}","\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}") == "\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{0}\u{0}")
181−assert(pack("\99\56\56","") == string.rep("",88))
181+assert(pack("\u{63}\u{38}\u{38}","") == string.rep("\u{0}",88))
182−assert(pack("\99\49\56\56","\97\98") == "\97\98" .. string.rep("",188 - 2))
182+assert(pack("\u{63}\u{31}\u{38}\u{38}","\u{61}\u{62}") == "\u{61}\u{62}" .. string.rep("\u{0}",188 - 2))
183−local a,b,c = unpack("\33\52\32\122\32\99\51","\97\98\99\100\101\102\103\104\105\120\121\122")
183+local a,b,c = unpack("\u{21}\u{34}\u{20}\u{7a}\u{20}\u{63}\u{33}","\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}\u{0}\u{78}\u{79}\u{7a}")
184−assert(a == "\97\98\99\100\101\102\103\104\105" and b == "\120\121\122" and c == 14)
184+assert(a == "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}" and b == "\u{78}\u{79}\u{7a}" and c == 14)
185−checkerror("\108\111\110\103\101\114\32\116\104\97\110",pack,"\99\51","\49\50\51\52")
185+checkerror("\u{6c}\u{6f}\u{6e}\u{67}\u{65}\u{72}\u{20}\u{74}\u{68}\u{61}\u{6e}",pack,"\u{63}\u{33}","\u{31}\u{32}\u{33}\u{34}")
186end
186end
187do
187do
188−local x = pack("\60\98\32\104\32\98\32\102\32\100\32\102\32\110\32\105",1,2,3,4,5,6,7,8)
188+local x = pack("\u{3c}\u{62}\u{20}\u{68}\u{20}\u{62}\u{20}\u{66}\u{20}\u{64}\u{20}\u{66}\u{20}\u{6e}\u{20}\u{69}",1,2,3,4,5,6,7,8)
189−assert(# x == packsize("\60\98\32\104\32\98\32\102\32\100\32\102\32\110\32\105"))
189+assert(# x == packsize("\u{3c}\u{62}\u{20}\u{68}\u{20}\u{62}\u{20}\u{66}\u{20}\u{64}\u{20}\u{66}\u{20}\u{6e}\u{20}\u{69}"))
190−local a,b,c,d,e,f,g,h = unpack("\60\98\32\104\32\98\32\102\32\100\32\102\32\110\32\105",x)
190+local a,b,c,d,e,f,g,h = unpack("\u{3c}\u{62}\u{20}\u{68}\u{20}\u{62}\u{20}\u{66}\u{20}\u{64}\u{20}\u{66}\u{20}\u{6e}\u{20}\u{69}",x)
191assert(a == 1 and b == 2 and c == 3 and d == 4 and e == 5 and f == 6 and g == 7 and h == 8)
191assert(a == 1 and b == 2 and c == 3 and d == 4 and e == 5 and f == 6 and g == 7 and h == 8)
192end
192end
193−print("\116\101\115\116\105\110\103\32\97\108\105\103\110\109\101\110\116")
193+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{61}\u{6c}\u{69}\u{67}\u{6e}\u{6d}\u{65}\u{6e}\u{74}")
194do
194do
195−assert(pack("\32\60\32\105\49\32\105\50\32",2,3) == "\2\3")
195+assert(pack("\u{20}\u{3c}\u{20}\u{69}\u{31}\u{20}\u{69}\u{32}\u{20}",2,3) == "\u{2}\u{3}\u{0}")
196−local x = pack("\62\33\56\32\98\32\88\104\32\105\52\32\105\56\32\99\49\32\88\105\56",- 12,100,200,"\236")
196+local x = pack("\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}",- 12,100,200,"\u{ec}")
197−assert(# x == packsize("\62\33\56\32\98\32\88\104\32\105\52\32\105\56\32\99\49\32\88\105\56"))
197+assert(# 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}"))
198−assert(x == "\244" .. "" .. "\100" .. "\200" .. "\236" .. "")
198+assert(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}")
199−local a,b,c,d,pos = unpack("\62\33\56\32\99\49\32\88\104\32\105\52\32\105\56\32\98\32\88\105\56\32\88\73\32\88\72",x)
199+local 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 == "\244" and b == 100 and c == 200 and d == - 20 and (pos - 1) == # x)
200+assert(a == "\u{f4}" and b == 100 and c == 200 and d == - 20 and (pos - 1) == # x)
201−x=pack("\62\33\52\32\99\51\32\99\52\32\99\50\32\122\32\105\52\32\99\53\32\99\50\32\88\105\52","\97\98\99","\97\98\99\100","\120\122","\104\101\108\108\111",5,"\119\111\114\108\100","\120\121")
201+x=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}",5,"\u{77}\u{6f}\u{72}\u{6c}\u{64}","\u{78}\u{79}")
202−assert(x == "\97\98\99\97\98\99\100\120\122\104\101\108\108\111\5\119\111\114\108\100\120\121")
202+assert(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}")
203−local a,b,c,d,e,f,g,pos = unpack("\62\33\52\32\99\51\32\99\52\32\99\50\32\122\32\105\52\32\99\53\32\99\50\32\88\104\32\88\105\52",x)
203+local 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 == "\97\98\99" and b == "\97\98\99\100" and c == "\120\122" and d == "\104\101\108\108\111" and e == 5 and f == "\119\111\114\108\100" and g == "\120\121" and (pos - 1) % 4 == 0)
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 == 5 and f == "\u{77}\u{6f}\u{72}\u{6c}\u{64}" and g == "\u{78}\u{79}" and (pos - 1) % 4 == 0)
205−x=pack("\32\98\32\98\32\88\100\32\98\32\88\98\32\120",1,2,3)
205+x=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}",1,2,3)
206−assert(packsize("\32\98\32\98\32\88\100\32\98\32\88\98\32\120") == 4)
206+assert(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}") == 4)
207−assert(x == "\1\2\3")
207+assert(x == "\u{1}\u{2}\u{3}\u{0}")
208−a,b,c,pos=unpack("\98\98\88\100\98",x)
208+a,b,c,pos=unpack("\u{62}\u{62}\u{58}\u{64}\u{62}",x)
209assert(a == 1 and b == 2 and c == 3 and pos == # x)
209assert(a == 1 and b == 2 and c == 3 and pos == # x)
210−assert(packsize("\33\56\32\120\88\105\56") == 8)
210+assert(packsize("\u{21}\u{38}\u{20}\u{78}\u{58}\u{69}\u{38}") == 8)
211−local pos = unpack("\33\56\32\120\88\105\56","\48\49\50\51\52\53\54\55\48\49\50\51\52\53\54\55")
211+local pos = unpack("\u{21}\u{38}\u{20}\u{78}\u{58}\u{69}\u{38}","\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}")
212;
212;
213assert(pos == 9)
213assert(pos == 9)
214−assert(packsize("\33\56\32\120\88\105\50") == 2)
214+assert(packsize("\u{21}\u{38}\u{20}\u{78}\u{58}\u{69}\u{32}") == 2)
215−local pos = unpack("\33\56\32\120\88\105\50","\48\49\50\51\52\53\54\55\48\49\50\51\52\53\54\55")
215+local pos = unpack("\u{21}\u{38}\u{20}\u{78}\u{58}\u{69}\u{32}","\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}")
216;
216;
217assert(pos == 3)
217assert(pos == 3)
218−assert(packsize("\33\50\32\120\88\105\50") == 2)
218+assert(packsize("\u{21}\u{32}\u{20}\u{78}\u{58}\u{69}\u{32}") == 2)
219−local pos = unpack("\33\50\32\120\88\105\50","\48\49\50\51\52\53\54\55\48\49\50\51\52\53\54\55")
219+local pos = unpack("\u{21}\u{32}\u{20}\u{78}\u{58}\u{69}\u{32}","\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}")
220;
220;
221assert(pos == 3)
221assert(pos == 3)
222−assert(packsize("\33\50\32\120\88\105\56") == 2)
222+assert(packsize("\u{21}\u{32}\u{20}\u{78}\u{58}\u{69}\u{38}") == 2)
223−local pos = unpack("\33\50\32\120\88\105\56","\48\49\50\51\52\53\54\55\48\49\50\51\52\53\54\55")
223+local pos = unpack("\u{21}\u{32}\u{20}\u{78}\u{58}\u{69}\u{38}","\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}")
224;
224;
225assert(pos == 3)
225assert(pos == 3)
226−assert(packsize("\33\49\54\32\120\88\105\49\54") == 16)
226+assert(packsize("\u{21}\u{31}\u{36}\u{20}\u{78}\u{58}\u{69}\u{31}\u{36}") == 16)
227−local pos = unpack("\33\49\54\32\120\88\105\49\54","\48\49\50\51\52\53\54\55\48\49\50\51\52\53\54\55")
227+local pos = unpack("\u{21}\u{31}\u{36}\u{20}\u{78}\u{58}\u{69}\u{31}\u{36}","\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}\u{30}\u{31}\u{32}\u{33}\u{34}\u{35}\u{36}\u{37}")
228;
228;
229assert(pos == 17)
229assert(pos == 17)
230−checkerror("\105\110\118\97\108\105\100\32\110\101\120\116\32\111\112\116\105\111\110",pack,"\88")
230+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}",pack,"\u{58}")
231−checkerror("\105\110\118\97\108\105\100\32\110\101\120\116\32\111\112\116\105\111\110",unpack,"\88\88\105","")
231+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}",unpack,"\u{58}\u{58}\u{69}","")
232−checkerror("\105\110\118\97\108\105\100\32\110\101\120\116\32\111\112\116\105\111\110",unpack,"\88\32\105","")
232+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}",unpack,"\u{58}\u{20}\u{69}","")
233−checkerror("\105\110\118\97\108\105\100\32\110\101\120\116\32\111\112\116\105\111\110",pack,"\88\99\49")
233+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{6e}\u{65}\u{78}\u{74}\u{20}\u{6f}\u{70}\u{74}\u{69}\u{6f}\u{6e}",pack,"\u{58}\u{63}\u{31}")
234end
234end
235do
235do
236−local x = pack("\105\52\105\52\105\52\105\52",1,2,3,4)
236+local x = pack("\u{69}\u{34}\u{69}\u{34}\u{69}\u{34}\u{69}\u{34}",1,2,3,4)
237for pos = 1, 16, 4
237for pos = 1, 16, 4
238do
238do
239−local i,p = unpack("\105\52",x,pos)
239+local i,p = unpack("\u{69}\u{34}",x,pos)
240assert(i == pos // 4 + 1 and p == pos + 4)
240assert(i == pos // 4 + 1 and p == pos + 4)
241end
241end
242for pos = 0, 12
242for pos = 0, 12
243do
243do
244−local i,p = unpack("\33\52\32\105\52",x,pos + 1)
244+local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,pos + 1)
245assert(i == (pos + 3) // 4 + 1 and p == i * 4 + 1)
245assert(i == (pos + 3) // 4 + 1 and p == i * 4 + 1)
246end
246end
247−local i,p = unpack("\33\52\32\105\52",x,- 4)
247+local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,- 4)
248assert(i == 4 and p == 17)
248assert(i == 4 and p == 17)
249−local i,p = unpack("\33\52\32\105\52",x,- 7)
249+local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,- 7)
250assert(i == 4 and p == 17)
250assert(i == 4 and p == 17)
251−local i,p = unpack("\33\52\32\105\52",x,- # x)
251+local i,p = unpack("\u{21}\u{34}\u{20}\u{69}\u{34}",x,- # x)
252assert(i == 1 and p == 5)
252assert(i == 1 and p == 5)
253for i = 1, # x + 1
253for i = 1, # x + 1
254do
254do
255−assert(unpack("\99\48",x,i) == "")
255+assert(unpack("\u{63}\u{30}",x,i) == "")
256end
256end
257−checkerror("\111\117\116\32\111\102\32\115\116\114\105\110\103",unpack,"\99\48",x,# x + 2)
257+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{73}\u{74}\u{72}\u{69}\u{6e}\u{67}",unpack,"\u{63}\u{30}",x,# x + 2)
258end
258end
259−print("\79\75")
259+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/tracegc.lua+1−1
@@ -4,7 +4,7 @@ _ENV=nil
4local active = false
4local active = false
5local mt = {}
5local mt = {}
6function mt.__gc(o)
6function mt.__gc(o)
7−stderr:write("\46")
7+stderr:write("\u{2e}")
8if active then
8if active then
9setmetatable(o,mt)
9setmetatable(o,mt)
10end
10end
zod/luau/res/lua/cycled/utf8.lua+70−70
@@ -1,5 +1,5 @@
1−print("\116\101\115\116\105\110\103\32\85\84\70\45\56\32\108\105\98\114\97\114\121")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{55}\u{54}\u{46}\u{2d}\u{38}\u{20}\u{6c}\u{69}\u{62}\u{72}\u{61}\u{72}\u{79}")
2−local utf8 = require("\117\116\102\56")
2+local utf8 = require("\u{75}\u{74}\u{66}\u{38}")
3local function checkerror
3local function checkerror
4(msg,f, ...)
4(msg,f, ...)
5local s,err = pcall(f,...)
5local s,err = pcall(f,...)
@@ -7,22 +7,22 @@ assert(not s and string.find(err,msg))
7end
7end
8local function len
8local function len
9(s)
9(s)
10−return # string.gsub(s,"\91\128\45\191\93","")
10+return # string.gsub(s,"\u{5b}\u{80}\u{2d}\u{bf}\u{5d}","")
11end
11end
12−local justone = "\94" .. utf8.charpattern .. "\36"
12+local justone = "\u{5e}" .. utf8.charpattern .. "\u{24}"
13local function checksyntax
13local function checksyntax
14(s,t)
14(s,t)
15−local ts = {"\114\101\116\117\114\110\32\39"}
15+local ts = {"\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{27}"}
16for i = 1, # t
16for i = 1, # t
17do
17do
18−ts[i + 1]=string.format("\92\117\123\37\120\125",t[i])
18+ts[i + 1]=string.format("\u{5c}\u{75}\u{7b}\u{25}\u{78}\u{7d}",t[i])
19end
19end
20−ts[# t + 2]="\39"
20+ts[# t + 2]="\u{27}"
21ts=table.concat(ts)
21ts=table.concat(ts)
22assert(assert(load(ts))() == s)
22assert(assert(load(ts))() == s)
23end
23end
24−assert(not utf8.offset("\97\108\111",5))
24+assert(not utf8.offset("\u{61}\u{6c}\u{6f}",5))
25−assert(not utf8.offset("\97\108\111",- 4))
25+assert(not utf8.offset("\u{61}\u{6c}\u{6f}",- 4))
26local function check
26local function check
27(s,t,nonstrict)
27(s,t,nonstrict)
28local l = utf8.len(s,1,- 1,nonstrict)
28local l = utf8.len(s,1,- 1,nonstrict)
@@ -84,112 +84,112 @@ local function check
84local a,b = utf8.len(s)
84local a,b = utf8.len(s)
85assert(not a and b == p)
85assert(not a and b == p)
86end
86end
87−check("\97\98\99\227\100\101\102",4)
87+check("\u{61}\u{62}\u{63}\u{e3}\u{64}\u{65}\u{66}",4)
88−check("\244\159\191",1)
88+check("\u{f4}\u{9f}\u{bf}",1)
89−check("\244\159\191\191",1)
89+check("\u{f4}\u{9f}\u{bf}\u{bf}",1)
90−check("\230\177\137\229\173\151\128",# ("\230\177\137\229\173\151") + 1)
90+check("\u{e6}\u{b1}\u{89}\u{e5}\u{ad}\u{97}\u{80}",# ("\u{e6}\u{b1}\u{89}\u{e5}\u{ad}\u{97}") + 1)
91−check("\128\104\101\108\108\111",1)
91+check("\u{80}\u{68}\u{65}\u{6c}\u{6c}\u{6f}",1)
92−check("\104\101\108\128\108\111",4)
92+check("\u{68}\u{65}\u{6c}\u{80}\u{6c}\u{6f}",4)
93−check("\230\177\137\229\173\151\191",# ("\230\177\137\229\173\151") + 1)
93+check("\u{e6}\u{b1}\u{89}\u{e5}\u{ad}\u{97}\u{bf}",# ("\u{e6}\u{b1}\u{89}\u{e5}\u{ad}\u{97}") + 1)
94−check("\191\104\101\108\108\111",1)
94+check("\u{bf}\u{68}\u{65}\u{6c}\u{6c}\u{6f}",1)
95−check("\104\101\108\191\108\111",4)
95+check("\u{68}\u{65}\u{6c}\u{bf}\u{6c}\u{6f}",4)
96end
96end
97do
97do
98local function errorcodes
98local function errorcodes
99(s)
99(s)
100−checkerror("\105\110\118\97\108\105\100\32\85\84\70\37\45\56\32\99\111\100\101",function ()
100+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{55}\u{54}\u{46}\u{25}\u{2d}\u{38}\u{20}\u{63}\u{6f}\u{64}\u{65}",function ()
101for c in utf8.codes(s)
101for c in utf8.codes(s)
102do
102do
103assert(c)
103assert(c)
104end
104end
105end)
105end)
106end
106end
107−errorcodes("\97\98\255")
107+errorcodes("\u{61}\u{62}\u{ff}")
108−errorcodes("\0\0\17")
108+errorcodes("\u{110000}")
109−errorcodes("\105\110\128\118\97\108\105\100")
109+errorcodes("\u{69}\u{6e}\u{80}\u{76}\u{61}\u{6c}\u{69}\u{64}")
110−errorcodes("\191\105\110\118\97\108\105\100")
110+errorcodes("\u{bf}\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}")
111−errorcodes("\206\177\206\187\207\134\191\206\177")
111+errorcodes("\u{ce}\u{b1}\u{ce}\u{bb}\u{cf}\u{86}\u{bf}\u{ce}\u{b1}")
112local f = utf8.codes("")
112local f = utf8.codes("")
113assert(f("",2) == nil)
113assert(f("",2) == nil)
114assert(f("",- 1) == nil)
114assert(f("",- 1) == nil)
115assert(f("",math.mininteger) == nil)
115assert(f("",math.mininteger) == nil)
116end
116end
117−checkerror("\112\111\115\105\116\105\111\110\32\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.offset,"\97\98\99",1,5)
117+checkerror("\u{70}\u{6f}\u{73}\u{69}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.offset,"\u{61}\u{62}\u{63}",1,5)
118−checkerror("\112\111\115\105\116\105\111\110\32\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.offset,"\97\98\99",1,- 4)
118+checkerror("\u{70}\u{6f}\u{73}\u{69}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.offset,"\u{61}\u{62}\u{63}",1,- 4)
119−checkerror("\112\111\115\105\116\105\111\110\32\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.offset,"",1,2)
119+checkerror("\u{70}\u{6f}\u{73}\u{69}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.offset,"",1,2)
120−checkerror("\112\111\115\105\116\105\111\110\32\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.offset,"",1,- 1)
120+checkerror("\u{70}\u{6f}\u{73}\u{69}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.offset,"",1,- 1)
121−checkerror("\99\111\110\116\105\110\117\97\116\105\111\110\32\98\121\116\101",utf8.offset,"\240\166\167\186",1,2)
121+checkerror("\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{62}\u{79}\u{74}\u{65}",utf8.offset,"\u{f0}\u{a6}\u{a7}\u{ba}",1,2)
122−checkerror("\99\111\110\116\105\110\117\97\116\105\111\110\32\98\121\116\101",utf8.offset,"\240\166\167\186",1,2)
122+checkerror("\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{62}\u{79}\u{74}\u{65}",utf8.offset,"\u{f0}\u{a6}\u{a7}\u{ba}",1,2)
123−checkerror("\99\111\110\116\105\110\117\97\116\105\111\110\32\98\121\116\101",utf8.offset,"\128",1)
123+checkerror("\u{63}\u{6f}\u{6e}\u{74}\u{69}\u{6e}\u{75}\u{61}\u{74}\u{69}\u{6f}\u{6e}\u{20}\u{62}\u{79}\u{74}\u{65}",utf8.offset,"\u{80}",1)
124−checkerror("\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.len,"\97\98\99",0,2)
124+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.len,"\u{61}\u{62}\u{63}",0,2)
125−checkerror("\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.len,"\97\98\99",1,4)
125+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.len,"\u{61}\u{62}\u{63}",1,4)
126−local s = "\104\101\108\108\111\32\87\111\114\108\100"
126+local s = "\u{68}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{57}\u{6f}\u{72}\u{6c}\u{64}"
127local t = {string.byte(s,1,- 1)}
127local t = {string.byte(s,1,- 1)}
128for i = 1, utf8.len(s)
128for i = 1, utf8.len(s)
129do
129do
130assert(t[i] == string.byte(s,i))
130assert(t[i] == string.byte(s,i))
131end
131end
132check(s,t)
132check(s,t)
133−check("\230\177\137\229\173\151\47\230\188\162\229\173\151",{27721,23383,47,28450,23383})
133+check("\u{e6}\u{b1}\u{89}\u{e5}\u{ad}\u{97}\u{2f}\u{e6}\u{bc}\u{a2}\u{e5}\u{ad}\u{97}",{27721,23383,47,28450,23383})
134do
134do
135−local s = "\195\161\195\169\195\173\128"
135+local s = "\u{c3}\u{a1}\u{c3}\u{a9}\u{c3}\u{ad}\u{80}"
136local t = {utf8.codepoint(s,1,# s - 1)}
136local t = {utf8.codepoint(s,1,# s - 1)}
137assert(# t == 3 and t[1] == 225 and t[2] == 233 and t[3] == 237)
137assert(# t == 3 and t[1] == 225 and t[2] == 233 and t[3] == 237)
138−checkerror("\105\110\118\97\108\105\100\32\85\84\70\37\45\56\32\99\111\100\101",utf8.codepoint,s,1,# s)
138+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{55}\u{54}\u{46}\u{25}\u{2d}\u{38}\u{20}\u{63}\u{6f}\u{64}\u{65}",utf8.codepoint,s,1,# s)
139−checkerror("\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.codepoint,s,# s + 1)
139+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.codepoint,s,# s + 1)
140t={utf8.codepoint(s,4,3)}
140t={utf8.codepoint(s,4,3)}
141assert(# t == 0)
141assert(# t == 0)
142−checkerror("\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.codepoint,s,- (# s + 1),1)
142+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.codepoint,s,- (# s + 1),1)
143−checkerror("\111\117\116\32\111\102\32\98\111\117\110\100\115",utf8.codepoint,s,1,# s + 1)
143+checkerror("\u{6f}\u{75}\u{74}\u{20}\u{6f}\u{66}\u{20}\u{62}\u{6f}\u{75}\u{6e}\u{64}\u{73}",utf8.codepoint,s,1,# s + 1)
144−assert(utf8.codepoint("\255\215") == 55296 - 1)
144+assert(utf8.codepoint("\u{d7ff}") == 55296 - 1)
145−assert(utf8.codepoint("\0\224") == 57343 + 1)
145+assert(utf8.codepoint("\u{e000}") == 57343 + 1)
146−assert(utf8.codepoint("\0\216",1,1,true) == 55296)
146+assert(utf8.codepoint("\u{d800}",1,1,true) == 55296)
147−assert(utf8.codepoint("\255\223",1,1,true) == 57343)
147+assert(utf8.codepoint("\u{dfff}",1,1,true) == 57343)
148−assert(utf8.codepoint("\255\255\255\127",1,1,true) == 2147483647)
148+assert(utf8.codepoint("\u{7fffffff}",1,1,true) == 2147483647)
149end
149end
150assert(utf8.char() == "")
150assert(utf8.char() == "")
151−assert(utf8.char(0,97,98,99,1) == "\97\98\99\1")
151+assert(utf8.char(0,97,98,99,1) == "\u{0}\u{61}\u{62}\u{63}\u{1}")
152assert(utf8.codepoint(utf8.char(1114111)) == 1114111)
152assert(utf8.codepoint(utf8.char(1114111)) == 1114111)
153assert(utf8.codepoint(utf8.char(2147483647),1,1,true) == (1 << 31) - 1)
153assert(utf8.codepoint(utf8.char(2147483647),1,1,true) == (1 << 31) - 1)
154−checkerror("\118\97\108\117\101\32\111\117\116\32\111\102\32\114\97\110\103\101",utf8.char,2147483647 + 1)
154+checkerror("\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,2147483647 + 1)
155−checkerror("\118\97\108\117\101\32\111\117\116\32\111\102\32\114\97\110\103\101",utf8.char,- 1)
155+checkerror("\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,- 1)
156local function invalid
156local function invalid
157(s)
157(s)
158−checkerror("\105\110\118\97\108\105\100\32\85\84\70\37\45\56\32\99\111\100\101",utf8.codepoint,s)
158+checkerror("\u{69}\u{6e}\u{76}\u{61}\u{6c}\u{69}\u{64}\u{20}\u{55}\u{54}\u{46}\u{25}\u{2d}\u{38}\u{20}\u{63}\u{6f}\u{64}\u{65}",utf8.codepoint,s)
159assert(not utf8.len(s))
159assert(not utf8.len(s))
160end
160end
161−invalid("\244\159\191\191")
161+invalid("\u{f4}\u{9f}\u{bf}\u{bf}")
162−invalid("\0\216")
162+invalid("\u{d800}")
163−invalid("\255\223")
163+invalid("\u{dfff}")
164−invalid("\192\128")
164+invalid("\u{c0}\u{80}")
165−invalid("\193\191")
165+invalid("\u{c1}\u{bf}")
166−invalid("\224\159\191")
166+invalid("\u{e0}\u{9f}\u{bf}")
167−invalid("\240\143\191\191")
167+invalid("\u{f0}\u{8f}\u{bf}\u{bf}")
168−invalid("\128")
168+invalid("\u{80}")
169−invalid("\191")
169+invalid("\u{bf}")
170−invalid("\254")
170+invalid("\u{fe}")
171−invalid("\255")
171+invalid("\u{ff}")
172check("",{})
172check("",{})
173−s="\32\127\194\128\32\223\191\224\160\128\32\239\191\191\240\144\128\128\32\32\244\143\191\191"
173+s="\u{0}\u{20}\u{7f}\u{c2}\u{80}\u{20}\u{df}\u{bf}\u{e0}\u{a0}\u{80}\u{20}\u{ef}\u{bf}\u{bf}\u{f0}\u{90}\u{80}\u{80}\u{20}\u{20}\u{f4}\u{8f}\u{bf}\u{bf}"
174−s=string.gsub(s,"\32","")
174+s=string.gsub(s,"\u{20}","")
175check(s,{0,127,128,2047,2048,65535,65536,1114111})
175check(s,{0,127,128,2047,2048,65535,65536,1114111})
176do
176do
177−local s = "\0\0\0\4\255\255\255\127"
177+local s = "\u{4000000}\u{7fffffff}"
178assert(# s == 12)
178assert(# s == 12)
179check(s,{67108864,2147483647},true)
179check(s,{67108864,2147483647},true)
180−s="\0\0\32\255\255\255\3"
180+s="\u{200000}\u{3ffffff}"
181assert(# s == 10)
181assert(# s == 10)
182check(s,{2097152,67108863},true)
182check(s,{2097152,67108863},true)
183−s="\0\0\1\255\255\31"
183+s="\u{10000}\u{1fffff}"
184assert(# s == 8)
184assert(# s == 8)
185check(s,{65536,2097151},true)
185check(s,{65536,2097151},true)
186end
186end
187−local x = "\230\151\165\230\156\172\232\170\158\97\45\52\195\169\195\179"
187+local x = "\u{e6}\u{97}\u{a5}\u{e6}\u{9c}\u{ac}\u{e8}\u{aa}\u{9e}\u{61}\u{2d}\u{34}\u{0}\u{c3}\u{a9}\u{c3}\u{b3}"
188check(x,{26085,26412,35486,97,45,52,0,233,243})
188check(x,{26085,26412,35486,97,45,52,0,233,243})
189−check("\240\163\178\183\240\160\156\142\240\160\177\147\240\161\129\187\240\160\181\188\97\98\240\160\186\162",{146615,132878,134227,135291,134524,97,98,134818})
189+check("\u{f0}\u{a3}\u{b2}\u{b7}\u{f0}\u{a0}\u{9c}\u{8e}\u{f0}\u{a0}\u{b1}\u{93}\u{f0}\u{a1}\u{81}\u{bb}\u{f0}\u{a0}\u{b5}\u{bc}\u{61}\u{62}\u{f0}\u{a0}\u{ba}\u{a2}",{146615,132878,134227,135291,134524,97,98,134818})
190−check("\240\168\179\138\240\169\182\152\240\166\167\186\240\168\179\146\240\165\132\171\240\164\147\147\244\143\191\191",{167114,171416,158202,167122,151851,148691,1114111})
190+check("\u{f0}\u{a8}\u{b3}\u{8a}\u{f0}\u{a9}\u{b6}\u{98}\u{f0}\u{a6}\u{a7}\u{ba}\u{f0}\u{a8}\u{b3}\u{92}\u{f0}\u{a5}\u{84}\u{ab}\u{f0}\u{a4}\u{93}\u{93}\u{f4}\u{8f}\u{bf}\u{bf}",{167114,171416,158202,167122,151851,148691,1114111})
191local i = 0
191local i = 0
192−for p,c in string.gmatch(x,"\40\41\40" .. utf8.charpattern .. "\41")
192+for p,c in string.gmatch(x,"\u{28}\u{29}\u{28}" .. utf8.charpattern .. "\u{29}")
193do
193do
194i=i + 1
194i=i + 1
195assert(utf8.offset(x,i) == p)
195assert(utf8.offset(x,i) == p)
@@ -200,4 +200,4 @@ do
200assert(utf8.offset(x,0,p + j - 1) == p)
200assert(utf8.offset(x,0,p + j - 1) == p)
201end
201end
202end
202end
203−print("\111\107")
203+print("\u{6f}\u{6b}")
zod/luau/res/lua/cycled/vararg.lua+14−14
@@ -1,7 +1,7 @@
1−print("\116\101\115\116\105\110\103\32\118\97\114\97\114\103")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{76}\u{61}\u{72}\u{61}\u{72}\u{67}")
2local function f
2local function f
3(a, ...)
3(a, ...)
4−local x = {["\110"] = select("\35",...),...}
4+local x = {["\u{6e}"] = select("\u{23}",...),...}
5for i = 1, x.n
5for i = 1, x.n
6do
6do
7assert(a[i] == x[i])
7assert(a[i] == x[i])
@@ -22,30 +22,30 @@ return res,2
22end
22end
23local function vararg
23local function vararg
24(...)
24(...)
25−return {["\110"] = select("\35",...),...}
25+return {["\u{6e}"] = select("\u{23}",...),...}
26end
26end
27local call = function (f,args)
27local call = function (f,args)
28return f(table.unpack(args,1,args.n))
28return f(table.unpack(args,1,args.n))
29end
29end
30assert(f() == 0)
30assert(f() == 0)
31assert(f({1,2,3},1,2,3) == 3)
31assert(f({1,2,3},1,2,3) == 3)
32−assert(f({"\97\108\111",nil,45,f,nil},"\97\108\111",nil,45,f,nil) == 5)
32+assert(f({"\u{61}\u{6c}\u{6f}",nil,45,f,nil},"\u{61}\u{6c}\u{6f}",nil,45,f,nil) == 5)
33assert(vararg().n == 0)
33assert(vararg().n == 0)
34assert(vararg(nil,nil).n == 2)
34assert(vararg(nil,nil).n == 2)
35assert(c12(1,2) == 55)
35assert(c12(1,2) == 55)
36local a,b = assert(call(c12,{1,2}))
36local a,b = assert(call(c12,{1,2}))
37assert(a == 55 and b == 2)
37assert(a == 55 and b == 2)
38−a=call(c12,{1,2,["\110"] = 2})
38+a=call(c12,{1,2,["\u{6e}"] = 2})
39assert(a == 55 and b == 2)
39assert(a == 55 and b == 2)
40−a=call(c12,{1,2,["\110"] = 1})
40+a=call(c12,{1,2,["\u{6e}"] = 1})
41assert(not a)
41assert(not a)
42assert(c12(1,2,3) == false)
42assert(c12(1,2,3) == false)
43−local a = vararg(call(next,{_G,nil,["\110"] = 2}))
43+local a = vararg(call(next,{_G,nil,["\u{6e}"] = 2}))
44local b,c = next(_G)
44local b,c = next(_G)
45assert(a[1] == b and a[2] == c and a.n == 2)
45assert(a[1] == b and a[2] == c and a.n == 2)
46a=vararg(call(call,{c12,{1,2}}))
46a=vararg(call(call,{c12,{1,2}}))
47assert(a.n == 2 and a[1] == 55 and a[2] == 2)
47assert(a.n == 2 and a[1] == 55 and a[2] == 2)
48−a=call(print,{"\43"})
48+a=call(print,{"\u{2b}"})
49assert(a == nil)
49assert(a == nil)
50local t = {1,10}
50local t = {1,10}
51function t:f(...)
51function t:f(...)
@@ -54,7 +54,7 @@ local arg = {...}
54return self[...] + # arg
54return self[...] + # arg
55end
55end
56assert(t:f(1,4) == 3 and t:f(2) == 11)
56assert(t:f(1,4) == 3 and t:f(2) == 11)
57−print("\43")
57+print("\u{2b}")
58local lim = 20
58local lim = 20
59local i,a = 1,{}
59local i,a = 1,{}
60while i <= lim do
60while i <= lim do
@@ -80,7 +80,7 @@ a[i]=i
80i=i + 1
80i=i + 1
81end
81end
82assert(call(math.max,a) == lim)
82assert(call(math.max,a) == lim)
83−print("\43")
83+print("\u{2b}")
84local function oneless
84local function oneless
85(a, ...)
85(a, ...)
86return ...
86return ...
@@ -101,11 +101,11 @@ a,b,c,d,e=assert(f(10,5,4,3,2,1))
101assert(a == 5 and b == 4 and c == 3 and d == 2 and e == 1)
101assert(a == 5 and b == 4 and c == 3 and d == 2 and e == 1)
102a,b,c,d,e=f(4)
102a,b,c,d,e=f(4)
103assert(a == nil and b == nil and c == nil and d == nil and e == nil)
103assert(a == nil and b == nil and c == nil and d == nil and e == nil)
104−local f = load("\32\114\101\116\117\114\110\32\123\46\46\46\125\32")
104+local f = load("\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{7b}\u{2e}\u{2e}\u{2e}\u{7d}\u{20}")
105local x = f(2,3)
105local x = f(2,3)
106assert(x[1] == 2 and x[2] == 3 and x[3] == undef)
106assert(x[1] == 2 and x[2] == 3 and x[3] == undef)
107−f=load("\32\32\108\111\99\97\108\32\120\32\61\32\123\46\46\46\125\10\32\32\102\111\114\32\105\61\49\44\115\101\108\101\99\116\40\39\35\39\44\32\46\46\46\41\32\100\111\32\97\115\115\101\114\116\40\120\91\105\93\32\61\61\32\115\101\108\101\99\116\40\105\44\32\46\46\46\41\41\32\101\110\100\10\32\32\97\115\115\101\114\116\40\120\91\115\101\108\101\99\116\40\39\35\39\44\32\46\46\46\41\43\49\93\32\61\61\32\117\110\100\101\102\41\10\32\32\114\101\116\117\114\110\32\116\114\117\101\10")
107+f=load("\u{20}\u{20}\u{6c}\u{6f}\u{63}\u{61}\u{6c}\u{20}\u{78}\u{20}\u{3d}\u{20}\u{7b}\u{2e}\u{2e}\u{2e}\u{7d}\u{a}\u{20}\u{20}\u{66}\u{6f}\u{72}\u{20}\u{69}\u{3d}\u{31}\u{2c}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{28}\u{27}\u{23}\u{27}\u{2c}\u{20}\u{2e}\u{2e}\u{2e}\u{29}\u{20}\u{64}\u{6f}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{78}\u{5b}\u{69}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{28}\u{69}\u{2c}\u{20}\u{2e}\u{2e}\u{2e}\u{29}\u{29}\u{20}\u{65}\u{6e}\u{64}\u{a}\u{20}\u{20}\u{61}\u{73}\u{73}\u{65}\u{72}\u{74}\u{28}\u{78}\u{5b}\u{73}\u{65}\u{6c}\u{65}\u{63}\u{74}\u{28}\u{27}\u{23}\u{27}\u{2c}\u{20}\u{2e}\u{2e}\u{2e}\u{29}\u{2b}\u{31}\u{5d}\u{20}\u{3d}\u{3d}\u{20}\u{75}\u{6e}\u{64}\u{65}\u{66}\u{29}\u{a}\u{20}\u{20}\u{72}\u{65}\u{74}\u{75}\u{72}\u{6e}\u{20}\u{74}\u{72}\u{75}\u{65}\u{a}")
108−assert(f("\97","\98",nil,{},assert))
108+assert(f("\u{61}","\u{62}",nil,{},assert))
109assert(f())
109assert(f())
110a={select(3,table.unpack({10,20,30,40}))}
110a={select(3,table.unpack({10,20,30,40}))}
111assert(# a == 2 and a[1] == 30 and a[2] == 40)
111assert(# a == 2 and a[1] == 30 and a[2] == 40)
@@ -134,4 +134,4 @@ end
134local a,b = g()
134local a,b = g()
135assert(a == nil and b == 2)
135assert(a == nil and b == 2)
136end
136end
137−print("\79\75")
137+print("\u{4f}\u{4b}")
zod/luau/res/lua/cycled/verybig.lua+11−11
@@ -1,11 +1,11 @@
1−print("\116\101\115\116\105\110\103\32\82\75")
1+print("\u{74}\u{65}\u{73}\u{74}\u{69}\u{6e}\u{67}\u{20}\u{52}\u{4b}")
2local function foo
2local function foo
3()
3()
4local dummy = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256}
4local dummy = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256}
5assert(24.5 + 0.6 == 25.1)
5assert(24.5 + 0.6 == 25.1)
6−local t = {["\102\111\111"] = function (self,x)
6+local t = {["\u{66}\u{6f}\u{6f}"] = function (self,x)
7return x + self.x
7return x + self.x
8−end,["\120"] = 10}
8+end,["\u{78}"] = 10}
9t.t=t
9t.t=t
10assert(t:foo(1.5) == 11.5)
10assert(t:foo(1.5) == 11.5)
11assert(t.t:foo(0.5) == 10.5)
11assert(t.t:foo(0.5) == 10.5)
@@ -19,31 +19,31 @@ foo=nil
19if _soft then
19if _soft then
20return 10
20return 10
21end
21end
22−print("\116\101\115\116\105\110\103\32\108\97\114\103\101\32\112\114\111\103\114\97\109\115\32\40\62\54\52\107\41")
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}\u{65}\u{20}\u{70}\u{72}\u{6f}\u{67}\u{72}\u{61}\u{6d}\u{73}\u{20}\u{28}\u{3e}\u{36}\u{34}\u{6b}\u{29}")
23−local prog = "\36\10\10\108\111\99\97\108\32\97\44\98\10\10\98\32\61\32\123\36\49\36\10\32\32\98\51\48\48\48\57\32\61\32\54\53\53\51\52\44\10\32\32\98\51\48\48\49\48\32\61\32\54\53\53\51\53\44\10\32\32\98\51\48\48\49\49\32\61\32\54\53\53\51\54\44\10\32\32\98\51\48\48\49\50\32\61\32\54\53\53\51\55\44\10\32\32\98\51\48\48\49\51\32\61\32\49\54\55\55\55\50\49\52\44\10\32\32\98\51\48\48\49\52\32\61\32\49\54\55\55\55\50\49\53\44\10\32\32\98\51\48\48\49\53\32\61\32\49\54\55\55\55\50\49\54\44\10\32\32\98\51\48\48\49\54\32\61\32\49\54\55\55\55\50\49\55\44\10\32\32\98\51\48\48\49\55\32\61\32\48\120\55\102\102\102\102\102\44\10\32\32\98\51\48\48\49\56\32\61\32\45\48\120\55\102\102\102\102\102\44\10\32\32\98\51\48\48\49\57\32\61\32\48\120\49\102\102\102\102\102\102\44\10\32\32\98\51\48\48\50\48\32\61\32\45\48\120\49\102\102\102\102\100\44\10\32\32\98\51\48\48\50\49\32\61\32\45\54\53\53\51\52\44\10\32\32\98\51\48\48\50\50\32\61\32\45\54\53\53\51\53\44\10\32\32\98\51\48\48\50\51\32\61\32\45\54\53\53\51\54\44\10\32\32\98\51\48\48\50\52\32\61\32\45\48\120\102\102\102\102\102\102\44\10\32\32\98\51\48\48\50\53\32\61\32\49\53\48\49\50\46\53\44\10\32\32\36\50\36\10\125\59\10\10\97\115\115\101\114\116\40\98\46\97\53\48\48\48\56\32\61\61\32\50\53\48\48\52\32\97\110\100\32\98\91\34\97\49\49\34\93\32\61\61\32\45\53\46\53\41\10\97\115\115\101\114\116\40\98\46\97\51\51\48\48\55\32\61\61\32\45\49\54\53\48\51\46\53\32\97\110\100\32\98\46\97\53\48\48\48\57\32\61\61\32\45\50\53\48\48\52\46\53\41\10\97\115\115\101\114\116\40\98\91\34\98\34\46\46\51\48\48\50\52\93\32\61\61\32\45\48\120\102\102\102\102\102\102\41\10\10\102\117\110\99\116\105\111\110\32\98\58\120\120\120\32\40\97\44\98\41\32\114\101\116\117\114\110\32\97\43\98\32\101\110\100\10\97\115\115\101\114\116\40\98\58\120\120\120\40\49\48\44\32\49\50\41\32\61\61\32\50\50\41\32\32\32\45\45\32\112\117\115\104\115\101\108\102\32\119\105\116\104\32\110\111\110\45\99\111\110\115\116\97\110\116\32\105\110\100\101\120\10\98\91\34\120\120\120\34\93\32\61\32\117\110\100\101\102\10\10\108\111\99\97\108\32\115\32\61\32\48\59\32\108\111\99\97\108\32\110\61\48\10\102\111\114\32\97\44\98\32\105\110\32\112\97\105\114\115\40\98\41\32\100\111\32\115\61\115\43\98\59\32\110\61\110\43\49\32\101\110\100\10\45\45\32\119\105\116\104\32\51\50\45\98\105\116\32\102\108\111\97\116\115\44\32\101\120\97\99\116\32\118\97\108\117\101\32\111\102\32\39\115\39\32\100\101\112\101\110\100\115\32\111\110\32\115\117\109\109\97\116\105\111\110\32\111\114\100\101\114\10\97\115\115\101\114\116\40\56\49\56\48\48\48\48\48\46\48\32\60\32\115\32\97\110\100\32\115\32\60\32\56\49\56\54\48\48\48\48\32\97\110\100\32\110\32\61\61\32\55\48\48\48\49\41\10\10\97\32\61\32\110\105\108\59\32\98\32\61\32\110\105\108\10\112\114\105\110\116\39\43\39\10\10\108\111\99\97\108\32\102\117\110\99\116\105\111\110\32\102\40\120\41\32\98\61\120\32\101\110\100\10\10\97\32\61\32\102\123\36\51\36\125\32\111\114\32\49\48\10\10\97\115\115\101\114\116\40\97\61\61\49\48\41\10\97\115\115\101\114\116\40\98\91\49\93\32\61\61\32\34\97\49\48\34\32\97\110\100\32\98\91\50\93\32\61\61\32\53\32\97\110\100\32\98\91\35\98\45\49\93\32\61\61\32\34\97\53\48\48\48\57\34\41\10\10\10\102\117\110\99\116\105\111\110\32\120\120\120\120\32\40\120\41\32\114\101\116\117\114\110\32\98\91\120\93\32\101\110\100\10\10\97\115\115\101\114\116\40\120\120\120\120\40\51\41\32\61\61\32\34\97\49\49\34\41\10\10\97\32\61\32\110\105\108\59\32\98\61\110\105\108\10\120\120\120\120\32\61\32\110\105\108\10\10\114\101\116\117\114\110\32\49\48\10\10"
23+local 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}"
24local function sig
24local function sig
25(x)
25(x)
26−return (x % 2 == 0) and "" or "\45"
26+return (x % 2 == 0) and "" or "\u{2d}"
27end
27end
28local F = {function ()
28local F = {function ()
29for i = 10, 50009
29for i = 10, 50009
30do
30do
31−io.write("\97",i,"\32\61\32",sig(i),5 + ((i - 10) / 2),"\44\10")
31+io.write("\u{61}",i,"\u{20}\u{3d}\u{20}",sig(i),5 + ((i - 10) / 2),"\u{2c}\u{a}")
32end
32end
33end,function ()
33end,function ()
34for i = 30026, 50009
34for i = 30026, 50009
35do
35do
36−io.write("\98",i,"\32\61\32",sig(i),15013 + ((i - 30026) / 2),"\44\10")
36+io.write("\u{62}",i,"\u{20}\u{3d}\u{20}",sig(i),15013 + ((i - 30026) / 2),"\u{2c}\u{a}")
37end
37end
38end,function ()
38end,function ()
39for i = 10, 50009
39for i = 10, 50009
40do
40do
41−io.write("\34\97",i,"\34\44\32",sig(i),5 + ((i - 10) / 2),"\44\10")
41+io.write("\u{22}\u{61}",i,"\u{22}\u{2c}\u{20}",sig(i),5 + ((i - 10) / 2),"\u{2c}\u{a}")
42end
42end
43end}
43end}
44local file = os.tmpname()
44local file = os.tmpname()
45io.output(file)
45io.output(file)
46−for s in string.gmatch(prog,"\36\40\91\94\36\93\43\41")
46+for s in string.gmatch(prog,"\u{24}\u{28}\u{5b}\u{5e}\u{24}\u{5d}\u{2b}\u{29}")
47do
47do
48local n = tonumber(s)
48local n = tonumber(s)
49if not n then
49if not n then
@@ -55,5 +55,5 @@ end
55io.close()
55io.close()
56local result = dofile(file)
56local result = dofile(file)
57assert(os.remove(file))
57assert(os.remove(file))
58−print("\79\75")
58+print("\u{4f}\u{4b}")
59return result
59return result
zod/luau/sur/lua.hoon+1−1
@@ -19,7 +19,7 @@
19 [%false ~]
19 [%false ~]
20 [%nil ~]
20 [%nil ~]
21 ==
21 ==
22−+$ string @t
22++$ string (list @)
23+$ table field-list
23+$ table field-list
24+$ field-list (list field)
24+$ field-list (list field)
25+$ field
25+$ field