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

Fix _._ operator not working with arbitrary expressions

This commit is contained in:
Étienne Fildadut 2022-09-16 21:40:45 +09:00
parent f0ecfbb43b
commit c43266260d
3 changed files with 37 additions and 13 deletions

View file

@ -0,0 +1,6 @@
:$ f
:x = 5
:a = &f
{a.("x")}

View file

@ -0,0 +1,14 @@
local _={}
_[5]={}
_[4]={text="5",tags=_[5]}
_[3]={_[4]}
_[2]={"return"}
_[1]={"text",_[3]}
return {_[1],_[2]}
--[[
{ "text", { {
tags = {},
text = "5"
} } }
{ "return" }
]]--