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

Merge behavior of : and = into single = operator for pairs; add assignment with _._ operator in function references

This commit is contained in:
Étienne Fildadut 2021-12-14 02:37:09 +01:00
parent 48cabbf4c0
commit 88157b04b9
19 changed files with 104 additions and 38 deletions

View file

@ -126,7 +126,7 @@ types.anselme = {
if not k then return k, ke end
local v, ve = format(val[2])
if not v then return v, ve end
return ("%s:%s"):format(k, v)
return ("%s=%s"):format(k, v)
end,
to_lua = function(val)
local k, ke = to_lua(val[1])