lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> XML parsing

Enough XML parsing to do XMPP is quite manageable in Lua.

We had a library to do Jabber/XMPP at a previous employer (but it's owned by
the - now defunct - company)

Paul

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Matthew Wild
Sent: 18 October 2008 19:19
To: Lua list
Subject: Re: i am looking forword a jabber lib

On Sat, Oct 18, 2008 at 5:38 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> is there any lib for jabber/xmpp just require socket and written by lua
>> script code??
>
> There's Verse at http://matthewwild.co.uk/projects/verse/home but I'm not
> sure it's pure Lua.
>

No, it's not.

As attractive as a "pure Lua" one sounds, XML parsing, and base64/md5
in pure Lua would not be nice. So then you may end up saying we can
use expat, lmd5, lbase64... and then you end up with it all written in
C. So I really don't see any difference.

I uploaded the source the other day, but it still needs quite a bit of
work (which I am doing now) for most things other than basic
messaging. I'll be releasing it more formally when it is stable.

Matthew.