Roberto Ierusalimschy
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
29 years ago
Roberto Ierusalimschy
45cf24485d
useless #include.
29 years ago
Roberto Ierusalimschy
0f4903a5d7
new header "lex.h".
29 years ago
Roberto Ierusalimschy
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
an array of hash tables for all them.
29 years ago
Roberto Ierusalimschy
56fb06b6f5
"lua_debug" now is exported through debug interface (luadebug.h)
29 years ago
Roberto Ierusalimschy
19290a8e92
"dofile" issues an error when called with non string arguments, and
runs stdin when called without arguments.
29 years ago
Roberto Ierusalimschy
d845963349
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
library.
new function "assert".
29 years ago
Roberto Ierusalimschy
a19f9056f3
new function "tostring".
29 years ago
Roberto Ierusalimschy
9efc257d9d
new method to keep debug line information: current line is stored on the
Lua stack, just below (new) base, with tag LUA_T_LINE.
SETLINE opcodes are generated by lex.
29 years ago
Roberto Ierusalimschy
fa71304e54
"dofile" now accepts NULL as parameter, to run stdin.
29 years ago
Roberto Ierusalimschy
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
opcodes. When a function is called, its entry in the stack is marked with
LUA_T_(C)MARK, so function 'luaD_stackedfunction' can find it if
needed.
Functions now have their file names in the headers, so there is no need
of 'addfile' and the like.
29 years ago
Roberto Ierusalimschy
28b3017baf
lua function "type" now returns the string "function" both for lua
functions and c functions.
30 years ago
Roberto Ierusalimschy
68f337dfa6
Garbage collection of functions + header structure for functions
30 years ago
Roberto Ierusalimschy
ec79f25286
new lua function "getstack"; new interface to function luaI_reportbug.
30 years ago
Roberto Ierusalimschy
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
"lua_reportbug" is only an internal function to build debug information
30 years ago
Roberto Ierusalimschy
36b6fdda83
function "type" now returns a second result: the tag of the type,
so lua can discriminate different kinds of user data.
30 years ago
Waldemar Celes
3c67d2595b
error message buffer got a bigger size
30 years ago
Roberto Ierusalimschy
8cb8594a3b
better control of integer types and their limits
30 years ago
Roberto Ierusalimschy
3365a35243
new constant LUA_NOOBJECT
30 years ago
Roberto Ierusalimschy
5dfd17dd76
new API function 'lua_pushliteral'
30 years ago
Roberto Ierusalimschy
d490555ec9
garbage collection tag for strings organized in struct TaggedString
30 years ago
Roberto Ierusalimschy
52db68a600
debug shows lines where functions were called
30 years ago
Roberto Ierusalimschy
86b35cf4f6
unification of symbol tree and constant tree
30 years ago
Roberto Ierusalimschy
fc0de64c2c
lua_debugline is kept in the stack 'funcstack' when debugging.
30 years ago
Roberto Ierusalimschy
65f28f0824
error function for Lua
30 years ago
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
30 years ago
Roberto Ierusalimschy
31d58e2f01
more functions from opcode.c
'open_file' and 'open_string' return an error message
lua_type renamed to luaI_type (I for Internal, as this function is not
exported outside lua)
30 years ago
Roberto Ierusalimschy
ae77864844
tags T_NIL, etc, changed to LUA_T_NIL, etc
some lua_ functions changed form opcode.c to here
30 years ago
Waldemar Celes
e9049cbfc9
files end with EOF, instead of 0.
30 years ago
Waldemar Celes
ceaaa0cca8
Correcao do tratamento de erro reportado dentro de uma funcao.
31 years ago
Waldemar Celes
1ea0d09281
Alteracao do buffer de funcao de 32 para 64.
31 years ago
Roberto Ierusalimschy
0ec3a21451
inclui 'lua.h' que contem prototipos das funcoes 'lua_errorfunction' e
'lua_error'.
31 years ago
Waldemar Celes
493d718b7f
Uso de arvores binarias para armazenar nomes e realocacao dinamica
de tabelas (pilhas, hashtable, globais, codigo, etc.)
31 years ago
Roberto Ierusalimschy
f65ebced50
eliminacao do tipo e funcoes relacionadas com Unput
31 years ago
Waldemar Celes
75ed504382
Provide function to realise the input/output function and debugger
facilities.
31 years ago
The Lua team
cd05d9c5cb
oldest known commit
32 years ago