Lua version / Bit32 library
Lua version / Bit32 library
I'm looking for access to the Bit32 library from Lua 5.2. Is Mudlet even using 5.2? I heard LuaJIT mentioned, and I tried access its Bit library and that doesn't work either. Or are bitwise operations there somewhere and I'm just missing them?
Re: Lua version / Bit32 library
Mudlet is nor using Lua 5.2[1], not LuaJIT. You'd want to look up how to get them working under Lua 5.1 - perhaps there is a library you can use.
[1] 5.2 breaks compatibility, and we're pretty big on not breaking people's stuff. In fact, the whole Lua world is - so Lua 5.2 adoption is expected to be slow.
[1] 5.2 breaks compatibility, and we're pretty big on not breaking people's stuff. In fact, the whole Lua world is - so Lua 5.2 adoption is expected to be slow.
Re: Lua version / Bit32 library
In case anyone comes across this thread later, I've put together an all-Lua binary operator and SHA2 package.