1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 00:59:31 +00:00

Change equality test to reference comparison for mutable values

This commit is contained in:
Étienne Fildadut 2022-09-09 14:54:45 +09:00
parent b50d783928
commit bac5cdde01
8 changed files with 315 additions and 87 deletions

View file

@ -0,0 +1,78 @@
local _={}
_[33]={}
_[32]={}
_[31]={}
_[30]={}
_[29]={}
_[28]={}
_[27]={}
_[26]={}
_[25]={}
_[24]={}
_[23]={}
_[22]={}
_[21]={tags=_[33],text="0"}
_[20]={tags=_[32],text="0 = "}
_[19]={tags=_[31],text="1"}
_[18]={tags=_[30],text="1 = "}
_[17]={tags=_[29],text="0"}
_[16]={tags=_[28],text="0 = "}
_[15]={tags=_[27],text="1"}
_[14]={tags=_[26],text="1 = "}
_[13]={tags=_[25],text="0"}
_[12]={tags=_[24],text="0 = "}
_[11]={tags=_[23],text="0"}
_[10]={tags=_[22],text="0 = "}
_[9]={_[20],_[21]}
_[8]={_[18],_[19]}
_[7]={_[16],_[17]}
_[6]={_[10],_[11],_[12],_[13],_[14],_[15]}
_[5]={"return"}
_[4]={"text",_[9]}
_[3]={"text",_[8]}
_[2]={"text",_[7]}
_[1]={"text",_[6]}
return {_[1],_[2],_[3],_[4],_[5]}
--[[
{ "text", { {
tags = {},
text = "0 = "
}, {
tags = {},
text = "0"
}, {
tags = {},
text = "0 = "
}, {
tags = {},
text = "0"
}, {
tags = {},
text = "1 = "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "0 = "
}, {
tags = {},
text = "0"
} } }
{ "text", { {
tags = {},
text = "1 = "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "0 = "
}, {
tags = {},
text = "0"
} } }
{ "return" }
]]--