lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


A new snapshot of Lua 4.1 (work) is now available at
        http://www.tecgraf.puc-rio.br/lua/work/lua-4.1-work4.tar.gz

This version contains several changes mentioned in the list: core co-routines
(aka, the yield patch), dynamic stacks, new generalized "for" statement
("for k,v in f do .. end" calls to return k and v if f is a function),
simplified syntax for table constructors (you can freely mix items in the
"list part" with item in the "table part", as in {1,x=10,2,y=20}; ';' are gone, 
but still accepted for compatibility), eventtable has been renamed metatable,
lua.c supports incomplete statements, and probably more that I forget now ;-)

The manual has been partially updated is available at
        http://www.tecgraf.puc-rio.br/lua/work/refman-4.1-work4.pdf
        http://www.tecgraf.puc-rio.br/lua/work/refman-4.1-work4.ps.gz
It does not mention co-routines yet but it does describe the new for and
the new syntax for table constructors.

Of course, none of these changes is definitive. This is simply a work version
that is being made available so that you can experiment with it and send us
your feedback.

Enjoy.
--lhf