lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I wonder if it would not have been simpler to add a LUA_TINTEGER type,
without automatic coercion (and use the C rules for divisions) ?

-- this sequence look strange.

x=4/2 -- float
y=x&2 -- accepted
x=3/2
y=x&1 -- error: number (global 'x') has no integer representation


-----Message d'origine-----
De : lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] De la
part de Luiz Henrique de Figueiredo
Envoyé : lundi 22 décembre 2014 15:35
À : lua-l@lists.lua.org
Objet : [ANN] Lua 5.3.0 (rc2) now available

Lua 5.3.0 (rc2) is now available for testing at
	http://www.lua.org/work/lua-5.3.0-rc2.tar.gz

MD5	61726271cf342794909a1752ea0c0aae  -
SHA1	457be7b889f7825c3b9c8b9a4b95b85c0c0b434d  -

This is a release candidate for the final release of Lua 5.3.0.

A few things have changed since beta that we'd like to test in the wild.
In particular, we made some changes in luaconf.h and in the Makefile
that we'd like to test. Please try compiling the current code in as many
platforms as possible. We expect the compilation will go smoothly as usual
but please report any warnings or other glitches.

We'd also like feedback on the documentation:
	http://www.lua.org/work/doc/readme.html
	http://www.lua.org/work/doc/contents.html
	http://www.lua.org/work/doc/manual.html

Finally, for those of you into this, please test luac -l -l on your
scripts, just to make sure we haven't missed anything with the new
VM instructions etc.

The main change in Lua 5.3.0 is the introduction of integers. See also
	http://www.lua.org/work/doc/#changes

The complete diffs are available at
	http://www.lua.org/work/diffs-lua-5.3.0-rc1-rc2.txt

An updated test suite is available at
	http://www.lua.org/work/lua-5.3.0-rc2-tests.tar.gz

All feedback welcome. Thanks.
--lhf