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
-- v2.11 CORPUS-II: tbc runs even on error.
local closed = {}
local ok = pcall(function()
  local a <close> = setmetatable({}, {__close = function() closed[#closed+1] = "A" end})
  error("boom")
end)
print(ok, table.concat(closed, ","))