remedy-lua 0.1.2

A Lua 5.4 superset in safe Rust for running untrusted scripts: exact fuel, memory and depth limits, an incremental collector, an optional typed dialect and a capability-based host API.
Documentation
1
2
3
4
5
6
7
-- Integer division, modulo and bitwise operators (hashing, packing).
local h = 0
for i = 1, 3000000 do
  h = (h ~ (i << 5) ~ (i >> 3)) & 0xffffffff
  h = h + (i // 7) + (i % 13)
end
return h