Skip to content

Support bitwise operations in luaL_loadbuffer_proto #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ligurio
Copy link
Owner

@ligurio ligurio commented Jun 3, 2025

No description provided.

@ligurio ligurio force-pushed the ligurio/gh-xxxx-support-bitwise-operations branch 2 times, most recently from e1b826f to a237ac6 Compare June 9, 2025 12:40
The PUC Rio Lua 5.3 has introduced a floor division (//)
operation. It is a division that rounds the quotient towards
minus infinity, that is, the floor of the division of its operands.
The patch adds support of the aforementioned operation to a
protobuf schema, serializer and preamble.
@ligurio ligurio force-pushed the ligurio/gh-xxxx-support-bitwise-operations branch from a237ac6 to e1d1dde Compare June 9, 2025 15:02
The `bit32` library has been deprecated in PUC Rio Lua 5.3 [1].
Missed bitwise functions have been replaced by appropriate bitwise
operations [2]. The patch adds support of bitwise operations to
the test `luaL_loadbuffer_proto`.

1. https://www.lua.org/manual/5.3/manual.html#8.2
2. https://www.lua.org/manual/5.3/manual.html#3.4.2
@ligurio ligurio force-pushed the ligurio/gh-xxxx-support-bitwise-operations branch from e1d1dde to 85d173c Compare June 10, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant