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

Allow argument-less calling using ! suffix

This commit is contained in:
Étienne Fildadut 2021-12-04 18:51:09 +01:00
parent 6e5cbf9e7e
commit d5b1a9f225
6 changed files with 94 additions and 30 deletions

View file

@ -0,0 +1,40 @@
local _={}
_[17]={}
_[16]={}
_[15]={}
_[14]={}
_[13]={}
_[12]={text="2",tags=_[17]}
_[11]={text="2",tags=_[16]}
_[10]={text="1",tags=_[15]}
_[9]={text="2",tags=_[14]}
_[8]={text="1",tags=_[13]}
_[7]={_[12]}
_[6]={_[10],_[11]}
_[5]={_[8],_[9]}
_[4]={"return"}
_[3]={"text",_[7]}
_[2]={"text",_[6]}
_[1]={"text",_[5]}
return {_[1],_[2],_[3],_[4]}
--[[
{ "text", { {
tags = {},
text = "1"
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "1"
}, {
tags = {},
text = "2"
} } }
{ "text", { {
tags = {},
text = "2"
} } }
{ "return" }
]]--