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
8
9
10
-- v2.12 CORPUS-III: shadow across for-loop body.
local x = "outer"
for x = 1, 3 do io.write(x, " ") end
print()
print(x)   -- outer (loop var doesn't leak)

-- shadow in do-end
local y = "outer_y"
do local y = "inner_y"; print(y) end
print(y)