summaryrefslogtreecommitdiff
path: root/opcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* new constant LUA_NOOBJECT.Roberto Ierusalimschy1994-12-161-22/+12
| | | | | 'lua_createtable' does not have parameters. 'lua_copystring' now is a macro
* new API function 'lua_pushliteral'Roberto Ierusalimschy1994-12-131-1/+14
|
* opcode PUSHSELF has a parameter that indicates the method to be calledRoberto Ierusalimschy1994-12-061-2/+5
|
* small bug correctionRoberto Ierusalimschy1994-11-301-2/+2
|
* garbage collection tag for strings organized in struct TaggedStringRoberto Ierusalimschy1994-11-231-7/+7
|
* correction of function tonumberRoberto Ierusalimschy1994-11-221-2/+3
|
* fallback for "call expression not a function" errorsRoberto Ierusalimschy1994-11-211-4/+18
|
* fallback to unary minus is 'arith' with operation code 'unm'Roberto Ierusalimschy1994-11-211-2/+5
|
* lua_lock receives its parameter via stack.Roberto Ierusalimschy1994-11-181-7/+27
| | | | beginblock and endblock do not have parameters
* userdata can have different tagsRoberto Ierusalimschy1994-11-171-4/+5
|
* pow operation is defined in mathlib.cRoberto Ierusalimschy1994-11-171-22/+12
|
* new API functions startblock and endblockRoberto Ierusalimschy1994-11-171-1/+18
|
* changes in garbage collection controlRoberto Ierusalimschy1994-11-171-4/+5
|
* new module for memory allocationRoberto Ierusalimschy1994-11-161-29/+18
|
* correction of function 'nextvar'Roberto Ierusalimschy1994-11-161-41/+17
|
* new API function to create tablesRoberto Ierusalimschy1994-11-131-1/+13
|
* small corrections to avoid 'warings' with acc.Roberto Ierusalimschy1994-11-111-12/+14
| | | | do_call was moving results in the wrong order.
* fallback for garbage collectionRoberto Ierusalimschy1994-11-101-1/+8
|
* fallback list moved from opcode.c to fallback.cRoberto Ierusalimschy1994-11-101-63/+11
|