diff -u -Nr lua-5.5.0-rc3/README lua-5.5.0-rc4/README --- lua-5.5.0-rc3/README 2025-12-08 14:36:11.061872958 -0300 +++ lua-5.5.0-rc4/README 2025-12-15 18:03:48.110697506 -0300 @@ -1,5 +1,5 @@ -This is Lua 5.5.0, released on 08 Dec 2025. +This is Lua 5.5.0, released on 15 Dec 2025. For installation instructions, license details, and further information about Lua, see doc/readme.html. Binary files lua-5.5.0-rc3/doc/OSIApproved.png and lua-5.5.0-rc4/doc/OSIApproved.png differ Binary files lua-5.5.0-rc3/doc/OSIApproved_100X125.png and lua-5.5.0-rc4/doc/OSIApproved_100X125.png differ diff -u -Nr lua-5.5.0-rc3/doc/manual.html lua-5.5.0-rc4/doc/manual.html --- lua-5.5.0-rc3/doc/manual.html 2025-12-08 14:34:06.982482324 -0300 +++ lua-5.5.0-rc4/doc/manual.html 2025-12-15 18:02:05.838495363 -0300 @@ -166,7 +166,7 @@
Unless stated otherwise, any overflow when manipulating integer values wrap around, -according to the usual rules of two-complement arithmetic. +according to the usual rules of two's complement arithmetic. (In other words, the actual result is the unique representable integer that is equal modulo 2n to the mathematical result, @@ -2546,12 +2546,12 @@
A table with exactly one border is called a sequence.
-For instance, the table {10, 20, 30, 40, 50} is a sequence,
+For instance, the table {10,20,30,40,50} is a sequence,
as it has only one border (5).
-The table {10, 20, 30, nil, 50} has two borders (3 and 5),
+The table {10,20,30,nil,50} has two borders (3 and 5),
and therefore it is not a sequence.
(The nil at index 4 is called a hole.)
-The table {nil, 20, 30, nil, nil, 60, nil}
+The table {nil,20,30,nil,nil,60,nil}
has three borders (0, 3, and 6),
so it is not a sequence, too.
The table {} is a sequence with border 0.
@@ -2947,7 +2947,7 @@
If the vararg table has a name,
that name is not an upvalue in a nested function
and it is used only as the base table
-in the syntactic constructions t[exp] or t.id).
+in the syntactic constructions t[exp] or t.id.
Note that an anonymous vararg table always satisfy these conditions.
@@ -2979,22 +2979,22 @@
return e1, e2, e3 (see §3.3.4).return e1,e2,e3 (see §3.3.4).
{e1, e2, e3} (see §3.4.9).{e1,e2,e3} (see §3.4.9).
foo(e1, e2, e3) (see §3.4.10).foo(e1,e2,e3) (see §3.4.10).
a , b, c = e1, e2, e3 (see §3.3.3).a,b,c = e1,e2,e3 (see §3.3.3).
for k in e1, e2, e3 do ... end (see §3.3.5).for k in e1,e2,e3 do ... end (see §3.3.5).
In the last four cases, @@ -3037,7 +3037,7 @@
-Here are some examples of uses of mutlres expressions. +Here are some examples of uses of multires expressions. In all cases, when the construction needs "the n-th result" and there is no such result, it uses a nil. @@ -3755,7 +3755,7 @@
Note that ISO C ensures
that free(NULL) has no effect and that
-realloc(NULL, size) is equivalent to malloc(size).
+realloc(NULL,size) is equivalent to malloc(size).
@@ -4447,9 +4447,9 @@
By default this type is long long,
-(usually a 64-bit two-complement integer),
+(usually a 64-bit two's complement integer),
but that can be changed to long or int
-(usually a 32-bit two-complement integer).
+(usually a 32-bit two's complement integer).
(See LUA_INT_TYPE in luaconf.h.)
@@ -4780,7 +4780,7 @@
Creates a new empty table and pushes it onto the stack.
-It is equivalent to lua_createtable(L, 0, 0).
+It is equivalent to lua_createtable(L,0,0).
@@ -6846,7 +6846,7 @@
All functions and types from the auxiliary library
-are defined in header file lauxlib.h and
+are defined in the header file lauxlib.h and
have a prefix luaL_.
@@ -7041,7 +7041,7 @@
b of type luaL_Buffer.luaL_buffinit(L, &b).luaL_buffinit(L,&b).b of type luaL_Buffer.sz with a call luaL_buffinitsize(L, &b, sz).sz with a call luaL_buffinitsize(L,&b,sz).
luaL_pushresultsize(&b, sz),
+Finish by calling luaL_pushresultsize(&b,sz),
where sz is the total size of the resulting string
copied into that space (which may be less than or
equal to the preallocated size).
@@ -7895,7 +7895,7 @@
You can retrieve an object referred by the reference r
-by calling lua_rawgeti(L, t, r) or lua_geti(L, t, r).
+by calling lua_rawgeti(L,t,r) or lua_geti(L,t,r).
The function luaL_unref frees a reference.
@@ -8243,7 +8243,7 @@
Alternatively,
the host can select which libraries to open,
by using luaL_openselectedlibs.
-Both functions are defined in the header file lualib.h.
+Both functions are declared in the header file lualib.h.
@@ -9869,7 +9869,7 @@
In particular,
the call string.sub(s,1,j) returns a prefix of s
with length j,
-and string.sub(s, -i) (for a positive i)
+and string.sub(s,-i) (for a positive i)
returns a suffix of s
with length i.
@@ -10389,7 +10389,7 @@
A negative n gets characters before position i.
The default for i is 1 when n is non-negative
and #s + 1 otherwise,
-so that utf8.offset(s, -n) gets the offset of the
+so that utf8.offset(s,-n) gets the offset of the
n-th character from the end of the string.
@@ -10464,7 +10464,7 @@
Inserts element value at position pos in list,
shifting up the elements
-list[pos], list[pos+1], ···, list[#list].
+list[pos],list[pos+1],···,list[#list].
The default value for pos is #list+1,
so that a call table.insert(t,x) inserts x at the end
of the list t.
@@ -10516,7 +10516,7 @@
returning the value of the removed element.
When pos is an integer between 1 and #list,
it shifts down the elements
-list[pos+1], list[pos+2], ···, list[#list]
+list[pos+1],list[pos+2],···,list[#list]
and erases element list[#list];
The index pos can also be 0 when #list is 0,
or #list + 1.
@@ -12499,7 +12499,7 @@