|
> Trying to port it to using the bit library is very error-prone Perhaps there is a niche for a tool that converts infix bitwise expressions in whatever syntax you prefer to Lua code using the bit library. It's probably quite easy to write this tool with LPEG.