Commit Graph

  • c371413530 small bug if LUA_USERINIT leaves garbage on the stack Roberto Ierusalimschy 2002-03-27 15:00:13 -03:00
  • d1f220217b when possible, library functions accept nil as none Roberto Ierusalimschy 2002-03-27 12:30:41 -03:00
  • 405e3a4597 metatable always return some value Roberto Ierusalimschy 2002-03-27 09:49:53 -03:00
  • 81215cd59f simpler way to control stack overflow Roberto Ierusalimschy 2002-03-26 17:46:10 -03:00
  • 0b9b53e21c details Roberto Ierusalimschy 2002-03-26 15:55:50 -03:00
  • 44a5484d73 small bug (L->ci->top may be larger than L->top...) Roberto Ierusalimschy 2002-03-25 16:45:06 -03:00
  • 801aaf37b1 simpler implementation for line information Roberto Ierusalimschy 2002-03-25 14:47:14 -03:00
  • 00af2faae7 first implementation of proper tail call Roberto Ierusalimschy 2002-03-22 13:54:31 -03:00
  • e9ef7ed2d3 first implementation for tail call Roberto Ierusalimschy 2002-03-21 17:32:22 -03:00
  • 2626708b72 details Roberto Ierusalimschy 2002-03-21 17:31:43 -03:00
  • 19ac0fadc9 don't need to mark the stacks twice ;-) Roberto Ierusalimschy 2002-03-20 15:54:29 -03:00
  • ca2ceef659 simpler solution for finalizing udata Roberto Ierusalimschy 2002-03-20 15:37:28 -03:00
  • 5023aaee0a reserve one more bit for GC Roberto Ierusalimschy 2002-03-20 15:37:13 -03:00
  • 88c9bf99de standard libraries in packages Roberto Ierusalimschy 2002-03-20 09:54:08 -03:00
  • 63a614e145 some improvements in stack control Roberto Ierusalimschy 2002-03-20 09:52:32 -03:00
  • 48e732e07d improvements in stack control Roberto Ierusalimschy 2002-03-20 09:51:29 -03:00
  • 938092489b erroneous objects may not live in the stack Roberto Ierusalimschy 2002-03-19 09:45:25 -03:00
  • 578d1da00d new names for tag methods Roberto Ierusalimschy 2002-03-18 17:24:14 -03:00
  • 24d6d0528d api.c only needs to check pushes when api_check is defined Roberto Ierusalimschy 2002-03-18 17:11:52 -03:00
  • 0b00e7f1a2 new macro to convert double->int Roberto Ierusalimschy 2002-03-18 15:18:35 -03:00
  • b7ed502dea configurable macros should live in llimits.h Roberto Ierusalimschy 2002-03-18 15:16:16 -03:00
  • 58badbab99 special treatment for 'global in nil' Roberto Ierusalimschy 2002-03-18 11:49:46 -03:00
  • da81845cd5 an error may call GC and find an incomplete `ci' Roberto Ierusalimschy 2002-03-15 14:17:16 -03:00
  • 9681ff09db small optimization when returning a single local value Roberto Ierusalimschy 2002-03-14 15:32:37 -03:00
  • 7ff21273d6 implementation of `global' statement Roberto Ierusalimschy 2002-03-14 15:01:52 -03:00
  • 207dad8606 comments Roberto Ierusalimschy 2002-03-14 13:50:06 -03:00
  • c97dc294a9 first implementation of `gfind' Roberto Ierusalimschy 2002-03-11 10:29:40 -03:00
  • 71c716e5a8 avoid C identifiers beginning with '_' Roberto Ierusalimschy 2002-03-11 09:45:00 -03:00
  • 51ad2f1162 error message Roberto Ierusalimschy 2002-03-08 16:25:24 -03:00
  • ecda9c1972 details Roberto Ierusalimschy 2002-03-08 16:17:59 -03:00
  • e19eba7219 cannot store `top' in local variables... Roberto Ierusalimschy 2002-03-08 16:11:03 -03:00
  • bd8b9c94b3 generic for (with any number of control variables) Roberto Ierusalimschy 2002-03-08 16:10:32 -03:00
  • 4db04555f0 implementation of long comments Roberto Ierusalimschy 2002-03-08 16:07:01 -03:00
  • c16a35d669 lua_stackspace' replaced by lua_checkstack' Roberto Ierusalimschy 2002-03-07 15:15:10 -03:00
  • 8f837e83b2 using `ci->top' to control acceptable indices in C calls Roberto Ierusalimschy 2002-03-07 15:14:29 -03:00
  • 6658b9588f details Roberto Ierusalimschy 2002-03-07 15:11:51 -03:00
  • 457d88eaaa configurable minimum size for the string table Roberto Ierusalimschy 2002-03-05 13:22:54 -03:00
  • 8a1a512c64 lu_byte is enough for those fields (maxstack < 256) Roberto Ierusalimschy 2002-03-05 09:42:47 -03:00
  • 6b0c38c2e7 `inline' of tonumber Roberto Ierusalimschy 2002-03-04 18:33:09 -03:00
  • 1a3f175640 small optimization Roberto Ierusalimschy 2002-03-04 18:32:34 -03:00
  • 88c7b574cb `luaA_index' is a local macro now Roberto Ierusalimschy 2002-03-04 18:29:41 -03:00
  • 51bf91a970 detail Roberto Ierusalimschy 2002-03-04 12:40:04 -03:00
  • 1b6315ba10 not all unfinished strings with "..." end in EOF Roberto Ierusalimschy 2002-03-04 12:27:14 -03:00
  • 3b001d9a9d more tests for boolean API Roberto Ierusalimschy 2002-03-04 12:26:56 -03:00
  • c36b5cc726 detail Roberto Ierusalimschy 2002-02-15 13:15:10 -02:00
  • 2c1eb62a08 get error messages from luaL_errstr Roberto Ierusalimschy 2002-02-14 20:23:43 -02:00
  • 63e2d92123 no more -DOLD_ANSI option + details Roberto Ierusalimschy 2002-02-14 19:49:33 -02:00
  • e966dd93be towards next version... Roberto Ierusalimschy 2002-02-14 19:48:32 -02:00
  • 2f8e3c5543 prints any results returned by chunk Roberto Ierusalimschy 2002-02-14 19:47:50 -02:00
  • b0a5e156b8 no more maximum stack size Roberto Ierusalimschy 2002-02-14 19:47:29 -02:00
  • ac178ee478 new constructor syntax + new generic `for' Roberto Ierusalimschy 2002-02-14 19:46:58 -02:00
  • 1e602a61b3 new generic `for' Roberto Ierusalimschy 2002-02-14 19:46:43 -02:00
  • 57fb51f975 luaH_next' works like next' Roberto Ierusalimschy 2002-02-14 19:46:13 -02:00
  • 1c423d2661 LFIELDS_PER_FLUSH is an opcode detail Roberto Ierusalimschy 2002-02-14 19:43:01 -02:00
  • b3ffaca638 details Roberto Ierusalimschy 2002-02-14 19:41:53 -02:00
  • bee86e23be luaH_next' works like next' + better hash for pointers Roberto Ierusalimschy 2002-02-14 19:41:08 -02:00
  • 0056ed4135 better(?) order for types (nil == 0) Roberto Ierusalimschy 2002-02-14 19:40:29 -02:00
  • e01f5e6809 better order of record fields for 64-bit machines Roberto Ierusalimschy 2002-02-08 20:42:41 -02:00
  • cbfc581990 details. Roberto Ierusalimschy 2002-02-08 20:41:50 -02:00
  • d3651c1d88 `getstr' now gives const char * Roberto Ierusalimschy 2002-02-08 20:41:09 -02:00
  • 57a7baafb9 error message compatible with incomplete lines of lua.c Roberto Ierusalimschy 2002-02-08 20:40:27 -02:00
  • 252e01e398 `setlocale' may be used to query the current locale Roberto Ierusalimschy 2002-02-08 20:39:56 -02:00
  • 87b0e3d477 no more `lua_istrue' function Roberto Ierusalimschy 2002-02-08 20:39:36 -02:00
  • cb50fcf42d incomplete lines (by lhf) Roberto Ierusalimschy 2002-02-07 15:27:12 -02:00
  • c6a108e012 test for lua_pushbool Roberto Ierusalimschy 2002-02-07 15:26:33 -02:00
  • d5ceb369b1 boolean type must be 0 or 1 Roberto Ierusalimschy 2002-02-07 15:26:10 -02:00
  • 86a4de256e no more lua_[gs]etstr Roberto Ierusalimschy 2002-02-07 15:25:36 -02:00
  • 53aaee6ee6 comments Roberto Ierusalimschy 2002-02-07 15:25:12 -02:00
  • 67bda7e136 details. Roberto Ierusalimschy 2002-02-07 15:24:05 -02:00
  • 7c8f1823e7 bug: true 1 != true 2 + no more lua_getstr + some new macros Roberto Ierusalimschy 2002-02-07 15:22:53 -02:00
  • ca181f31e4 line number in listcode (and tests for replace) Roberto Ierusalimschy 2002-02-05 20:40:05 -02:00
  • 38b0e6128d simpler implementation for `for' loops Roberto Ierusalimschy 2002-02-05 20:39:12 -02:00
  • addbe8c8b0 protected execution of `resume' Roberto Ierusalimschy 2002-02-05 20:38:37 -02:00
  • 6bb5cb1cbd comments Roberto Ierusalimschy 2002-02-05 20:37:26 -02:00
  • d070506a25 new function luaL_errstr Roberto Ierusalimschy 2002-02-05 20:36:52 -02:00
  • 0a87d9d334 new function `lua_replace' Roberto Ierusalimschy 2002-02-05 20:35:58 -02:00
  • f856fdeabd details Roberto Ierusalimschy 2002-01-30 15:28:05 -02:00
  • 653977a0ac callhook can be static Roberto Ierusalimschy 2002-01-30 15:27:53 -02:00
  • d6fd33e76f eventtable' renamed to metatable' Roberto Ierusalimschy 2002-01-30 15:26:44 -02:00
  • 50e2952593 first version of dynamic stack Roberto Ierusalimschy 2002-01-25 20:14:54 -02:00
  • b217ae644e details Roberto Ierusalimschy 2002-01-25 20:14:09 -02:00
  • a048cc9676 nil is a `valid' eventtable Roberto Ierusalimschy 2002-01-25 19:55:41 -02:00
  • eb262bc617 2^15 does not fit in a 16-bit int Roberto Ierusalimschy 2002-01-25 19:51:33 -02:00
  • 74907fb71e OP_LOADINT can be done by OP_LOADK Roberto Ierusalimschy 2002-01-25 19:50:39 -02:00
  • b38e594ed7 small improvements Roberto Ierusalimschy 2002-01-18 15:39:40 -02:00
  • 448517e47e no more linehook field in CallInfo Roberto Ierusalimschy 2002-01-18 15:39:06 -02:00
  • 931ee346e3 legacy declaration Roberto Ierusalimschy 2002-01-18 15:38:13 -02:00
  • dea98702c9 preparations for stack reallocation Roberto Ierusalimschy 2002-01-16 20:04:50 -02:00
  • 7ab7703b53 cleaner semantics for test instructions (skips) Roberto Ierusalimschy 2002-01-16 20:03:57 -02:00
  • 566310fa04 small optimization Roberto Ierusalimschy 2002-01-16 20:02:46 -02:00
  • 6272c843de yield' passes its arguments to resume' Roberto Ierusalimschy 2002-01-11 18:27:41 -02:00
  • 5d14ce612b details Roberto Ierusalimschy 2002-01-11 18:27:11 -02:00
  • d56d4cf776 distinct functions to create/destroy states and threads Roberto Ierusalimschy 2002-01-11 18:26:52 -02:00
  • b7ae43d457 detail Roberto Ierusalimschy 2002-01-11 18:23:01 -02:00
  • f083812c02 first implementation of coroutines Roberto Ierusalimschy 2002-01-09 20:02:47 -02:00
  • 3533382a1e dependencies updated Roberto Ierusalimschy 2002-01-09 19:59:24 -02:00
  • ea2a75d19e new macro lua_userstateopen Roberto Ierusalimschy 2002-01-09 19:51:06 -02:00
  • b3bb0f132b new interface for weak modes Roberto Ierusalimschy 2002-01-09 19:50:35 -02:00
  • facfec0687 small optimizations Roberto Ierusalimschy 2002-01-03 15:42:57 -02:00
  • 34df9976a9 some compatibility macros Roberto Ierusalimschy 2002-01-03 15:28:58 -02:00