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

Handle events in text interpolation; capture text events in choice lines; improve test script

This commit is contained in:
Étienne Fildadut 2021-11-26 21:26:41 +01:00
parent 633f7b2d61
commit 7105b445ef
103 changed files with 2452 additions and 1294 deletions

View file

@ -1,28 +1,36 @@
local _={}
_[33]={}
_[32]={}
_[31]={}
_[30]={}
_[29]={}
_[28]={}
_[27]={}
_[26]={}
_[25]={data="1 = 1",tags=_[33]}
_[24]={data="0 = 0",tags=_[32]}
_[23]={data="0 = 0",tags=_[31]}
_[22]={data="0 = 0",tags=_[30]}
_[21]={data="0 = 0",tags=_[29]}
_[20]={data="1 = 1",tags=_[28]}
_[19]={data="0 = 0",tags=_[27]}
_[18]={data="0 = 0",tags=_[26]}
_[17]={_[25]}
_[16]={_[24]}
_[15]={_[23]}
_[14]={_[22]}
_[13]={_[21]}
_[12]={_[20]}
_[11]={_[19]}
_[10]={_[18]}
_[41]={}
_[40]={}
_[39]={}
_[38]={}
_[37]={}
_[36]={}
_[35]={}
_[34]={}
_[33]={tags=_[41],text="1"}
_[32]={tags=_[41],text="1 = "}
_[31]={tags=_[40],text="0"}
_[30]={tags=_[40],text="0 = "}
_[29]={tags=_[39],text="0"}
_[28]={tags=_[39],text="0 = "}
_[27]={tags=_[38],text="0"}
_[26]={tags=_[38],text="0 = "}
_[25]={tags=_[37],text="0"}
_[24]={tags=_[37],text="0 = "}
_[23]={tags=_[36],text="1"}
_[22]={tags=_[36],text="1 = "}
_[21]={tags=_[35],text="0"}
_[20]={tags=_[35],text="0 = "}
_[19]={tags=_[34],text="0"}
_[18]={tags=_[34],text="0 = "}
_[17]={_[32],_[33]}
_[16]={_[30],_[31]}
_[15]={_[28],_[29]}
_[14]={_[26],_[27]}
_[13]={_[24],_[25]}
_[12]={_[22],_[23]}
_[11]={_[20],_[21]}
_[10]={_[18],_[19]}
_[9]={"return"}
_[8]={"text",_[17]}
_[7]={"text",_[16]}
@ -35,36 +43,60 @@ _[1]={"text",_[10]}
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9]}
--[[
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "1 = 1",
tags = {}
tags = <1>{},
text = "1 = "
}, {
tags = <table 1>,
text = "1"
} } }
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "0 = 0",
tags = {}
tags = <1>{},
text = "0 = "
}, {
tags = <table 1>,
text = "0"
} } }
{ "text", { {
data = "1 = 1",
tags = {}
tags = <1>{},
text = "1 = "
}, {
tags = <table 1>,
text = "1"
} } }
{ "return" }
]]--