luna-core 2.14.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
11
12
-- v2.14 CV.1: mid-file overwrite via seek.
local f = io.tmpfile()
f:write("AAAAAAAAAA")
f:seek("set", 3)
f:write("bcd")
f:seek("set", 0)
print(f:read("a"))
f:seek("end", 0)
f:write("Z")
f:seek("set", 0)
print(f:read("a"), f:seek("end"))
f:close()