4 ms·
Use LuaRocks. http://luarocks.org/repositories/rocks/ http://luarocks.org/repositories/rocks/ Very easy to use, and has a lot of modules. lua-xmlreader is th
by palish 15y ago
Use LuaRocks. http://luarocks.org/repositories/rocks/ http://luarocks.org/repositories/rocks/
Very easy to use, and has a lot of modules.
lua-xmlreader is the one that I used for a project. It's a wrapper over libxml2.
- jbk 15y agoGreat to know, thx, but that shows exactly what one issue is: there are at least 5 json modules... How are people supposed to know which one to pick?
- pyre 15y agoProbably by testing them all out. Though it would probably help if there were more reviews of the options out there.
- jbk 15y agoThat is indeed what we did. My above point (mis-interpreted, since I got voted down) is that an official set of extensions approved the core lua team would help quite a bit in those choices.
- palish 15y agoEh, just pick one. I actually did use a lua JSON module, but I forgot which one. It had a simple interface, though. They probably all do.
- jbk 15y agoJSON was just an example. The point is that it would be welcome to have a sanctioned list of common extensions (xml, json, oauth...) from the core team.