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

40 lines
No EOL
647 B
Lua

local _={}
_[19]={}
_[18]={}
_[17]={tags=_[19],text="d"}
_[16]={}
_[15]={tags=_[18],text="b"}
_[14]={}
_[13]={_[17]}
_[12]={tags=_[16],text="c"}
_[11]={_[15]}
_[10]={tags=_[14],text="a"}
_[9]={_[13]}
_[8]={_[12]}
_[7]={_[11]}
_[6]={_[10]}
_[5]={"return"}
_[4]={"choice",_[9]}
_[3]={"text",_[8]}
_[2]={"choice",_[7]}
_[1]={"text",_[6]}
return {_[1],_[2],_[3],_[4],_[5]}
--[[
{ "text", { {
tags = {},
text = "a"
} } }
{ "choice", { { {
tags = {},
text = "b"
} } } }
{ "text", { {
tags = {},
text = "c"
} } }
{ "choice", { { {
tags = {},
text = "d"
} } } }
{ "return" }
]]--