mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Add default and named arguments, rename equality operator to ==, shortcut for string pairs
This commit is contained in:
parent
17751c5c59
commit
151c70ed26
28 changed files with 396 additions and 146 deletions
|
|
@ -1,7 +1,10 @@
|
|||
-- anselme module
|
||||
local anselme = {
|
||||
-- version
|
||||
version = "0.13.1",
|
||||
-- major.minor.fix
|
||||
-- saves files are incompatible between major versions
|
||||
-- scripts files may break between minor versions
|
||||
version = "0.14.0",
|
||||
--- currently running interpreter
|
||||
running = nil
|
||||
}
|
||||
|
|
@ -399,7 +402,7 @@ return setmetatable(anselme, {
|
|||
functions = {
|
||||
-- [":="] = {
|
||||
-- {
|
||||
-- arity = {3,42}, type = { [1] = "variable" }, check = function, rewrite = function, vararg = 2, mode = "custom",
|
||||
-- arity = {3,42}, type = { [1] = "variable" }, check = function, rewrite = function, mode = "custom",
|
||||
-- value = function(state, exp)
|
||||
-- end -- or checkpoint, function, line
|
||||
-- }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue