lua-users home
lua-l archive

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


Hi,

I would like to write a parser in Lua, and I don't want to have it
bound to a specific stream interface. That is, I want it to be able to
read files, strings, network streams, or even other sources. So I
wonder if there is any stream library in Lua that could do that.

Also, ultimately, I would like to parse unicode streams. Those could be
encoded in utf-8, utf-16, iso-8859-* or whatever. So I would like the
library to be able to give me the next unicode character in a stream,
always encoded the same way. So it should be able to convert between
encodings, or at least have some knowledge about it.

Do you know a library that could do that ?
If it doesn't exists in plain Lua, perhaps there is a C library that
would fit, I'm ready to do a Lua binding if necessary.

Thanks

-- 
Mildred Ki'lya
E-Mail:	mildred593(at)online.fr

Site:	<http://mildred632.free.fr/>
XMPP:	<mildred@jabber.fr> (GoogleTalk, Jabber)

GPG:	197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]