lua-users home
lua-l archive

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


Richard Hundt wrote:


I've found an old XML lpeg grammar I had lying around. It's a bit raw in that it doesn't do the whole DOM API thing and it's not wrapped up in a module, but it's tweakable, so in case you can't find anything else... here it is.

I forgot to add that doing the lpeg.locale() thing would probably fall under the "tweakable" bit (I think) since you need to handle wide chars. YMMV and all that.

-Rich