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
7
8
9
-- v2.15 P2.5 (5.2): _ENV shadowing in nested scope (top-level
-- shadowing breaks the diff harness's stdout capture, so scope
-- to a function body only).
local function shadowed()
  local _ENV = {}
  _ENV.x = 42
  return _ENV.x, _ENV.foo    -- 42, nil
end
print(shadowed())