Lua: add script which wraps not-yet ported C functions to Lua