1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 17:19:31 +00:00
anselme/test/tests/function scoped recursive.lua

278 lines
No EOL
5 KiB
Lua

local _={}
_[121]={}
_[120]={}
_[119]={}
_[118]={}
_[117]={}
_[116]={}
_[115]={}
_[114]={}
_[113]={}
_[112]={}
_[111]={}
_[110]={}
_[109]={}
_[108]={}
_[107]={}
_[106]={}
_[105]={}
_[104]={}
_[103]={}
_[102]={}
_[101]={}
_[100]={}
_[99]={}
_[98]={}
_[97]={}
_[96]={}
_[95]={}
_[94]={}
_[93]={}
_[92]={}
_[91]={}
_[90]={}
_[89]={}
_[88]={}
_[87]={}
_[86]={}
_[85]={}
_[84]={}
_[83]={}
_[82]={}
_[81]={}
_[80]={}
_[79]={}
_[78]={}
_[77]={}
_[76]={}
_[75]={tags=_[121],text="2"}
_[74]={tags=_[120],text=": "}
_[73]={tags=_[119],text="1"}
_[72]={tags=_[118],text="after recursion "}
_[71]={tags=_[117],text="2"}
_[70]={tags=_[116],text=": "}
_[69]={tags=_[115],text="2"}
_[68]={tags=_[114],text="after recursion "}
_[67]={tags=_[113],text="2"}
_[66]={tags=_[112],text=": "}
_[65]={tags=_[111],text="3"}
_[64]={tags=_[110],text="after recursion "}
_[63]={tags=_[109],text="2"}
_[62]={tags=_[108],text=": "}
_[61]={tags=_[107],text="4"}
_[60]={tags=_[106],text="after recursion "}
_[59]={tags=_[105],text="2"}
_[58]={tags=_[104],text=": "}
_[57]={tags=_[103],text="5"}
_[56]={tags=_[102],text="before recursion "}
_[55]={tags=_[101],text="1"}
_[54]={tags=_[100],text="start: "}
_[53]={tags=_[99],text="2"}
_[52]={tags=_[98],text=": "}
_[51]={tags=_[97],text="4"}
_[50]={tags=_[96],text="before recursion "}
_[49]={tags=_[95],text="1"}
_[48]={tags=_[94],text="start: "}
_[47]={tags=_[93],text="2"}
_[46]={tags=_[92],text=": "}
_[45]={tags=_[91],text="3"}
_[44]={tags=_[90],text="before recursion "}
_[43]={tags=_[89],text="1"}
_[42]={tags=_[88],text="start: "}
_[41]={tags=_[87],text="2"}
_[40]={tags=_[86],text=": "}
_[39]={tags=_[85],text="2"}
_[38]={tags=_[84],text="before recursion "}
_[37]={tags=_[83],text="1"}
_[36]={tags=_[82],text="start: "}
_[35]={tags=_[81],text="2"}
_[34]={tags=_[80],text=": "}
_[33]={tags=_[79],text="1"}
_[32]={tags=_[78],text="before recursion "}
_[31]={tags=_[77],text="1"}
_[30]={tags=_[76],text="start: "}
_[29]={_[72],_[73],_[74],_[75]}
_[28]={_[68],_[69],_[70],_[71]}
_[27]={_[64],_[65],_[66],_[67]}
_[26]={_[60],_[61],_[62],_[63]}
_[25]={_[56],_[57],_[58],_[59]}
_[24]={_[54],_[55]}
_[23]={_[50],_[51],_[52],_[53]}
_[22]={_[48],_[49]}
_[21]={_[44],_[45],_[46],_[47]}
_[20]={_[42],_[43]}
_[19]={_[38],_[39],_[40],_[41]}
_[18]={_[36],_[37]}
_[17]={_[32],_[33],_[34],_[35]}
_[16]={_[30],_[31]}
_[15]={"return"}
_[14]={"text",_[29]}
_[13]={"text",_[28]}
_[12]={"text",_[27]}
_[11]={"text",_[26]}
_[10]={"text",_[25]}
_[9]={"text",_[24]}
_[8]={"text",_[23]}
_[7]={"text",_[22]}
_[6]={"text",_[21]}
_[5]={"text",_[20]}
_[4]={"text",_[19]}
_[3]={"text",_[18]}
_[2]={"text",_[17]}
_[1]={"text",_[16]}
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]}
--[[
{ "text", { {
tags = {},
text = "start: "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "before recursion "
}, {
tags = {},
text = "1"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "start: "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "before recursion "
}, {
tags = {},
text = "2"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "start: "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "before recursion "
}, {
tags = {},
text = "3"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "start: "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "before recursion "
}, {
tags = {},
text = "4"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "start: "
}, {
tags = {},
text = "1"
} } }
{ "text", { {
tags = {},
text = "before recursion "
}, {
tags = {},
text = "5"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "after recursion "
}, {
tags = {},
text = "4"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "after recursion "
}, {
tags = {},
text = "3"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "after recursion "
}, {
tags = {},
text = "2"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "after recursion "
}, {
tags = {},
text = "1"
}, {
tags = {},
text = ": "
}, {
tags = {},
text = "2"
} } }
{ "return" }
]]--