Skip to content

[ANN] std.normalize v5.1 released

Latest

Choose a tag to compare

@gvvaughan gvvaughan released this 30 Oct 00:51
· 0 commits to master since this release

Normalized Lua Functions

I am happy to announce release 5.1 of std.normalize.

std.normalize's home page is at https://lua-stdlib.github.io/normalize

Noteworthy changes in release 5.1 (2026-10-29) [stable]

New features

  • New bit32 library, with every function of the bit32 of Lua 5.2
    (arshift, band, bnot, bor, btest, bxor, extract,
    lrotate, lshift, replace, rrotate and rshift), for every
    host, so that {'bit32.band'} imports it for a library that needs
    bitwise operations, without a rock or a different file for each Lua.
    All of its functions work on unsigned 32-bit integers, and wrap what
    is out of range modulo 2^32. In a Lua that has bit32 it is that,
    and otherwise it is made of the operators of Lua 5.3 and later, the
    bit library of LuaJIT, or else plain arithmetic, whichever is first
    to give the same results. When typecheck is installed, each of them
    checks its arguments, as the other functions do.

Install it with LuaRocks, using:

luarocks install std.normalize 5.1