mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Allow any character to be escaped
This commit is contained in:
parent
d1f49d1894
commit
4284b06f10
6 changed files with 103 additions and 95 deletions
|
|
@ -1,26 +1,30 @@
|
|||
local _={}
|
||||
_[25]={}
|
||||
_[24]={}
|
||||
_[23]={}
|
||||
_[22]={}
|
||||
_[21]={}
|
||||
_[20]={}
|
||||
_[19]={}
|
||||
_[18]={}
|
||||
_[17]={}
|
||||
_[16]={text="sub [text]",tags=_[21]}
|
||||
_[15]={text="decorators # tag ~ condition $ fn",tags=_[20]}
|
||||
_[14]={text="other codes \n \\ \9",tags=_[19]}
|
||||
_[13]={text="quote \"",tags=_[18]}
|
||||
_[12]={text="expression {a}",tags=_[17]}
|
||||
_[11]={_[16]}
|
||||
_[10]={_[15]}
|
||||
_[9]={_[14]}
|
||||
_[8]={_[13]}
|
||||
_[7]={_[12]}
|
||||
_[6]={"return"}
|
||||
_[5]={"text",_[11]}
|
||||
_[4]={"text",_[10]}
|
||||
_[3]={"text",_[9]}
|
||||
_[2]={"text",_[8]}
|
||||
_[1]={"text",_[7]}
|
||||
return {_[1],_[2],_[3],_[4],_[5],_[6]}
|
||||
_[19]={tags=_[25],text="generic symbol \194\163"}
|
||||
_[18]={tags=_[24],text="sub [text]"}
|
||||
_[17]={tags=_[23],text="decorators # tag ~ condition $ fn"}
|
||||
_[16]={tags=_[22],text="other codes \n \\ \9"}
|
||||
_[15]={tags=_[21],text="quote \""}
|
||||
_[14]={tags=_[20],text="expression {a}"}
|
||||
_[13]={_[19]}
|
||||
_[12]={_[18]}
|
||||
_[11]={_[17]}
|
||||
_[10]={_[16]}
|
||||
_[9]={_[15]}
|
||||
_[8]={_[14]}
|
||||
_[7]={"return"}
|
||||
_[6]={"text",_[13]}
|
||||
_[5]={"text",_[12]}
|
||||
_[4]={"text",_[11]}
|
||||
_[3]={"text",_[10]}
|
||||
_[2]={"text",_[9]}
|
||||
_[1]={"text",_[8]}
|
||||
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7]}
|
||||
--[[
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
|
|
@ -42,5 +46,9 @@ return {_[1],_[2],_[3],_[4],_[5],_[6]}
|
|||
tags = {},
|
||||
text = "sub [text]"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "generic symbol £"
|
||||
} } }
|
||||
{ "return" }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue