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
-- v2.10 CORPUS: forward-declared local capture.
local resolver  -- forward decl
local function pick(n) return resolver(n) end
resolver = function(n) return n * 100 end
print(pick(3))  -- 300
resolver = function(n) return -n end
print(pick(3))  -- -3 (upvalue rebind visible)