summaryrefslogtreecommitdiff
path: root/opcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* "call" returns separate results, instead of a table.Roberto Ierusalimschy1996-09-241-18/+12
|
* "dofile" and "dostring" may return values.Roberto Ierusalimschy1996-09-241-3/+2
|
* better structure to control stack interface lua-C.Roberto Ierusalimschy1996-09-201-55/+53
| | | | beginblock-endblock keeps better control over stack
* functions may have tags CMARK and MARK, too.Roberto Ierusalimschy1996-09-021-4/+9
|
* skip first line of a lua file if it starts with a '#' (to allow shellRoberto Ierusalimschy1996-08-151-2/+8
| | | | scripts).
* "exit" is defined in "stdlib".Roberto Ierusalimschy1996-07-241-1/+2
|
* "lua_dofile" returns different error codes if it could not open the fileRoberto Ierusalimschy1996-06-101-6/+8
|
* first version of vararg facility (plus new function "call").Roberto Ierusalimschy1996-05-281-51/+89
|
* lua_Reference is int, so say so.Roberto Ierusalimschy1996-04-251-4/+4
|
* lock mechanism seperseded by the REFERENCE mechanism.Roberto Ierusalimschy1996-04-221-20/+26
|
* smaller limit to stack size (otherwise C stack can finish first)v2.4-betaRoberto Ierusalimschy1996-03-221-2/+6
|
* a simplification about memory error messages.Roberto Ierusalimschy1996-03-211-2/+2
|
* better control when growing arrays.Roberto Ierusalimschy1996-03-211-7/+10
|
* hook variables are global, no more "lua_set...hook" functions.Roberto Ierusalimschy1996-03-201-30/+12
|
* functions "lua_is..." consider coercions.Roberto Ierusalimschy1996-03-191-8/+22
| | | | small change when calling call hook.
* unused "#include"Roberto Ierusalimschy1996-03-191-2/+1
|
* integration with undump (execution of pre-compiled chuncks)Roberto Ierusalimschy1996-03-151-28/+30
|
* small change to avoid error on "lua_pushstring(NULL)".Roberto Ierusalimschy1996-03-041-4/+9
|
* functions "luaI_free" and "luaI_realloc" (or macro "growvector") may beRoberto Ierusalimschy1996-02-221-5/+3
| | | | called with NULL.
* BIG CHANGE: new data structure for constants, strings and globals, usingRoberto Ierusalimschy1996-02-121-13/+2
| | | | an array of hash tables for all them.
* new type lua_Function for activation recordsRoberto Ierusalimschy1996-02-081-5/+5
|
* debug interface functions to manipulated local variables:Roberto Ierusalimschy1996-02-071-3/+34
| | | | "lua_getlocal" and "lua_setlocal".
* new fallback "getglobal".Roberto Ierusalimschy1996-01-301-6/+15
|
* "dofile" does not issue a warning when unable to open the file,Roberto Ierusalimschy1996-01-231-6/+2
| | | | but only returns an error code.
* hooks for line change and function calls; first version.Roberto Ierusalimschy1996-01-091-7/+81
|
* bug: luaI_findconstantbyname may change the value of lua_constant.Roberto Ierusalimschy1995-12-181-2/+3
|
* useless "#include math.h"v2.2Roberto Ierusalimschy1995-11-161-2/+1
|
* little improvementRoberto Ierusalimschy1995-11-101-5/+2
|
* functions now may be declared with any "var" as a name;Roberto Ierusalimschy1995-10-261-8/+3
| | | | | therefore they do not have a "baptism" name. Changes in debug API to acomodate that.
* new method to keep debug line information: current line is stored on theRoberto Ierusalimschy1995-10-251-30/+30
| | | | | Lua stack, just below (new) base, with tag LUA_T_LINE. SETLINE opcodes are generated by lex.
* function "setfallback" now gives an error if called with wrong parameters.Roberto Ierusalimschy1995-10-171-3/+5
|
* new module luadebug.h.Roberto Ierusalimschy1995-10-171-3/+4
|
* new style for debug information about functions: no more SETFUNCTIONRoberto Ierusalimschy1995-10-171-25/+34
| | | | | | | | 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.
* new function "luaI_findconstantbyname".Roberto Ierusalimschy1995-10-131-2/+2
|
* bug: stack overflow error must leave space on the stack for error function.Roberto Ierusalimschy1995-10-091-5/+3
|
* "docall" now assumes that called function is always on the stack, justRoberto Ierusalimschy1995-10-091-75/+101
| | | | | | below "base". That gives more regularity for the stack shape, and prevents fallbacks of being garbage collected if they are redefined during execution.
* Garbage collection of functions + header structure for functionsRoberto Ierusalimschy1995-10-041-9/+13
|
* small corrections to avoid warnings.Roberto Ierusalimschy1995-10-021-2/+2
|
* new lua function "getstack"; new interface to function luaI_reportbug.Roberto Ierusalimschy1995-05-161-6/+2
|
* calls to "lua_reportbug" changed to "lua_error", sinceRoberto Ierusalimschy1995-05-021-2/+7
| | | | "lua_reportbug" is only an internal function to build debug information
* run-time stack now is controled at run time, instead ofWaldemar Celes1995-04-111-57/+79
| | | | compilation time.
* adjust checks if stack has enough spaceRoberto Ierusalimschy1995-02-101-2/+4
|
* header "stdlib.h" was missing (gcc does not warn that)Roberto Ierusalimschy1995-02-061-1/+2
|
* a null lua_Object is LUA_NOOBJECT, not NULL.Roberto Ierusalimschy1995-02-021-2/+2
|
* new API function lua_pushlocked & lua_checkstack is a macroWaldemar Celes1995-01-271-16/+23
|
* stack is indexed by integers, not Words, to allow bigger stack on 32 bit ↵Roberto Ierusalimschy1994-12-301-2/+6
| | | | machines
* functions that no more return error codes now have return type voidRoberto Ierusalimschy1994-12-281-27/+16
|
* 'lua_getsubscript' and 'lua_storesubscript' now run unprotected (to improve ↵Waldemar Celes1994-12-271-14/+6
| | | | efficiency)
* better control of integer types and their limitsRoberto Ierusalimschy1994-12-201-24/+25
|
* a field with value 'nil' must call the fallback 'index'Roberto Ierusalimschy1994-12-161-2/+2
|