summaryrefslogtreecommitdiff
path: root/opcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* better error messages;Roberto Ierusalimschy1997-04-041-20/+21
| | | | better names for some API functions.
* "setintmethod" returns old method (to be coerent with seterrormethod).Roberto Ierusalimschy1997-04-031-5/+5
| | | | | BUG: wrong pointer arithmetic (index out of range when comparing). obs: version 4 is due to internal methods.
* new function "getintmethod"Roberto Ierusalimschy1997-04-021-1/+8
|
* "newtag" does not need a type name.Roberto Ierusalimschy1997-04-021-3/+3
|
* lua_getuserdata must return NULL if object is not userdata;Roberto Ierusalimschy1997-04-021-4/+12
| | | | small BUG: wrong error message for a=b[1] (b not a table)
* "storeglobal" changed to "setglobal"Roberto Ierusalimschy1997-04-011-6/+6
|
* first version of "setglobal" and "getglobal" internal methods.Roberto Ierusalimschy1997-03-311-15/+43
|
* new name for old "mem.h" (conflicts with some compiler libraries)Roberto Ierusalimschy1997-03-311-2/+2
|
* "Object" renamed to "TObject" (Tagged Object), to avoid conflicts withRoberto Ierusalimschy1997-03-311-59/+59
| | | | pre-defined names in some C compilers.
* i.m. "arith" and "order" splited for different operationsRoberto Ierusalimschy1997-03-201-20/+20
|
* first full implementation of internal methodsRoberto Ierusalimschy1997-03-191-56/+105
|
* "tag" changed to "ttype" (since now tag has other meaning)Roberto Ierusalimschy1997-03-111-74/+75
|
* new form for constructors: {[exp] = exp, ...}Roberto Ierusalimschy1997-03-061-2/+12
|
* first step in implementing internal methods.Roberto Ierusalimschy1997-02-261-70/+126
|
* lua_Type is private (preparation for tags)Roberto Ierusalimschy1997-02-201-16/+29
|
* userdata can handle arbitrary binary data;Roberto Ierusalimschy1997-02-111-10/+36
| | | | user tag is stored with data;
* better check when converting from float to int, to avoid overflowRoberto Ierusalimschy1997-01-311-11/+15
| | | | (on some machines it may result in run-time error)
* BUG: pointer arithmetic does not have to work when pointing outsideRoberto Ierusalimschy1996-11-221-5/+5
| | | | an array.
* undump needs file in binary modeRoberto Ierusalimschy1996-11-181-2/+4
|
* "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
|