Cuberite Forum

Full Version: Bitwise operators
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So is anyone willing to do the work to upgrade to Lua 5.2, or will we have to do with some kind of pure Lua implementation for now?
There currently aren't any plans to update Lua because our binding library (tolua++) wouldn't work anymore. There are some alternatives that do support Lua 5.2/5.3, but those don't support all the features we want. (overloading, operators, etc)
You'll have to make do with a pure-Lua implementation for now.

Perhaps if you wrote a specification on what the functions should look like, someone could provide an API with implementation in C++.
Thanks but no thanks, I'll wait till Lua gets updated to 5.2 Wink

For now I went with a pure Lua implementation, to be more specific, this one. It should even make the plugin compatible with bit32 once Lua is updated.
It seems to work great.
Pages: 1 2