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
11
12
13
14
-- v2.12 CORPUS-III: goto/labels — continue pattern + backward
-- jump loop.
local sum = 0
for i = 1, 5 do
  if i % 2 == 0 then goto continue end
  sum = sum + i
  ::continue::
end
print(sum)
local n = 0
::top::
n = n + 1
if n < 3 then goto top end
print(n)