73eeabad22
* Changes from version 4.0 to 5.0 ------------------------------- Language: + lexical scoping. + Lua coroutines. + standard libraries now packaged in tables. + tags replaced by metatables and tag methods replaced by metamethods, stored in metatables. + proper tail calls. + each function can have its own global table, which can be shared. + new __newindex metamethod, called when we insert a new key into a table. + new block comments: --[[ ... ]]. + new generic for. + new weak tables. + new boolean type. + new syntax "local function". + (f()) returns the first value returned by f. + {f()} fills a table with all values returned by f. + \n ignored in [[\n . + fixed and-or priorities. + more general syntax for function definition (e.g. function a.x.y:f()...end). + more general syntax for function calls (e.g. (print or write)(9)). + new functions (time/date, tmpfile, unpack, require, load*, etc.). API: + chunks are loaded by using lua_load; new luaL_loadfile and luaL_loadbuffer. + introduced lightweight userdata, a simple "void*" without a metatable. + new error handling protocol: the core no longer prints error messages; all errors are reported to the caller on the stack. + new lua_atpanic for host cleanup. + new, signal-safe, hook scheme. Implementation: + new license: MIT. + new, faster, register-based virtual machine. + support for external multithreading and coroutines. + new and consistent error message format. + the core no longer needs "stdio.h" for anything (except for a single use of sprintf to convert numbers to strings). + lua.c now runs the environment variable LUA_INIT, if present. It can be "@filename", to run a file, or the chunk itself. + support for user extensions in lua.c. sample implementation given for command line editing. + new dynamic loading library, active by default on several platforms. + safe garbage-collector metamethods. + precompiled bytecodes checked for integrity (secure binary dostring). + strings are fully aligned. + position capture in string.find. + read('*l') can read lines with embedded zeros.
68 lines
1.7 KiB
Text
68 lines
1.7 KiB
Text
@comment $NetBSD: PLIST,v 1.3 2003/04/29 23:33:56 jtb Exp $
|
|
bin/lua
|
|
bin/luac
|
|
include/lauxlib.h
|
|
include/lua.h
|
|
include/lualib.h
|
|
lib/liblua.a
|
|
lib/liblua.so
|
|
lib/liblua.so.1
|
|
lib/liblua.so.1.0
|
|
lib/liblua_p.a
|
|
lib/liblua_pic.a
|
|
lib/liblualib.a
|
|
lib/liblualib.so
|
|
lib/liblualib.so.1
|
|
lib/liblualib.so.1.0
|
|
lib/liblualib_p.a
|
|
lib/liblualib_pic.a
|
|
man/cat1/lua.0
|
|
man/cat1/luac.0
|
|
man/man1/lua.1
|
|
man/man1/luac.1
|
|
share/doc/html/lua/logo.gif
|
|
share/doc/html/lua/lua.html
|
|
share/doc/html/lua/luac.html
|
|
share/doc/html/lua/manual.html
|
|
share/doc/html/lua/readme.html
|
|
share/doc/lua/COPYRIGHT
|
|
share/doc/lua/HISTORY
|
|
share/doc/lua/README
|
|
share/examples/lua/README
|
|
share/examples/lua/bisect.lua
|
|
share/examples/lua/cf.lua
|
|
share/examples/lua/compat.lua
|
|
share/examples/lua/echo.lua
|
|
share/examples/lua/env.lua
|
|
share/examples/lua/etc/README
|
|
share/examples/lua/etc/bin2c.c
|
|
share/examples/lua/etc/compat.lua
|
|
share/examples/lua/etc/doall.lua
|
|
share/examples/lua/etc/lua.magic
|
|
share/examples/lua/etc/lua.xpm
|
|
share/examples/lua/etc/luser_number.h
|
|
share/examples/lua/etc/luser_tests.h
|
|
share/examples/lua/etc/min.c
|
|
share/examples/lua/etc/noparser.c
|
|
share/examples/lua/etc/saconfig.c
|
|
share/examples/lua/etc/trace.c
|
|
share/examples/lua/factorial.lua
|
|
share/examples/lua/fib.lua
|
|
share/examples/lua/fibfor.lua
|
|
share/examples/lua/globals.lua
|
|
share/examples/lua/hello.lua
|
|
share/examples/lua/life.lua
|
|
share/examples/lua/luac.lua
|
|
share/examples/lua/printf.lua
|
|
share/examples/lua/readonly.lua
|
|
share/examples/lua/sieve.lua
|
|
share/examples/lua/sort.lua
|
|
share/examples/lua/table.lua
|
|
share/examples/lua/trace-calls.lua
|
|
share/examples/lua/trace-globals.lua
|
|
share/examples/lua/undefined.lua
|
|
share/examples/lua/xd.lua
|
|
@dirrm share/examples/lua/etc
|
|
@dirrm share/examples/lua
|
|
@dirrm share/doc/lua
|
|
@dirrm share/doc/html/lua
|