moonsharp icon indicating copy to clipboard operation
moonsharp copied to clipboard

Bitwise operators and floor division operator from Lua 5.3

Open R-033 opened this issue 1 year ago • 0 comments

Adds support for bitwise operators &, |, ~ (XOR and NOT), << and >>, as well as // from Lua 5.3.

As I understand main reason why these were not implemented in Moonsharp was because it doesn't have an integer type, however I still find these operators useful for running some scripts targeting Lua 5.3. Some other people might find this change valuable as well.

R-033 avatar Dec 18 '24 15:12 R-033