lua-users home
lua-l archive

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


Dear lua community,

I hereby announce the 2.2.0 release of lua-bencode.

Project homepage: http://bitbucket.org/wilhelmy/lua-bencode/

Distribution ZIP archive and tarball can be found here:
https://bitbucket.org/wilhelmy/lua-bencode/downloads/lua-bencode-2.2.0.zip
https://bitbucket.org/wilhelmy/lua-bencode/downloads/lua-bencode-2.2.0.tar.gz

as well as my own site:
http://ftp.barfooze.de/pub/lua-bencode/lua-bencode-2.2.0.zip
http://ftp.barfooze.de/pub/lua-bencode/lua-bencode-2.2.0.tar.gz

SHA-256 checksums:
SHA256 (lua-bencode-2.2.0.tar.gz) = 25830ff3fe342c09c65995d46c4d89ad0387cc502b1a2f70f9cca2d8c7ccafdd
SHA256 (lua-bencode-2.2.0.zip) = ba050f3a2dd8ca7b7de3a4e5ac0a8e28354f05b23b6bdd0ee068748966a59c57

What does it do?
================

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.

What has changed?
=================

I've merged in the push implementation of a bencode parser written by Jorge
Visca so this module now includes two different parsers, a fast one and an easy
to use one (it's comparable to DOM and SAX XML parsers).

Jorge also wrote another patch to drop the use of the deprecated
"module" function.

Additionally, I've finally written documentation for the module API for
the non-push parser.

See also: https://bitbucket.org/wilhelmy/lua-bencode/src/e42faf52207a78a4986a277419cb737f5fff2a7c/RELNOTES



To the luarocks maintainers: Would you please include the current
rockspec? I signed up for a luarocks account but it ended up in a
different project. You can find the rockspec here:
https://bitbucket.org/wilhelmy/lua-bencode/raw/e42faf52207a78a4986a277419cb737f5fff2a7c/rockspecs/bencode-2.2.0-1.rockspec

And this is where my upload ended up:
http://luarocks.org/modules/mw/bencode


Enjoy,

Moritz