mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
[language] Add multiple assignments, assignment and definitions are now function calls
This commit is contained in:
parent
760181eaf9
commit
b6473de4d2
36 changed files with 180 additions and 172 deletions
|
|
@ -43,6 +43,7 @@ local common = {
|
|||
infixes = {
|
||||
{ ";", 1 },
|
||||
{ "#", 2 }, { "->", 2 },
|
||||
{ "=", 3 },
|
||||
{ "&", 5 }, { "|", 5 },
|
||||
{ "==", 6 }, { "!=", 6 }, { ">=", 6 }, { "<=", 6 }, { "<", 6 }, { ">", 6 },
|
||||
{ "+", 7 }, { "-", 7 },
|
||||
|
|
@ -58,7 +59,6 @@ local common = {
|
|||
[";_"] = 1,
|
||||
["$_"] = 2,
|
||||
["_,_"] = 2,
|
||||
["_=_"] = 3,
|
||||
["_implicit*_"] = 9, -- just aboce _*_
|
||||
["_!_"] = 12,
|
||||
["_()"] = 13 -- just above _!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue