Commit Graph

  • 4c03196697 lua_setstate makes no sense with explicit multiple states Roberto Ierusalimschy 2000-03-27 11:00:35 -03:00
  • 54633d7c7d new name for llimits.h Roberto Ierusalimschy 2000-03-24 16:49:23 -03:00
  • 13578517c7 new file to keep all limits and instalation-dependent definitions Roberto Ierusalimschy 2000-03-24 14:26:08 -03:00
  • 213e9febc8 limits now are in `llims.n' Roberto Ierusalimschy 2000-03-24 14:26:08 -03:00
  • 47b4bf5964 small refactoring. Roberto Ierusalimschy 2000-03-24 09:18:30 -03:00
  • 415ee1a24f SETLINEs for reserved words, too. Roberto Ierusalimschy 2000-03-24 09:17:53 -03:00
  • 5f3c5ace95 message detail Roberto Ierusalimschy 2000-03-22 13:24:13 -03:00
  • 441469f803 new option `-s' + argv ends with NULL (so we don't need argc). Roberto Ierusalimschy 2000-03-20 17:27:32 -03:00
  • 1157c2a7e4 better(?) treatment for SETLINE + while optimization is too complex for only 3% of maximum improvement. Roberto Ierusalimschy 2000-03-20 16:15:37 -03:00
  • 374cc888f4 better(?) treatment for SETLINE Roberto Ierusalimschy 2000-03-20 16:15:37 -03:00
  • bb9605bbc9 tags can be positive values Roberto Ierusalimschy 2000-03-20 16:14:54 -03:00
  • 6759299880 new implementation for handling I/O tags + setglobal TM for tracing changes in _INPUT/_OUTPUT Roberto Ierusalimschy 2000-03-20 16:13:45 -03:00
  • da7eb34cd6 optimization for "while 1" and "repeat until nil" Roberto Ierusalimschy 2000-03-17 11:46:04 -03:00
  • 2c8e28d75a small changes Roberto Ierusalimschy 2000-03-17 10:09:46 -03:00
  • 4fb8e93c36 small optimization for i..'' Roberto Ierusalimschy 2000-03-17 10:09:12 -03:00
  • 7f77431950 detail Roberto Ierusalimschy 2000-03-16 18:06:16 -03:00
  • 87367e97f3 more information about memory use Roberto Ierusalimschy 2000-03-16 17:35:07 -03:00
  • 06f08f5634 small problems with limits and jumps Roberto Ierusalimschy 2000-03-16 15:03:09 -03:00
  • 3860c5934e details. Roberto Ierusalimschy 2000-03-15 17:50:33 -03:00
  • f0b697e01c details Roberto Ierusalimschy 2000-03-13 17:37:16 -03:00
  • 73aa465a8e some name changes Roberto Ierusalimschy 2000-03-10 15:37:44 -03:00
  • 3d0577f4b9 small optimizations. Roberto Ierusalimschy 2000-03-10 11:38:10 -03:00
  • 977b8f65f0 comment detail. Roberto Ierusalimschy 2000-03-10 11:01:05 -03:00
  • e3cf93ddb6 first implementation of "threaded code" for boolean operations Roberto Ierusalimschy 2000-03-09 10:57:37 -03:00
  • 88b306f495 some optimizations Roberto Ierusalimschy 2000-03-08 21:19:22 -03:00
  • 563de491be a better way to control optimizations. Roberto Ierusalimschy 2000-03-04 17:18:15 -03:00
  • 29e0193425 details Roberto Ierusalimschy 2000-03-03 17:30:47 -03:00
  • 61f97a8ace maybe a concat right associative allows some optimizations... Roberto Ierusalimschy 2000-03-03 17:29:25 -03:00
  • d1ea38580a change of code generation design (independent functions for each opcode) Roberto Ierusalimschy 2000-03-03 15:53:17 -03:00
  • 3c9d999424 many details (most by lhf). Roberto Ierusalimschy 2000-03-03 11:58:26 -03:00
  • f7840a3e0b new algorithm to parse expressions + distribution of code between lparser and lcode. Roberto Ierusalimschy 2000-03-03 09:33:59 -03:00
  • 1780e2c977 lua_settable should check stack space (it could call a T.M.) Roberto Ierusalimschy 2000-03-02 09:44:29 -03:00
  • fa14cbf8e8 comments Roberto Ierusalimschy 2000-03-02 09:32:53 -03:00
  • 4d4e6f07c0 all order operators use a single tag method (<) Roberto Ierusalimschy 2000-02-22 16:12:46 -02:00
  • 5cecf0ea9f it is better to control stack space where it is needed. Roberto Ierusalimschy 2000-02-22 15:54:16 -02:00
  • 3bc925138e first version of code optimizer Roberto Ierusalimschy 2000-02-22 11:31:43 -02:00
  • 39e1f079bd code generator (and optimizer) for Lua Roberto Ierusalimschy 2000-02-22 11:31:19 -02:00
  • 075da266e5 there is no need to use shorts... Roberto Ierusalimschy 2000-02-21 16:33:26 -02:00
  • 228a62f799 details Roberto Ierusalimschy 2000-02-21 16:30:42 -02:00
  • 7c2fb15bec need "string.h" to use "strchr". Roberto Ierusalimschy 2000-02-21 16:30:06 -02:00
  • 1f01998516 nobody uses memmove any more. Roberto Ierusalimschy 2000-02-17 16:30:36 -02:00
  • c929376d59 must include a definition for NULL Roberto Ierusalimschy 2000-02-17 16:30:36 -02:00
  • 3afe85b2ce new version for INSTRUCTION formats Roberto Ierusalimschy 2000-02-14 14:51:08 -02:00
  • 52aad0ab59 removing implementation for better error messages (must rethink it...) Roberto Ierusalimschy 2000-02-11 14:52:54 -02:00
  • 74f1c3d025 small changes for "clean C" Roberto Ierusalimschy 2000-02-08 14:39:42 -02:00
  • 1f691a4fcd renaming of some opcodes and fields Roberto Ierusalimschy 2000-01-28 14:53:00 -02:00
  • d6b9f49aaf only need to reset buffer for strings, numbers, and names. Roberto Ierusalimschy 2000-01-26 16:51:49 -02:00
  • d83c2a8455 performance details. Roberto Ierusalimschy 2000-01-25 16:44:21 -02:00
  • d11e5adf55 `const' array in protos breaked in 3 arrays (for strings, numbers, and prototypes). Roberto Ierusalimschy 2000-01-25 11:57:18 -02:00
  • 99e340b2ba keep `top' in registers when running basic tasks (settable, getglobal, ...) Roberto Ierusalimschy 2000-01-24 18:14:07 -02:00
  • 9744255ae9 error in call must be propagated Roberto Ierusalimschy 2000-01-24 18:11:26 -02:00
  • 512b15b601 small optimizations (relational operators) Roberto Ierusalimschy 2000-01-19 14:50:30 -02:00
  • 33d3504889 new debug API Roberto Ierusalimschy 2000-01-19 14:50:14 -02:00
  • 2877bad4c2 new debug API (first version) Roberto Ierusalimschy 2000-01-19 10:00:45 -02:00
  • 27163f032e Auxiliary functions from Debug Interface module Roberto Ierusalimschy 2000-01-14 15:15:44 -02:00
  • eab57ed6fd details Roberto Ierusalimschy 2000-01-13 14:30:47 -02:00
  • ea45f3eb28 better separation between debug code and regular code Roberto Ierusalimschy 2000-01-13 14:30:47 -02:00
  • 46ec57cbc6 little change when calling tag methods Roberto Ierusalimschy 2000-01-13 13:56:03 -02:00
  • 62787f1b1f `exp' is "reserved word" in Visual-C++ ;-) Roberto Ierusalimschy 2000-01-12 14:24:39 -02:00
  • dcb7bb514e details (error messages) Roberto Ierusalimschy 2000-01-10 15:34:38 -02:00
  • b3aaa048b0 bug: cannot reopen stdin (for binary mode) Roberto Ierusalimschy 1999-12-30 16:40:57 -02:00
  • aee07c6599 details Roberto Ierusalimschy 1999-12-30 16:29:46 -02:00
  • bcdbdaccc3 more debug information (still with bug for tag methods...) Roberto Ierusalimschy 1999-12-30 16:28:40 -02:00
  • 5cafe5af02 tag method must be a function Roberto Ierusalimschy 1999-12-30 16:27:03 -02:00
  • 607012ece1 tag method must be a function + error message must be a string Roberto Ierusalimschy 1999-12-30 16:27:03 -02:00
  • 0652906e7a details. Roberto Ierusalimschy 1999-12-30 10:40:29 -02:00
  • 4d1b815b60 return gives wrong line in debug information. Roberto Ierusalimschy 1999-12-29 16:07:10 -02:00
  • 4ebc183e56 bug: return gives wrong line in debug information. Roberto Ierusalimschy 1999-12-29 16:07:10 -02:00
  • 298d0abff7 first version of extra debug information (NAME) Roberto Ierusalimschy 1999-12-29 14:31:15 -02:00
  • 4fbe775154 details Roberto Ierusalimschy 1999-12-29 14:24:03 -02:00
  • aabefe9d68 details. Roberto Ierusalimschy 1999-12-28 17:23:41 -02:00
  • fb60283974 better error messages Roberto Ierusalimschy 1999-12-28 09:52:49 -02:00
  • acdb0b741e comments. Roberto Ierusalimschy 1999-12-27 15:33:22 -02:00
  • 5b08fcd5a1 no more "lua" in error messages Roberto Ierusalimschy 1999-12-27 11:04:53 -02:00
  • b1b0c219f5 new ttypes to distinguish between C closures and Lua closures. Roberto Ierusalimschy 1999-12-23 16:19:57 -02:00
  • be3212de78 details Roberto Ierusalimschy 1999-12-22 14:58:36 -02:00
  • 2eaf9a00ae little bug: `1ea' got a wrong token at the error message Roberto Ierusalimschy 1999-12-22 14:58:36 -02:00
  • 6c79a0a80d new way to control hooks inside hooks (now the control is done inside Lua) Roberto Ierusalimschy 1999-12-21 16:04:41 -02:00
  • 3daeabb606 new way to pass arguments: with option `-f' Roberto Ierusalimschy 1999-12-21 15:34:23 -02:00
  • cfdebfbc53 debug information for parameters use line 0 for them (as they are always visible). Roberto Ierusalimschy 1999-12-21 15:31:28 -02:00
  • d61d5bef9d details Roberto Ierusalimschy 1999-12-20 11:10:38 -02:00
  • 4450efc97e new chunkid for C functions (`luaL_chunkid') Roberto Ierusalimschy 1999-12-20 11:09:45 -02:00
  • de65253f2d new way to handle _PROMPT Roberto Ierusalimschy 1999-12-20 11:03:20 -02:00
  • 12b45c2df2 luaS_newfixedstring renamed to luaS_newfixed Roberto Ierusalimschy 1999-12-14 16:42:57 -02:00
  • 1b15206cf9 many details + code redistribution Roberto Ierusalimschy 1999-12-14 16:33:29 -02:00
  • e6d56cd2d8 module for internal use only, with functions for internal tests Roberto Ierusalimschy 1999-12-14 16:31:20 -02:00
  • c16c63cc59 new module with the debug API functions Roberto Ierusalimschy 1999-12-14 16:31:20 -02:00
  • dea54a7c71 comments Roberto Ierusalimschy 1999-12-09 18:01:48 -02:00
  • 544eeb1f9c details Roberto Ierusalimschy 1999-12-07 10:05:34 -02:00
  • b3fe203c36 keep it simple Roberto Ierusalimschy 1999-12-07 10:05:34 -02:00
  • 9c142740c1 stack may not be empty after a correct run... Roberto Ierusalimschy 1999-12-07 09:42:54 -02:00
  • 7621cc2aa5 for the future... Roberto Ierusalimschy 1999-12-07 09:36:16 -02:00
  • ba1f504970 `optimization' doesn't seem to make any difference... Roberto Ierusalimschy 1999-12-06 17:30:53 -02:00
  • 617be66015 better control (and error recovery) for begin/end blocks Roberto Ierusalimschy 1999-12-06 10:03:45 -02:00
  • f356eb010b configurable stack size + some corrections in error recovery in `protectedrun' Roberto Ierusalimschy 1999-12-06 09:43:58 -02:00
  • 3e38fd2463 `lua_setfallback' leaves things on the stack, so it is better to protect it. Roberto Ierusalimschy 1999-12-06 09:43:09 -02:00
  • 533beedad2 new tests for begin/end blocks and multi-state Roberto Ierusalimschy 1999-12-06 09:42:18 -02:00
  • 968ad49da6 `lua_newstate' gets the inital stack size and other arguments Roberto Ierusalimschy 1999-12-06 09:41:28 -02:00
  • 1fdb445e7d details. Roberto Ierusalimschy 1999-12-06 09:40:55 -02:00
  • c7119a93f0 new language for testC (debugging facility) Roberto Ierusalimschy 1999-12-03 16:02:54 -02:00