luna-core 2.12.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.11 CORPUS-II: table.pack round-trip.
local t = table.pack(1, 2, 3, 4, 5)
print(t.n)
for i = 1, t.n do io.write(t[i], " ") end
print()

-- with nil in middle
local u = table.pack(1, nil, 3)
print(u.n)   -- 3
print(u[1], u[2], u[3])