设为首页收藏本站

LUPA开源社区

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

Lua 5.3.0 (beta)发布

2014-10-28 16:05| 发布者: joejoe0332| 查看: 594| 评论: 0|原作者: oschina|来自: oschina

摘要:   Lua 5.3.0 (beta) 发布,此版本现已提供测试:http://www.lua.org/work/lua-5.3.0-beta.tar.gz。MD5 e46b91de3d22a308d3350a14b242e2c7 -SHA1 0fa2b527611fe3a1b083359ce15e91f27b108eec -  此版本是个 Beta ...

  Lua 5.3.0 (beta) 发布,此版本现已提供测试:http://www.lua.org/work/lua-5.3.0-beta.tar.gz


MD5 e46b91de3d22a308d3350a14b242e2c7  -
SHA1    0fa2b527611fe3a1b083359ce15e91f27b108eec  -


  此版本是个 Beta 版本,有一些特性可能会在最终版本修改。此版本最主要的是引入了 integers,同时还引入了 string.pack 和 string.unpack,用来替换和扩展 string.dump 和 string.undump。


主要改进

  • integers (64-bit by default)

  • 官方支持 small architectures ("Small Lua" with 32-bit numbers)

  • bitwise 操作符

  • 支持基础 utf-8

其他改进

Language

  • userdata can have any Lua value as uservalue

  • integer division

  • more flexible rules for some metamethods

  • utf-8 escapes in literal strings

Libraries

  • basic utf-8 library

  • ipairs and the table library respect metamethods

  • functions for packing and unpacking numbers

  • strip option in string.dump

  • table library respects metamethods

  • new function table.copy

  • new function debug.sizeof

  • strip option instring.dumpandlua_dump

C API

  • simpler API for continuation functions in C

  • new functions:lua_rotate,lua_isyieldable,lua_strtonum,lua_geti,lua_seti

  • lua_gettable and similar functions return type of resulted value

Lua standalone interpreter

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

  • arg table available to all code

更多内容请看这里:

http://www.lua.org/work/diffs-lua-5.3.0-alpha-beta.txt

酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部