luna-core 2.13.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.10 CORPUS: string byte/char manipulation.
print(string.byte("A", 1))
print(string.byte("hello", 1, 5))  -- multiple returns
print(string.char(72, 101, 108, 108, 111))
print(string.char(0x1F600 & 0xff))  -- byte-mask

-- concat multi-type
local n = 42
print("value is " .. n)
print("pi ~ " .. string.format("%.4f", math.pi))