Mirror of the amazing lua scripting language
#lua #script #scripting #script-engine #embed #embedded #script-language

The Lua team b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
fixed b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
Makefile b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
README b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
array.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
floatingpoint.h b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
globals.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
hash.c cd05d9c5cb oldest known commit 32 年之前
hash.h cd05d9c5cb oldest known commit 32 年之前
inout.c cd05d9c5cb oldest known commit 32 年之前
inout.h cd05d9c5cb oldest known commit 32 年之前
iolib.c cd05d9c5cb oldest known commit 32 年之前
lex_yy.c cd05d9c5cb oldest known commit 32 年之前
lua.c cd05d9c5cb oldest known commit 32 年之前
lua.h cd05d9c5cb oldest known commit 32 年之前
lualib.h cd05d9c5cb oldest known commit 32 年之前
mathlib.c cd05d9c5cb oldest known commit 32 年之前
opcode.c cd05d9c5cb oldest known commit 32 年之前
opcode.h cd05d9c5cb oldest known commit 32 年之前
save.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
sort.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
strlib.c cd05d9c5cb oldest known commit 32 年之前
table.c cd05d9c5cb oldest known commit 32 年之前
table.h cd05d9c5cb oldest known commit 32 年之前
test.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
type.lua b9dde086db This is Lua 1.0. It was never publicly released. This code is a snapshot of 22 年之前
y_tab.c cd05d9c5cb oldest known commit 32 年之前
y_tab.h cd05d9c5cb oldest known commit 32 年之前

README

This is Lua 1.0. It was never publicly released. This code is a snapshot 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]