[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.0 (work3) now available
- From: Xavier Wang <weasley.wx@...>
- Date: Fri, 20 Jun 2014 17:56:11 +0800
Very happy to see lua_rotate added! Thanks a lot!
But I still want to see a API can push multiple values, maybe lua_pushvalues?
the new continuation routine need times to change :)
still miss the fast double/integer conversion, I have found l_castS2U
and l_castU2S can be defined out of lua, or maybe add
lua_number2integer, lua_integer2number, lua_unsigend2integer,
lua_integer2unsigned to luaconf.h? allow others to make the tricks.
2014-06-20 4:32 GMT+08:00 Luiz Henrique de Figueiredo <firstname.lastname@example.org>:
> Lua 5.3.0 (work3) is now available for testing at
> MD5 4d50bbe8a2dffa5764caa099d2fa5d6b -
> SHA1 ea5061a02f7b9f526562cda21ffa6fcf8c2f1ea9 -
> This is a work version. An updated reference manual is included but
> all details may change in the final version. See
> The main change in Lua 5.3.0 is the introduction of integers.
> For other changes, see
> Here are the main changes since work2:
> - exponentiation is only for floats
> - more functions in math handling integers
> - new API for continuation functions
> - io.read'*n' reads both floats and integers
> - new function debug.Csize
> - new API function lua_rotate, lua_isyieldable
> - more flexible __eq
> - stand-alone interpreter creates 'arg' before running any code
> - coercion from strings to integers (on integer operations)
> - deprecation of some math functions
> The complete diffs from work2 are at
> All feedback welcome. Thanks.