Skip to content

Tags: nist/lua

Tags

v5.2.0

Toggle v5.2.0's commit message
new way to handle -E option (write a mark in the registry to avoid

reading environment variables)

v5.2-beta

Toggle v5.2-beta's commit message
added '_M_IX86' in NaN trick

v5.2-alpha

Toggle v5.2-alpha's commit message
removed deprecated functions getn-foreach-foreachi

v5.1.1

Toggle v5.1.1's commit message
details

v5.1

Toggle v5.1's commit message
small change to strip file names when stripping debug information

v5.1-beta

Toggle v5.1-beta's commit message
no more "auto-detection"

v5.1-alpha

Toggle v5.1-alpha's commit message
explicit macro to control use of _longjmp

v1.0

Toggle v1.0's commit message
This is Lua 1.0. It was never publicly released. This code is a snaps…

…hot of

the status of Lua on 28 Jul 1993. It is distributed for historical curiosity
to celebrate 10 years of Lua and is hereby placed in the public domain.

There is no documentation, except the test programs. The manual for Lua 1.1
probably works for this version as well.

The source files for the lexer and parser have been lost: all that is left is
the output of lex and yacc. A grammar can be found inside y_tab.c in yyreds.

The code compiles and runs in RedHat 5.2 with gcc 2.7.2.3. It may not run in
newer systems, because it assumes that stdin and stdout are constants, though
ANSI C does not promise they are. If make fails, try using the fixed modules
provided in the "fixed" directory. To see the differences (which are really
quite minor), do "make diff".

To see Lua 1.0 in action, do "make test". (The last test raises an error on
purpose.)

Enjoy!

-- The Lua team, [email protected]

v5.0

Toggle v5.0's commit message
last changes by lhf

v5.0-beta

Toggle v5.0-beta's commit message
better explanation (+ example) for coroutines