luna-core 2.11.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.10 CORPUS: table.pack + select.
local t = table.pack(1, 2, 3, 4)
print(t.n, t[1], t[4])

print(select("#", "a", "b", "c"))
print(select(2, "a", "b", "c"))

-- vararg passthrough
local function fwd(...) return select("#", ...), ... end
print(fwd(10, 20, 30))