1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/nested flush.lua

69 lines
No EOL
1.1 KiB
Lua

local _={}
_[33]={}
_[32]={}
_[31]={tags=_[33],text="h"}
_[30]={}
_[29]={tags=_[32],text="f"}
_[28]={}
_[27]={}
_[26]={}
_[25]={}
_[24]={}
_[23]={_[31]}
_[22]={tags=_[30],text="g"}
_[21]={_[29]}
_[20]={tags=_[28],text="e"}
_[19]={tags=_[27],text="d"}
_[18]={tags=_[26],text="c"}
_[17]={tags=_[25],text="b"}
_[16]={tags=_[24],text="a"}
_[15]={_[23]}
_[14]={_[22]}
_[13]={_[21]}
_[12]={_[20]}
_[11]={_[18],_[19]}
_[10]={_[17]}
_[9]={_[16]}
_[8]={"return"}
_[7]={"choice",_[15]}
_[6]={"text",_[14]}
_[5]={"choice",_[13]}
_[4]={"text",_[12]}
_[3]={"text",_[11]}
_[2]={"text",_[10]}
_[1]={"text",_[9]}
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8]}
--[[
{ "text", { {
tags = {},
text = "a"
} } }
{ "text", { {
tags = {},
text = "b"
} } }
{ "text", { {
tags = {},
text = "c"
}, {
tags = {},
text = "d"
} } }
{ "text", { {
tags = {},
text = "e"
} } }
{ "choice", { { {
tags = {},
text = "f"
} } } }
{ "text", { {
tags = {},
text = "g"
} } }
{ "choice", { { {
tags = {},
text = "h"
} } } }
{ "return" }
]]--