preliminary support for compiling functions from Lua