Lua 5.3.0 (beta) 发布下载

Linux大全评论1.5K views阅读模式

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

Lua 语言 15 分钟快速入门 http://www.linuxidc.com/Linux/2013-06/86582.htm

Lua程序设计(第2版)中文 PDF http://www.linuxidc.com/Linux/2013-03/81833.htm

Lua程序设计(第二版)阅读笔记 http://www.linuxidc.com/Linux/2013-03/81834.htm

NetBSD 将支持用 Lua 脚本开发内核组件 http://www.linuxidc.com/Linux/2013-02/79527.htm

CentOS 编译安装 Lua LuaSocket http://www.linuxidc.com/Linux/2011-08/41105.htm

企鹅博客
  • 本文由 发表于 2020年8月22日 22:34:30
  • 转载请务必保留本文链接:https://www.qieseo.com/287854.html

发表评论