hiAll()
I’m not new user to Corona, but I can’t say “I’m ultra-pro in Lua” as its pure.
And I hit a wall with next situation I wanna describe and would appreciate any type of help.
So, I wanna use Verse library and make XMPP client builded with Corona. I didnt get any info that its impossible.
Some links:
http://matthewwild.co.uk/projects/verse/home - description of library. Matthew is author and he makes serious open-source projects like Prosody - Lua based XMPP server.
http://code.matthewwild.co.uk/verse - mercurial repository of that lib
http://matthewwild.co.uk/projects/verse/verse_doc.xml - easy-looking documentation with HUGE missed part if you are newbie. Also its for very old version.
As far as I understand its pure Lua library using some standard libs. Here http://matthewwild.co.uk/projects/verse/home author said, that it demands LuaExpat and LuaSocket. I know Corona has LuaSocket included and I dont know much about LuaExpat but I dont think its hard to download and make “require” it.
But here http://stackoverflow.com/questions/11508486/corona-sdk-xmpp we can find, that it needs " LuaSocket, LuaExpat, LuaSec and LuaFileSystem", and LFS is included in Corona too, but it must be required to be available. LuaSec - same as LuaExpat for now for me.
Ok, I downloaded all files from default branch - http://code.matthewwild.co.uk/verse/archive/154c2f04d73b.zip
Trying to run something from examples and found out my first newbie-issue - there is no “verse.lua” file which is required in some other lua files. Diggin files showed me, that “init.lua” seems creating that verse module. But it has 3 lines (10-12) which require some strange modules or something like that, which are not present in downloaded archive at all.
local server = require “net.server”;
local events = require “util.events”;
local logger = require “util.logger”;
…
–
Last update of library - 16th of November, 2014.
Author promissed to release good docs in 2009. So, if anyone will share link leading to the guide or where should I dig and search - I’ll be very happy.
Thank you for your attention.