lua-users home
lua-l archive

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


I've uploaded LazyKit, a set of tools (and documentation) for processing XML in Lua. Wiki page at http://lua-users.org/wiki/LazyKit .

A quick summary of contents:

XmlTree: a rough specification of an XML representation
LxpTree: an obvious tree builder, using LuaExpat
LazyTree: trees built on demand
ConsumingXml: a description of consuming iterators and benefits
XmlIter: iterators over trees, and a generic XML switch filter
XmlView: convenience views on trees

The package also includes a quick hack of an XML generator from trees, and iostring/ciostring.

I'm not deeply committed to names, packaging arrangements, semantics, etc. I'm hoping to spur discussion. (Although if nobody wants to talk about it, I'll just quietly use these myself.)

Jay