设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Lua 5.3.0正式版发布

2015-1-14 16:01| 发布者: joejoe0332| 查看: 809| 评论: 0|原作者: oschina|来自: oschina

摘要: 经过 4 个 RC 版本,Lua 终于迎来了 5.3.0 正式版。新版本主要增加对整数支持,支持位操作,提供一个基本的 UTF-8 库。 下载地址:http://www.lua.org/ftp/lua-5.3.0.tar.gz 其他方面的改进包括: 语言特性 userdata ...

经过 4 个 RC 版本,Lua 终于迎来了 5.3.0 正式版。新版本主要增加对整数支持,支持位操作,提供一个基本的 UTF-8 库。

下载地址:http://www.lua.org/ftp/lua-5.3.0.tar.gz

其他方面的改进包括:

语言特性

  • userdata can have any Lua value as uservalue

  • integer division

  • more flexible rules for some metamethods

  • ipairs and the table library respect metamethods

  • strip option in string.dump

  • table library respects metamethods

  • new function table.move

  • new function string.pack

  • new function string.unpack

  • new function string.packsize

C API

  • simpler API for continuation functions in C

  • lua_gettable and similar functions return type of resulted value

  • strip option in lua_dump

  • new function: lua_geti

  • new function: lua_seti

  • new function: lua_isyieldable

  • new function: lua_numbertointeger

  • new function: lua_rotate

  • new function: lua_stringtonumber

Lua 标准解释器

  • can be used as calculator; no need to prefix with '='

  • arg table available to all code


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部