Lua implemented in Mercury