$ luarocks install bitx32-64Gives Lua 5.2 bit32 module support for Lua 5.4 and Lua 5.5 (and even Lua 5.3) with a builtin integration made up entirely using Lua.
Also features a bit64 extra module for other applications.
Versions
Dependencies
lua >= 5.3