Hi, On Tue, Nov 27, 2012 at 15:54:02 -0200, Elias Barrionovo wrote: > Well, I have no idea what bencode is or does and your email doesn't > provide any info with that. Also, it would be nice to have a link for > your project and not just for the rockspec. ^^
My apologies! I was way too excited to finally boot it out of the door that I omitted this kind of information. Bencoding ("Bittorrent encoding") is a relatively simple data serialisation format. It nicely maps almost 1:1 to lua's data structures. lua-bencode therefore (as you might guess) converts bencoded data to lua data structures and the other way around. An example on how to use the library is in examples/dumptorrent.lua and the testsuite. Perhaps I could add the lack of documentation to my list of issues to address in future. So far I didn't, because the only two functions exported by the library - namely encode and decode - do the obvious according to their name. In the examples directory on bitbucket, there's a also a half-baked bittorrent tracker (backed by lhf's lgdbm and cgi, so you can guess it's not optimised for performance but meant as proof of concept implementation), which is not included in this release because it does not yet work. I wanted to resolve the negative number decoding bug, though, so I decided it would be time for a new release without it. Project homepage: http://bitbucket.org/wilhelmy/lua-bencode/ Best regards, Moritz ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers