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
-- v2.15 P2.5 (5.2): pcall behavior.
local function strip(e) return e:match(": (.+)$") or tostring(e) end
local ok, err = pcall(function() error("52err") end)
print(ok, strip(err))

local ok2, r = pcall(function() return "value" end)
print(ok2, r)