Roberto Ierusalimschy
b8bfa9628d
because lua_error does a longjmp, there is no need to a variable
'err'.
lua_parse has a different interface, to allow the free of the main
block even if compilation fails.
small changes in the debug system.
30 years ago
Roberto Ierusalimschy
dabe09518f
garbage collection for locked objects
30 years ago
Roberto Ierusalimschy
65f28f0824
error function for Lua
30 years ago
Roberto Ierusalimschy
2cf954b8ae
lock mechanism
30 years ago
Roberto Ierusalimschy
aa7b1fcec4
new API
30 years ago
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
30 years ago
Roberto Ierusalimschy
9ffba7a3db
first implementation of 'fallbacks'
30 years ago
Roberto Ierusalimschy
de4e2305c5
Type renamed to lua_Type
30 years ago
Roberto Ierusalimschy
63d300167e
module to implement default fallbacks and lock mechanisms
30 years ago
Roberto Ierusalimschy
62ec3797d5
inheritance is not built-in
30 years ago
Roberto Ierusalimschy
0a5dce5704
new opcodes for '>' and '>='
30 years ago
Roberto Ierusalimschy
8c22057b2e
new global function 'setfallback'
30 years ago
Roberto Ierusalimschy
253655ae4b
small corrections.
30 years ago
Roberto Ierusalimschy
c635044f2f
creation of function do_protectedrun, that executes lua code enclosed
in a setjmp, with error recovery.
Elimination of functions lua_isnil, etc.
30 years ago
Roberto Ierusalimschy
3db06a95a3
Elimination of functions lua_isnil, etc.
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
42ef3f9388
there is no need of predefined constants.
30 years ago
Roberto Ierusalimschy
2651afc455
RESET is generated at codereturn.
30 years ago
Roberto Ierusalimschy
5cb6856ebc
because lua_error now does a longjmp, many functions do not need
to check conditions.
30 years ago
Roberto Ierusalimschy
852d9a8597
function 'lua_addfile' returns an error message
30 years ago
Roberto Ierusalimschy
6b18cc9a17
prototype for function 'yylex'
30 years ago
Roberto Ierusalimschy
fbf887ec2b
new way to call functions, plus several small changes. This is
a temporary version!
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
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
f53460aab9
CREATEARRAY now has an argument, the size of the array to create.
30 years ago
Roberto Ierusalimschy
41e4c5798e
small corrections
30 years ago
Roberto Ierusalimschy
fb23cd2e26
deletion of 'include mm.h'
30 years ago
Waldemar Celes
2f1de3b1e1
implementacao das funcoes 'date', 'time' e 'beep'.
troca de nome de 'abort' para 'exit'
30 years ago
Roberto Ierusalimschy
1a6536aaad
deletion of 'include mm.h'
30 years ago
Waldemar Celes
d7cb47fadf
new parameter in function 'tree_create'. Maybe we will return to
version 1.1
30 years ago
Waldemar Celes
f84abc6799
split to 'ugly.h'.
30 years ago
Waldemar Celes
3386e3c1fb
definition of ugly tokens
30 years ago
Roberto Ierusalimschy
25010f8e09
remove of 'printf' for debuging.
30 years ago
Waldemar Celes
424db1db0c
power operator (^).
no more contructors (@).
methods can be called on indexed variables.
fixed debuging information.
30 years ago
Waldemar Celes
e9049cbfc9
files end with EOF, instead of 0.
30 years ago
Waldemar Celes
f8c8159362
adaptative garbage collection.
30 years ago
Waldemar Celes
d1c5f42943
new algorithm for reading floats.
files end with EOF, instead of 0.
30 years ago
Waldemar Celes
ad07c0f638
new operations POWOP (power) and PUSHMARKMET (for marking method calls).
remove of operation PUSHOBJECT.
30 years ago
Waldemar Celes
fca10c6733
Aumentar buffer para saida.
31 years ago
Waldemar Celes
6bc68d4645
Acertar bug para evitar formato "%5.0s", por exemplo.
31 years ago
Waldemar Celes
ceaaa0cca8
Correcao do tratamento de erro reportado dentro de uma funcao.
31 years ago
Waldemar Celes
82ceb12b7a
Implementacao das funcoes para conversao de angulos rad r deg.
31 years ago
Waldemar Celes
87dded9363
Mudancas na sintaxe para a versao 2.0. Igual relacional passa
a ser ==, tiramos o colchete na criacao de tabelas usando apenas
chaves (podendo fazer inicializacao mista). O caracter @ so' deve
estar presente quando se tem construtores associados.
/
31 years ago
Waldemar Celes
d107d5bfd2
implementacao de busca no campo godparent em substituicao
ao campo parents.
31 years ago
Waldemar Celes
d7d7b477bb
consertar bug no formato real com zero casas decimais e
implementar a funcao readuntil.
31 years ago
Waldemar Celes
dc6d0dcc09
retirar especificador de formato %n da funcao ToReal e
acertar funcao lua_convtonumber.
31 years ago
Waldemar Celes
7cfb5ff41f
Mudancas para tornar lex.c um modulo independente dos outros
modulos de Lua
31 years ago
Luiz Henrique de Figueiredo
24c962de43
added support for ugly tokens
31 years ago
Waldemar Celes
98d9509676
sai strtod, entra sscanf. permite conversao de numeros com espacos em volta.
31 years ago