low-luajit 0.3.1

Low level but safe bindings to the LuaJIT C API with no dependencies and no-std support to create Lua modules using Rust.
Documentation
package.cpath = "target/debug/examples/lib?.so;" .. package.cpath

math.randomseed(os.time())
local simple = require("simple")

print("\nTesting simple.sum() using three random numbers...")
local x, y, z = math.random(), math.random(), math.random()
print("x =\t\t", x)
print("y =\t\t", y)
print("z =\t\t", z)
print("simple.sum(x, y, z) =", simple.sum(x, y, z))

print("\nTesting simple.count_bits() using one random integer...")
local x = math.random(-999999, 999999)
print("x =\t\t", x)
print("simple.count_bits(x) =", simple.count_bits(x))

print("\nTesting simple.is_ascii() using an ASCII string and an UTF-8 string...")
print("simple.is_ascii(\"Why 'hello world'?\") =\t", simple.is_ascii("Why hello world?"));
print("simple.is_ascii(\"Perchè 'ciao mondo'?\") =", simple.is_ascii("Perchè 'ciao mondo'?"));