summaryrefslogtreecommitdiff
path: root/opcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* execution of 'mains' separated from callsRoberto Ierusalimschy1994-11-091-15/+41
|
* lock mechanismRoberto Ierusalimschy1994-11-081-2/+12
|
* new APIRoberto Ierusalimschy1994-11-071-17/+68
|
* new API: lua_Object now is an integerRoberto Ierusalimschy1994-11-071-81/+64
|
* first implementation of 'fallbacks'Roberto Ierusalimschy1994-11-071-115/+202
|
* creation of function do_protectedrun, that executes lua code enclosedRoberto Ierusalimschy1994-11-041-220/+96
| | | | | in a setjmp, with error recovery. Elimination of functions lua_isnil, etc.
* new way to call functions, plus several small changes. This isRoberto Ierusalimschy1994-11-021-665/+633
| | | | a temporary version!