Roberto Ierusalimschy
0d50b87aa4
lua_table now has references to global variable names (TreeNode's).
29 years ago
Roberto Ierusalimschy
8dae4657a1
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
library.
29 years ago
Roberto Ierusalimschy
3681d025ac
new function "assert"
29 years ago
Roberto Ierusalimschy
a19f9056f3
new function "tostring".
29 years ago
Roberto Ierusalimschy
e74b250d71
memory overflow tries a garbage collection; if it fails then exit the
program.
29 years ago
Roberto Ierusalimschy
bf006eeaf5
"getobjectname" got a "lua_" prefix.
29 years ago
Roberto Ierusalimschy
63b8a6fd20
"getobjname" checks first fallbacks (so, if a function is global and
a fallback, it is reported as a fallback).
29 years ago
Roberto Ierusalimschy
15d48576ea
functions now may be declared with any "var" as a name;
therefore they do not have a "baptism" name.
Changes in debug API to acomodate that.
29 years ago
Roberto Ierusalimschy
ebcf546a55
small changes in the format of debug information.
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
b17c76817d
new function "luaI_findconstantbyname".
29 years ago
Roberto Ierusalimschy
68f337dfa6
Garbage collection of functions + header structure for functions
30 years ago
Roberto Ierusalimschy
457bac94ce
small corrections to avoid uninitialized global variables.
30 years ago
Waldemar Celes
e13753e2fb
Ajustar limites para garbage collection.
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
Waldemar Celes
6e0e9935ec
trocar a funcao para garbage colector adaptativo.
30 years ago
Roberto Ierusalimschy
f4591397da
strdup is done via mem.c to control its memory allocation
30 years ago
Roberto Ierusalimschy
8faf4d1de2
control of garbage collection is done with Longs, as there can be
more than WORD objects to collect.
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
d490555ec9
garbage collection tag for strings organized in struct TaggedString
30 years ago
Roberto Ierusalimschy
bba1ae427f
new lua functions 'getglobal' and 'setglobal'
30 years ago
Roberto Ierusalimschy
73664eb739
function 'lua_createstring' moved from table.c to tree.c
30 years ago
Roberto Ierusalimschy
b234da1cc2
changes in garbage collection control
30 years ago
Roberto Ierusalimschy
2b5bc5d1a8
new module for memory allocation
30 years ago
Roberto Ierusalimschy
94686ce585
correction of function 'nextvar'
30 years ago
Roberto Ierusalimschy
86b35cf4f6
unification of symbol tree and constant tree
30 years ago
Roberto Ierusalimschy
b8996eaaba
small corrections to avoid 'warings' with acc
30 years ago
Roberto Ierusalimschy
ff7f769454
small changes in error recovery
30 years ago
Roberto Ierusalimschy
5f2d187b73
frees file names when unstacked
30 years ago
Roberto Ierusalimschy
dabe09518f
garbage collection for locked objects
30 years ago
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
30 years ago
Roberto Ierusalimschy
8c22057b2e
new global function 'setfallback'
30 years ago
Roberto Ierusalimschy
42ef3f9388
there is no need of predefined constants.
30 years ago
Roberto Ierusalimschy
852d9a8597
function 'lua_addfile' returns an error message
30 years ago
Roberto Ierusalimschy
0162decc58
tags T_NIL, etc, changed to LUA_T_NIL, etc
30 years ago
Roberto Ierusalimschy
ac68a3abc4
frees filename from file stack
30 years ago
Roberto Ierusalimschy
1a6536aaad
deletion of 'include mm.h'
30 years ago
Roberto Ierusalimschy
25010f8e09
remove of 'printf' for debuging.
30 years ago
Waldemar Celes
f8c8159362
adaptative garbage collection.
30 years ago
Waldemar Celes
b1e9b37883
Implementacao de funcoes para tratar Lua function em C e
correcoes de bugs nas tabelas dinamicas.
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
Waldemar Celes
44521b21e5
Implementacao da nova estrategia para armazenar os arrays
em lista encadeada.
31 years ago
Waldemar Celes
ed80de37d9
Correcao de bug: uma string ja' existente na tabela de string nao
estava sendo liberada.
31 years ago
Waldemar Celes
662e2fa5cc
Modificaco para reservar espaco do byte para marcar constantes
pre-definidas.
31 years ago
Waldemar Celes
540dc65bcd
Acrescentar o gerenciador de memoria "mm", corrigir bug reservando
o byte para a coleta de lixo nas constantes pre-definidas e
colocar um teste em tempo de execucao para evitar duplicidade de
valores na tabela de strings (teste ainda linear).
31 years ago
Roberto Ierusalimschy
72f67fa810
eliminacao da funcao findenclosedconstant, cuja tarefa agora
e' realizada pelo analizador lexico
31 years ago
Waldemar Celes
4478f0ce92
Module to control static tables
31 years ago
The Lua team
cd05d9c5cb
oldest known commit
32 years ago