luna-core 2.14.0

Pure-Rust Lua runtime (interpreter only, zero third-party dependencies). The JIT-equipped variant lives in the `luna-jit` crate.
Documentation
1
2
3
4
5
6
7
8
9
10
-- v2.14 CV.3: vararg edge shapes — holes, select negatives, table.pack.
local function f(...)
  return select("#", ...), table.pack(...).n
end
print(f())
print(f(nil))
print(f(nil, nil, nil))
local function g(...) return ... end
print(g(1, nil, 3))
print((g(1, nil, 3)))