Commit Graph

  • a66404aca6 function "setfallback" now gives an error if called with wrong parameters. Roberto Ierusalimschy 1995-10-17 12:30:05 -0200
  • d80659759b new module luadebug.h. Roberto Ierusalimschy 1995-10-17 12:12:45 -0200
  • d24253d92f module to declare API for debuging. Roberto Ierusalimschy 1995-10-17 12:12:45 -0200
  • 2cffb08a5c new style for debug information about functions: no more SETFUNCTION 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. Roberto Ierusalimschy 1995-10-17 09:58:41 -0200
  • 15f40fddca 'nextvar' now traverses the symbol array, instead of the constant tree. Roberto Ierusalimschy 1995-10-17 09:53:53 -0200
  • 970995c3f2 'luaI_travfallbacks' now can look for a fallback. Roberto Ierusalimschy 1995-10-17 09:52:38 -0200
  • b17c76817d new function "luaI_findconstantbyname". Roberto Ierusalimschy 1995-10-13 12:16:25 -0300
  • b074306267 bug. "fgets" reads n-1 chars. Roberto Ierusalimschy 1995-10-11 17:50:56 -0300
  • 3c75b75516 new module "func", for GC of functions, and new "defines" for configuration setup. Roberto Ierusalimschy 1995-10-09 15:51:49 -0300
  • 36a7fda014 bug: stack overflow error must leave space on the stack for error function. Roberto Ierusalimschy 1995-10-09 15:45:59 -0300
  • 1bb3fb73cc fallback table now has number of parameters and results of each fallback. This information is used by opcode.c, when calling a fallback. Roberto Ierusalimschy 1995-10-09 10:14:29 -0300
  • 7e01348658 "docall" now assumes that called function is always on the stack, just below "base". That gives more regularity for the stack shape, and prevents fallbacks of being garbage collected if they are redefined during execution. Roberto Ierusalimschy 1995-10-09 10:10:20 -0300
  • 28b3017baf lua function "type" now returns the string "function" both for lua functions and c functions. Roberto Ierusalimschy 1995-10-09 10:06:20 -0300
  • ae808860ae new functions: "ascii" and "int2str", small "re-engineering" on parameter checking. Roberto Ierusalimschy 1995-10-09 09:49:21 -0300
  • a47e8c7dd0 small "re-engineering" on parameter checking. correction of function "atan2". Roberto Ierusalimschy 1995-10-09 09:48:38 -0300
  • 79ce619876 new command line options: -v to print Copyright message, and - to read stdin. Roberto Ierusalimschy 1995-10-06 11:11:40 -0300
  • 233f0b0cc7 definitions for Copyright and version notices Roberto Ierusalimschy 1995-10-06 11:11:10 -0300
  • 025589f772 nova forma de comentarios: de '#' ate' fim de linha (para uso de lua como shell) Roberto Ierusalimschy 1995-10-06 10:10:53 -0300
  • 68f337dfa6 Garbage collection of functions + header structure for functions Roberto Ierusalimschy 1995-10-04 14:13:02 -0300
  • f132ac03bc Module to manipulate function headers. Roberto Ierusalimschy 1995-10-04 11:20:26 -0300
  • ec785a1d65 new option for "writeto" and "readfrom", to allow piped I/O on machines that support it. Roberto Ierusalimschy 1995-10-04 10:53:10 -0300
  • e0621e6115 new function "atan2". Roberto Ierusalimschy 1995-10-04 10:52:09 -0300
  • 38411aa102 small correction to avoid problems with DOS/Windows Roberto Ierusalimschy 1995-10-03 15:06:10 -0300
  • 3ec4f4eb86 small corrections to avoid warnings. Roberto Ierusalimschy 1995-10-02 14:03:33 -0300
  • 367139c6d9 buffer for literals now grows dynamically, allowing big programs between [[ and ]]. Roberto Ierusalimschy 1995-09-15 17:48:26 -0300
  • 457bac94ce small corrections to avoid uninitialized global variables. Roberto Ierusalimschy 1995-09-15 17:47:53 -0300
  • bcf46ee83b new syntax for strings: [[ ... ]]. Still in tests, since the code does not check buffer overflow. Roberto Ierusalimschy 1995-07-06 14:47:08 -0300
  • 97b2fd1ba1 syntax for {...;...} is more flexible now. Roberto Ierusalimschy 1995-06-08 16:47:28 -0300
  • e13753e2fb Ajustar limites para garbage collection. Waldemar Celes 1995-05-16 16:23:55 -0300
  • ec79f25286 new lua function "getstack"; new interface to function luaI_reportbug. Roberto Ierusalimschy 1995-05-16 14:23:58 -0300
  • 18ea2eff80 calls to "lua_reportbug" changed to "lua_error", since "lua_reportbug" is only an internal function to build debug information Roberto Ierusalimschy 1995-05-02 15:43:03 -0300
  • 8156604823 run-time stack now is controled at run time, instead of compilation time. Waldemar Celes 1995-04-11 14:56:30 -0300
  • 36b6fdda83 function "type" now returns a second result: the tag of the type, so lua can discriminate different kinds of user data. Roberto Ierusalimschy 1995-03-17 17:42:20 -0300
  • 3c67d2595b error message buffer got a bigger size Waldemar Celes 1995-03-17 17:27:11 -0300
  • 2043a0ca30 adjust checks if stack has enough space Roberto Ierusalimschy 1995-02-10 10:51:29 -0200
  • 0761c4c036 included string.h v2.1 Luiz Henrique de Figueiredo 1995-02-07 14:04:15 -0200
  • a8b6ba0954 Lua 2.1 Lua Team 1995-02-07 12:00:00 +0000
  • 2d053126e6 new function for copy strings (strdup is not ANSI) Roberto Ierusalimschy 1995-02-06 17:37:51 -0200
  • 3203460c9e better approximation for PI Roberto Ierusalimschy 1995-02-06 17:36:43 -0200
  • bb00cd66a7 function "stat" needs "sys/types.h" Roberto Ierusalimschy 1995-02-06 17:36:13 -0200
  • 7c342c488e header "stdlib.h" was missing (gcc does not warn that) Roberto Ierusalimschy 1995-02-06 17:35:09 -0200
  • b36cd823b1 header "string.h" was missing (gcc does not warn that) Roberto Ierusalimschy 1995-02-06 17:34:03 -0200
  • cda444d7f4 type names changed to avoid clashes Roberto Ierusalimschy 1995-02-06 17:32:43 -0200
  • dd28b830e9 a null lua_Object is LUA_NOOBJECT, not NULL. Roberto Ierusalimschy 1995-02-02 18:05:37 -0200
  • 572ee14b52 use yacc++ instead of yacc. Roberto Ierusalimschy 1995-02-02 17:04:16 -0200
  • 6198626138 libs should not use Lua internal functions (like mem.h). a null lua_Object is LUA_NOOBJECT, not NULL. Roberto Ierusalimschy 1995-02-02 16:54:58 -0200
  • 8795aab83e new API function lua_pushlocked & lua_checkstack is a macro Waldemar Celes 1995-01-27 15:19:06 -0200
  • f83db16cab new API function lua_pushlocked Waldemar Celes 1995-01-27 15:19:06 -0200
  • 6e0e9935ec trocar a funcao para garbage colector adaptativo. Waldemar Celes 1995-01-18 18:15:54 -0200
  • 97053335fb Trocar 'pushstring' por 'pushliteral' na macro 'getfield'. Waldemar Celes 1995-01-18 18:15:05 -0200
  • f4591397da strdup is done via mem.c to control its memory allocation Roberto Ierusalimschy 1995-01-14 13:40:26 -0200
  • 8faf4d1de2 control of garbage collection is done with Longs, as there can be more than WORD objects to collect. Roberto Ierusalimschy 1995-01-12 12:19:04 -0200
  • 53c0a0f43c function 'strfind' now has two optional parameters, to specify where to start and stop the search. Roberto Ierusalimschy 1995-01-06 18:31:10 -0200
  • ad97e9ccbc small bug in fallback for power operator Roberto Ierusalimschy 1995-01-04 16:49:54 -0200
  • e4c69cf917 correcao de bug na construcao do formato. Waldemar Celes 1995-01-03 11:14:13 -0200
  • 5b8ced84b4 stack is indexed by integers, not Words, to allow bigger stack on 32 bit machines Roberto Ierusalimschy 1994-12-30 15:45:11 -0200
  • df3a81ec88 functions that no more return error codes now have return type void Roberto Ierusalimschy 1994-12-28 10:55:47 -0200
  • b8e76d9b5c 'lua_getsubscript' and 'lua_storesubscript' now run unprotected (to improve efficiency) Waldemar Celes 1994-12-27 18:53:15 -0200
  • dc97a07e19 better names for 'y.tab.c' and 'y.tab.h' (now they are moved to 'parser.c' and 'parser.h') Waldemar Celes 1994-12-27 18:50:38 -0200
  • 4dce79f7e3 uses 'limits.h' for MAX_WORD and MAX_INT Waldemar Celes 1994-12-27 18:41:47 -0200
  • a8220feed2 bytecodes are indexed by integers, not Words, to allow bigger code on 32 bit machines Waldemar Celes 1994-12-27 18:41:11 -0200
  • 8bc4b0d741 routines are defined before rules, to allow correct compilation with bison Waldemar Celes 1994-12-27 18:04:29 -0200
  • 96b2b90c50 new file 'types.h' Roberto Ierusalimschy 1994-12-23 18:47:59 -0200
  • 89d823f16b implementation dependent types Roberto Ierusalimschy 1994-12-20 19:31:01 -0200
  • 8cb8594a3b better control of integer types and their limits Roberto Ierusalimschy 1994-12-20 19:20:36 -0200
  • fe8338335d a field with value 'nil' must call the fallback 'index' Roberto Ierusalimschy 1994-12-16 14:08:34 -0200
  • 068d1cd1ee new constant LUA_NOOBJECT. 'lua_createtable' does not have parameters. 'lua_copystring' now is a macro Roberto Ierusalimschy 1994-12-16 13:56:45 -0200
  • 3365a35243 new constant LUA_NOOBJECT Roberto Ierusalimschy 1994-12-16 13:55:04 -0200
  • fad57bfa00 new constant LUA_NOOBJECT. 'lua_error' never returns Roberto Ierusalimschy 1994-12-16 13:53:57 -0200
  • 891cab8a31 Passar os argv apos '--' para Lua. Captura-se cada argv com a funcao argv(i), onde i = 1, 2, ... Waldemar Celes 1994-12-14 17:58:20 -0200
  • 2486d677c9 no special treatment for C++ (this should be done in the C++ code) Roberto Ierusalimschy 1994-12-13 13:59:16 -0200
  • 84b99d25ad debug message goes to stderr Roberto Ierusalimschy 1994-12-13 13:55:41 -0200
  • 5dfd17dd76 new API function 'lua_pushliteral' Roberto Ierusalimschy 1994-12-13 13:54:21 -0200
  • ce4fb88b34 opcode PUSHSELF has a parameter that indicates the method to be called Roberto Ierusalimschy 1994-12-06 12:27:18 -0200
  • e742d54253 small bug correction Roberto Ierusalimschy 1994-11-30 19:20:37 -0200
  • 0f580df73c 'main' returns condition code Roberto Ierusalimschy 1994-11-28 15:12:49 -0200
  • 2b301d711b new hash function; hash value for strings are kept with the string Roberto Ierusalimschy 1994-11-28 13:10:51 -0200
  • 10bdd83844 new hash function; hash value for strings are kept with the string Roberto Ierusalimschy 1994-11-25 17:27:03 -0200
  • fbfa1cbe9b erased function yywrap (nobody used it) Roberto Ierusalimschy 1994-11-25 17:24:57 -0200
  • 10c1641b8e new modules 'mem' and 'fallback'. correction of dependencies Roberto Ierusalimschy 1994-11-23 18:15:04 -0200
  • e901e0feae modifications to avoid warnings when compiling yacc code Roberto Ierusalimschy 1994-11-23 12:39:52 -0200
  • d490555ec9 garbage collection tag for strings organized in struct TaggedString Roberto Ierusalimschy 1994-11-23 12:32:00 -0200
  • ad0ec203f6 small simplification Roberto Ierusalimschy 1994-11-22 14:13:45 -0200
  • 577ae944e9 correction of function tonumber Roberto Ierusalimschy 1994-11-22 14:02:53 -0200
  • 68d1091b79 no more unary '+' Roberto Ierusalimschy 1994-11-22 13:50:46 -0200
  • 52db68a600 debug shows lines where functions were called Roberto Ierusalimschy 1994-11-21 19:41:09 -0200
  • bba1ae427f new lua functions 'getglobal' and 'setglobal' Roberto Ierusalimschy 1994-11-21 19:41:09 -0200
  • 609392ff2e fallback for "call expression not a function" errors Roberto Ierusalimschy 1994-11-21 16:22:58 -0200
  • 96ea2e0fb4 fallback to unary minus is 'arith' with operation code 'unm' Roberto Ierusalimschy 1994-11-21 11:30:15 -0200
  • 93ccdd52ef lua_lock receives its parameter via stack. beginblock and endblock do not have parameters Roberto Ierusalimschy 1994-11-18 17:46:21 -0200
  • 333a4f13d0 lua_lock receives its parameter via stack Roberto Ierusalimschy 1994-11-18 17:46:21 -0200
  • 73664eb739 function 'lua_createstring' moved from table.c to tree.c Roberto Ierusalimschy 1994-11-18 17:27:38 -0200
  • feed56a01c small correction Roberto Ierusalimschy 1994-11-17 19:27:30 -0200
  • 1929ddcf49 userdata can have different tags Roberto Ierusalimschy 1994-11-17 19:23:43 -0200
  • aa4cd37adf small bug corrected Roberto Ierusalimschy 1994-11-17 19:11:37 -0200
  • a84aa11f71 pow operation is defined in mathlib.c Roberto Ierusalimschy 1994-11-17 17:43:34 -0200
  • 9bee23fd05 listing did not list POWOP Roberto Ierusalimschy 1994-11-17 17:09:46 -0200
  • 3bd0f9e211 uses new memory module (mem.c). small changes in seting debug line. if and elseif unified in a outine 'codeIf' Roberto Ierusalimschy 1994-11-17 16:59:06 -0200
  • 5406d391cd new API functions startblock and endblock Roberto Ierusalimschy 1994-11-17 14:41:42 -0200
  • b234da1cc2 changes in garbage collection control Roberto Ierusalimschy 1994-11-17 11:58:57 -0200