Roberto Ierusalimschy
|
fe8338335d
|
a field with value 'nil' must call the fallback 'index'
|
1994-12-16 14:08:34 -02:00 |
|
Roberto Ierusalimschy
|
068d1cd1ee
|
new constant LUA_NOOBJECT.
'lua_createtable' does not have parameters.
'lua_copystring' now is a macro
|
1994-12-16 13:56:45 -02:00 |
|
Roberto Ierusalimschy
|
3365a35243
|
new constant LUA_NOOBJECT
|
1994-12-16 13:55:04 -02:00 |
|
Roberto Ierusalimschy
|
fad57bfa00
|
new constant LUA_NOOBJECT.
'lua_error' never returns
|
1994-12-16 13:53:57 -02:00 |
|
Roberto Ierusalimschy
|
2486d677c9
|
no special treatment for C++ (this should be done in the C++ code)
|
1994-12-13 13:59:16 -02:00 |
|
Roberto Ierusalimschy
|
84b99d25ad
|
debug message goes to stderr
|
1994-12-13 13:55:41 -02:00 |
|
Roberto Ierusalimschy
|
5dfd17dd76
|
new API function 'lua_pushliteral'
|
1994-12-13 13:54:21 -02:00 |
|
Roberto Ierusalimschy
|
ce4fb88b34
|
opcode PUSHSELF has a parameter that indicates the method to be called
|
1994-12-06 12:27:18 -02:00 |
|
Roberto Ierusalimschy
|
e742d54253
|
small bug correction
|
1994-11-30 19:20:37 -02:00 |
|
Roberto Ierusalimschy
|
0f580df73c
|
'main' returns condition code
|
1994-11-28 15:12:49 -02:00 |
|
Roberto Ierusalimschy
|
2b301d711b
|
new hash function; hash value for strings are kept with the string
|
1994-11-28 13:10:51 -02:00 |
|
Roberto Ierusalimschy
|
10bdd83844
|
new hash function; hash value for strings are kept with the string
|
1994-11-25 17:27:03 -02:00 |
|
Roberto Ierusalimschy
|
fbfa1cbe9b
|
erased function yywrap (nobody used it)
|
1994-11-25 17:24:57 -02:00 |
|
Roberto Ierusalimschy
|
10c1641b8e
|
new modules 'mem' and 'fallback'.
correction of dependencies
|
1994-11-23 18:15:04 -02:00 |
|
Roberto Ierusalimschy
|
e901e0feae
|
modifications to avoid warnings when compiling yacc code
|
1994-11-23 12:39:52 -02:00 |
|
Roberto Ierusalimschy
|
d490555ec9
|
garbage collection tag for strings organized in struct TaggedString
|
1994-11-23 12:32:00 -02:00 |
|
Roberto Ierusalimschy
|
ad0ec203f6
|
small simplification
|
1994-11-22 14:13:45 -02:00 |
|
Roberto Ierusalimschy
|
577ae944e9
|
correction of function tonumber
|
1994-11-22 14:02:53 -02:00 |
|
Roberto Ierusalimschy
|
68d1091b79
|
no more unary '+'
|
1994-11-22 13:50:46 -02:00 |
|
Roberto Ierusalimschy
|
52db68a600
|
debug shows lines where functions were called
|
1994-11-21 19:41:09 -02:00 |
|
Roberto Ierusalimschy
|
bba1ae427f
|
new lua functions 'getglobal' and 'setglobal'
|
1994-11-21 19:41:09 -02:00 |
|
Roberto Ierusalimschy
|
609392ff2e
|
fallback for "call expression not a function" errors
|
1994-11-21 16:22:58 -02:00 |
|
Roberto Ierusalimschy
|
96ea2e0fb4
|
fallback to unary minus is 'arith' with operation code 'unm'
|
1994-11-21 11:30:15 -02:00 |
|
Roberto Ierusalimschy
|
93ccdd52ef
|
lua_lock receives its parameter via stack.
beginblock and endblock do not have parameters
|
1994-11-18 17:46:21 -02:00 |
|
Roberto Ierusalimschy
|
333a4f13d0
|
lua_lock receives its parameter via stack
|
1994-11-18 17:46:21 -02:00 |
|
Roberto Ierusalimschy
|
73664eb739
|
function 'lua_createstring' moved from table.c to tree.c
|
1994-11-18 17:27:38 -02:00 |
|
Roberto Ierusalimschy
|
feed56a01c
|
small correction
|
1994-11-17 19:27:30 -02:00 |
|
Roberto Ierusalimschy
|
1929ddcf49
|
userdata can have different tags
|
1994-11-17 19:23:43 -02:00 |
|
Roberto Ierusalimschy
|
aa4cd37adf
|
small bug corrected
|
1994-11-17 19:11:37 -02:00 |
|
Roberto Ierusalimschy
|
a84aa11f71
|
pow operation is defined in mathlib.c
|
1994-11-17 17:43:34 -02:00 |
|
Roberto Ierusalimschy
|
9bee23fd05
|
listing did not list POWOP
|
1994-11-17 17:09:46 -02:00 |
|
Roberto Ierusalimschy
|
3bd0f9e211
|
uses new memory module (mem.c).
small changes in seting debug line.
if and elseif unified in a outine 'codeIf'
|
1994-11-17 16:59:06 -02:00 |
|
Roberto Ierusalimschy
|
5406d391cd
|
new API functions startblock and endblock
|
1994-11-17 14:41:42 -02:00 |
|
Roberto Ierusalimschy
|
b234da1cc2
|
changes in garbage collection control
|
1994-11-17 11:58:57 -02:00 |
|
Roberto Ierusalimschy
|
d6a1699e37
|
uses a single list to keep allocated strings.
|
1994-11-16 16:09:11 -02:00 |
|
Roberto Ierusalimschy
|
a5862498a1
|
set first position of a free block to -1, to catch errors
|
1994-11-16 16:09:11 -02:00 |
|
Roberto Ierusalimschy
|
2b5bc5d1a8
|
new module for memory allocation
|
1994-11-16 15:39:16 -02:00 |
|
Roberto Ierusalimschy
|
94686ce585
|
correction of function 'nextvar'
|
1994-11-16 14:03:48 -02:00 |
|
Roberto Ierusalimschy
|
86b35cf4f6
|
unification of symbol tree and constant tree
|
1994-11-14 19:40:14 -02:00 |
|
Roberto Ierusalimschy
|
3b7a36653b
|
lua_equalObj now is global (and is used by opcode)
|
1994-11-14 16:41:15 -02:00 |
|
Roberto Ierusalimschy
|
e1d91fd0e1
|
new API function to create tables
|
1994-11-13 14:17:04 -02:00 |
|
Roberto Ierusalimschy
|
5e60b961de
|
small changes to avoid shadowing
|
1994-11-13 12:54:18 -02:00 |
|
Roberto Ierusalimschy
|
e4645c835d
|
small changes in 'ugly' part.
|
1994-11-13 12:39:04 -02:00 |
|
Roberto Ierusalimschy
|
0c5ac77c99
|
small corrections to avoid 'warings' with acc.
do_call was moving results in the wrong order.
|
1994-11-11 12:00:08 -02:00 |
|
Roberto Ierusalimschy
|
b8996eaaba
|
small corrections to avoid 'warings' with acc
|
1994-11-11 12:00:08 -02:00 |
|
Roberto Ierusalimschy
|
ff7f769454
|
small changes in error recovery
|
1994-11-10 18:41:37 -02:00 |
|
Roberto Ierusalimschy
|
8a0521fa52
|
fallback for garbage collection
|
1994-11-10 15:36:54 -02:00 |
|
Roberto Ierusalimschy
|
9deac27704
|
fallback list moved from opcode.c to fallback.c
|
1994-11-10 15:11:52 -02:00 |
|
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 |
|
Roberto Ierusalimschy
|
1a6536aaad
|
deletion of 'include mm.h'
|
1994-10-18 16:34:47 -02:00 |
|
Roberto Ierusalimschy
|
25010f8e09
|
remove of 'printf' for debuging.
|
1994-10-17 19:45:00 -02:00 |
|
Roberto Ierusalimschy
|
9294a2787f
|
nova funcao 'debug', para auxiliar debugacao de programas lua.
|
1994-08-17 19:34:20 -03:00 |
|
Roberto Ierusalimschy
|
0ec3a21451
|
inclui 'lua.h' que contem prototipos das funcoes 'lua_errorfunction' e
'lua_error'.
|
1994-08-17 19:22:44 -03:00 |
|
Roberto Ierusalimschy
|
467288e5b3
|
arquivo nao mais utilizado em Lua.
|
1994-07-21 14:27:43 -03:00 |
|
Roberto Ierusalimschy
|
7f3d01c200
|
otimizacao do codigo para construtores.
correcao do tamanho do buffer de codigo.
|
1994-02-13 18:38:20 -02:00 |
|
Roberto Ierusalimschy
|
0ea84a3e79
|
otimizacao do codigo para construtores.
pequenas modificacoes na execucao de LOADi e similares.
|
1994-02-13 18:36:51 -02:00 |
|
Roberto Ierusalimschy
|
2c9d30f9b0
|
otimizacao do codigo para construtores.
|
1994-02-13 18:35:53 -02:00 |
|
Roberto Ierusalimschy
|
ad1ebdc4f4
|
uso de pattern-matching para regras de RCS.
|
1994-01-10 17:49:56 -02:00 |
|
Roberto Ierusalimschy
|
8886f221bc
|
1) execute retorna resultado Unix da execucao do comando.
2) correcao parcial da read: retorna nil quando encontra EOF.
|
1993-12-30 12:52:18 -02:00 |
|
Roberto Ierusalimschy
|
019aa98f80
|
correcao de bug em constantes (rotina code_number) entre
2 bytes e 4 bytes.
|
1993-12-28 14:42:29 -02:00 |
|
Roberto Ierusalimschy
|
23bfcdf970
|
"include"s de string.h e stdlib.h para evitar warnings
|
1993-12-28 14:42:29 -02:00 |
|
Roberto Ierusalimschy
|
d9ef3d3072
|
opcao -O2 para otimizacao
|
1993-12-22 19:52:26 -02:00 |
|
Roberto Ierusalimschy
|
a4a3357c1c
|
Novo analizador lexico para LUA
|
1993-12-22 19:21:06 -02:00 |
|
Roberto Ierusalimschy
|
7f8a7e16cd
|
criacao do token WRONGTOKEN, necessario para o novo analizador lexico
|
1993-12-22 19:19:23 -02:00 |
|
Roberto Ierusalimschy
|
2058cc1dd9
|
analizador lexico de LUA
|
1993-12-22 19:15:16 -02:00 |
|
Roberto Ierusalimschy
|
f65ebced50
|
eliminacao do tipo e funcoes relacionadas com Unput
|
1993-12-22 19:15:16 -02:00 |
|
Roberto Ierusalimschy
|
72f67fa810
|
eliminacao da funcao findenclosedconstant, cuja tarefa agora
e' realizada pelo analizador lexico
|
1993-12-22 19:15:16 -02:00 |
|