mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Handle events in text interpolation; capture text events in choice lines; improve test script
This commit is contained in:
parent
633f7b2d61
commit
7105b445ef
103 changed files with 2452 additions and 1294 deletions
|
|
@ -1,10 +1,10 @@
|
|||
local _={}
|
||||
_[13]={}
|
||||
_[12]={}
|
||||
_[11]={}
|
||||
_[10]={data="Yes.",tags=_[13]}
|
||||
_[9]={data="x",tags=_[12]}
|
||||
_[8]={data="a",tags=_[11]}
|
||||
_[11]={tags=_[12],text="a"}
|
||||
_[10]={tags=_[13],text="Yes."}
|
||||
_[9]={tags=_[12],text="x"}
|
||||
_[8]={_[11]}
|
||||
_[7]={_[10]}
|
||||
_[6]={_[9]}
|
||||
_[5]={_[8]}
|
||||
|
|
@ -14,17 +14,17 @@ _[2]={"text",_[6]}
|
|||
_[1]={"choice",_[5]}
|
||||
return {_[1],_[2],_[3],_[4]}
|
||||
--[[
|
||||
{ "choice", { {
|
||||
data = "a",
|
||||
tags = {}
|
||||
{ "choice", { { {
|
||||
tags = {},
|
||||
text = "a"
|
||||
} } } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "x"
|
||||
} } }
|
||||
{ "text", { {
|
||||
data = "x",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "text", { {
|
||||
data = "Yes.",
|
||||
tags = {}
|
||||
tags = {},
|
||||
text = "Yes."
|
||||
} } }
|
||||
{ "return" }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue