a port of Lua 5.2 to JVM