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
-- v2.13 CORPUS-IV: pattern sets, ranges, complements, magic
-- chars inside sets.
print(("hello-world"):match("[a-z]+"))
print(("hello-world"):gsub("[^a-z]", "_"))
print(("a.b[c"):match("[.%[]+", 2))
print(("x-y"):match("[%-]"))
print(("5%"):match("[%%]"))
print(("abc123"):match("[%a%d]+"))
print(("]x"):match("[]]"))