Thanks Hisham! I've been meaning to investigate LuaRocks for some time, and this is just the push I needed.
As for the Lua5.2 dependency (camicc olo), there is a dependency on lua_Unsigned and associated API for conversion to and from number type, but it ought to be straight forward to eliminate that with some #define trickery. I'll look into it.
> Date: 2013年9月20日 15:42:13 -0300
> From: Hisham <h@hisham.hm>
> Subject: Re: [ANN] Bitfield Type Library
> To: Lua mailing list <lua-l@lists.lua.org>
>
> On 20 September 2013 12:54, John Hind <john.hind@zen.co.uk> wrote:
> > Announcing my new "bitfield" type library.
> >
> > https://github.com/JohnHind/Lua_Bitfield
>
> Cool! I uploaded a rockspec that points to your repo in the rocks-scm
> server:
>
> http://luarocks.org/repositories/rocks-scm/bitfield-scm-1.rockspec
>
> One can now install it running:
>
> luarocks install bitfield --
> server=http://luarocks.org/repositories/rocks-scm/
>