luna-core 2.15.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
-- v2.15 P2.5 (5.1): setfenv on nested function.
local function f()
  return x    -- reads x from environment
end
setfenv(f, {x = "custom_env"})
print(f())