Roberto Ierusalimschy
d531ccd082
execution of 'mains' separated from calls
1994-11-09 16:13:29 -02:00
Roberto Ierusalimschy
df0cfc1e19
calls lua_reportbug instead of lua_error, in default fallbacks
1994-11-09 16:12:42 -02:00
Roberto Ierusalimschy
5f2d187b73
frees file names when unstacked
1994-11-09 16:11:47 -02:00
Roberto Ierusalimschy
6b387e01b2
lua_parse has a different interface
1994-11-09 16:10:58 -02:00
Roberto Ierusalimschy
d0780fa16d
lua_call cannot be a macro, because it would push the function
...
over the parameters
1994-11-09 16:10:11 -02:00
Roberto Ierusalimschy
fc0de64c2c
lua_debugline is kept in the stack 'funcstack' when debugging.
1994-11-09 16:09:22 -02:00
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.
1994-11-09 16:07:38 -02:00
Roberto Ierusalimschy
dabe09518f
garbage collection for locked objects
1994-11-08 18:07:54 -02:00
Roberto Ierusalimschy
65f28f0824
error function for Lua
1994-11-08 18:06:15 -02:00
Roberto Ierusalimschy
2cf954b8ae
lock mechanism
1994-11-08 17:56:39 -02:00
Roberto Ierusalimschy
aa7b1fcec4
new API
1994-11-07 16:27:39 -02:00
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
1994-11-07 14:34:44 -02:00
Roberto Ierusalimschy
9ffba7a3db
first implementation of 'fallbacks'
1994-11-07 13:20:56 -02:00
Roberto Ierusalimschy
de4e2305c5
Type renamed to lua_Type
1994-11-07 13:20:56 -02:00
Roberto Ierusalimschy
63d300167e
module to implement default fallbacks and lock mechanisms
1994-11-07 13:20:56 -02:00
Roberto Ierusalimschy
62ec3797d5
inheritance is not built-in
1994-11-07 13:19:51 -02:00
Roberto Ierusalimschy
0a5dce5704
new opcodes for '>' and '>='
1994-11-06 13:35:04 -02:00
Roberto Ierusalimschy
8c22057b2e
new global function 'setfallback'
1994-11-04 15:20:00 -02:00
Roberto Ierusalimschy
253655ae4b
small corrections.
1994-11-04 08:47:49 -02:00
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.
1994-11-04 08:47:49 -02:00
Roberto Ierusalimschy
3db06a95a3
Elimination of functions lua_isnil, etc.
1994-11-04 08:47:49 -02:00
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)
1994-11-03 20:34:29 -02:00
Roberto Ierusalimschy
42ef3f9388
there is no need of predefined constants.
1994-11-03 20:33:40 -02:00
Roberto Ierusalimschy
2651afc455
RESET is generated at codereturn.
1994-11-03 20:32:42 -02:00
Roberto Ierusalimschy
5cb6856ebc
because lua_error now does a longjmp, many functions do not need
...
to check conditions.
1994-11-03 20:20:15 -02:00
Roberto Ierusalimschy
852d9a8597
function 'lua_addfile' returns an error message
1994-11-03 19:48:36 -02:00
Roberto Ierusalimschy
6b18cc9a17
prototype for function 'yylex'
1994-11-03 15:09:20 -02:00
Roberto Ierusalimschy
fbf887ec2b
new way to call functions, plus several small changes. This is
...
a temporary version!
1994-11-02 18:30:53 -02:00
Roberto Ierusalimschy
ae77864844
tags T_NIL, etc, changed to LUA_T_NIL, etc
...
some lua_ functions changed form opcode.c to here
1994-11-02 18:29:39 -02:00
Roberto Ierusalimschy
0162decc58
tags T_NIL, etc, changed to LUA_T_NIL, etc
1994-11-02 18:29:09 -02:00
Roberto Ierusalimschy
ac68a3abc4
frees filename from file stack
1994-11-02 17:09:23 -02:00
Roberto Ierusalimschy
f53460aab9
CREATEARRAY now has an argument, the size of the array to create.
1994-11-01 16:25:20 -02:00
Roberto Ierusalimschy
41e4c5798e
small corrections
1994-11-01 15:54:31 -02:00
Roberto Ierusalimschy
fb23cd2e26
deletion of 'include mm.h'
1994-10-21 17:00:12 -02:00
Waldemar Celes
2f1de3b1e1
implementacao das funcoes 'date', 'time' e 'beep'.
...
troca de nome de 'abort' para 'exit'
1994-10-19 15:02:20 -02:00
Roberto Ierusalimschy
1a6536aaad
deletion of 'include mm.h'
1994-10-18 16:34:47 -02:00
Waldemar Celes
d7cb47fadf
new parameter in function 'tree_create'. Maybe we will return to
...
version 1.1
1994-10-18 15:36:11 -02:00
Waldemar Celes
f84abc6799
split to 'ugly.h'.
1994-10-18 15:34:34 -02:00
Waldemar Celes
3386e3c1fb
definition of ugly tokens
1994-10-18 12:30:29 -02:00
Roberto Ierusalimschy
25010f8e09
remove of 'printf' for debuging.
1994-10-17 19:45:00 -02:00
Waldemar Celes
424db1db0c
power operator (^).
...
no more contructors (@).
methods can be called on indexed variables.
fixed debuging information.
1994-10-17 17:05:32 -02:00
Waldemar Celes
e9049cbfc9
files end with EOF, instead of 0.
1994-10-17 17:04:19 -02:00
Waldemar Celes
f8c8159362
adaptative garbage collection.
1994-10-17 17:03:23 -02:00
Waldemar Celes
d1c5f42943
new algorithm for reading floats.
...
files end with EOF, instead of 0.
1994-10-17 17:01:53 -02:00
Waldemar Celes
ad07c0f638
new operations POWOP (power) and PUSHMARKMET (for marking method calls).
...
remove of operation PUSHOBJECT.
1994-10-17 17:00:40 -02:00
Waldemar Celes
fca10c6733
Aumentar buffer para saida.
1994-10-13 16:28:54 -03:00
Waldemar Celes
6bc68d4645
Acertar bug para evitar formato "%5.0s", por exemplo.
1994-10-13 14:18:32 -03:00
Waldemar Celes
ceaaa0cca8
Correcao do tratamento de erro reportado dentro de uma funcao.
1994-10-11 11:38:17 -03:00
Waldemar Celes
82ceb12b7a
Implementacao das funcoes para conversao de angulos rad r deg.
1994-10-11 10:06:47 -03:00
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.
/
1994-10-11 10:02:39 -03:00