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
-- v2.12 CORPUS-III: utf8 library basics (5.3+).
local s = utf8.char(72, 105, 0x4E2D)
print(s, #s, utf8.len(s))
print(utf8.codepoint(s, 1, -1))
print(utf8.offset(s, 2), utf8.offset(s, 3))
for p, c in utf8.codes("ab") do print(p, c) end