1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Commit Graph

  • af19d55635 generic for also coded to make test at the end of the loop Roberto Ierusalimschy 2002-05-13 10:09:00 -03:00
  • b55fded18c details about jump optimization Roberto Ierusalimschy 2002-05-13 10:07:48 -03:00
  • 2dadc81822 cleaner implementation of code generation for jumps Roberto Ierusalimschy 2002-05-10 16:22:11 -03:00
  • b487975344 optimization for `while' (first version) Roberto Ierusalimschy 2002-05-10 14:02:32 -03:00
  • 94e5545806 comment Roberto Ierusalimschy 2002-05-09 15:00:38 -03:00
  • 78b40bf57d `skip' instructions must be followed by a jump Roberto Ierusalimschy 2002-05-09 11:14:34 -03:00
  • 01f1ac36b1 `global' tables (registry, etc.) stored in proper place, not in the stack Roberto Ierusalimschy 2002-05-08 14:34:23 -03:00
  • a4d06736d4 correct implementation for arrays of size 1 Roberto Ierusalimschy 2002-05-08 14:34:00 -03:00
  • dea6b6da94 new function lua_vpushstr' to replace uses of sprintf' Roberto Ierusalimschy 2002-05-07 14:36:56 -03:00
  • 71144e3ff0 errors return' int, to avoid warnings + home-made sprintf' (first version) Roberto Ierusalimschy 2002-05-06 16:05:10 -03:00
  • 0dbf0c5953 new format for test intructions (handle NaN correctly) Roberto Ierusalimschy 2002-05-06 12:51:41 -03:00
  • 85dcb411a8 all textual errors go through `luaL_verror' Roberto Ierusalimschy 2002-05-02 14:12:27 -03:00
  • 3c6a383d62 avoid limits in filename size Roberto Ierusalimschy 2002-05-02 13:55:55 -03:00
  • 9a0f0dcc77 precompiler may create functions without `lineinfo' Roberto Ierusalimschy 2002-05-02 10:06:20 -03:00
  • 751cd867d3 new way to handle errors Roberto Ierusalimschy 2002-05-01 17:48:12 -03:00
  • b36b2a061c new way to handle errors Roberto Ierusalimschy 2002-05-01 17:40:42 -03:00
  • ab52fc6097 new macro to `fix' strings Roberto Ierusalimschy 2002-04-30 10:01:48 -03:00
  • e68d0df1c6 function `zsopen' is not used Roberto Ierusalimschy 2002-04-29 09:37:41 -03:00
  • 9b38a696d5 avoid names that differ only in capitalization Roberto Ierusalimschy 2002-04-24 17:07:46 -03:00
  • 383e8b9e77 use of a common `dummynode' for all empty tables Roberto Ierusalimschy 2002-04-23 12:04:39 -03:00
  • f1a1bb23fe good stack limit to compute ack(8,3) Roberto Ierusalimschy 2002-04-23 11:59:35 -03:00
  • 151ba1cc7b details Roberto Ierusalimschy 2002-04-23 11:59:22 -03:00
  • ee4859b3e3 new way to handle errors (temporary version) Roberto Ierusalimschy 2002-04-22 11:40:50 -03:00
  • f388ee4a82 new way to handle errors Roberto Ierusalimschy 2002-04-22 11:40:23 -03:00
  • 30ad4c75db bug: 'local a,b; a,b = 1,f()' did not close f() Roberto Ierusalimschy 2002-04-22 11:38:52 -03:00
  • 3ee1efa7b2 some simplifications Roberto Ierusalimschy 2002-04-22 11:37:09 -03:00
  • c11d374c59 `panic' function configurable via API Roberto Ierusalimschy 2002-04-16 14:08:28 -03:00
  • 13230c451b details Roberto Ierusalimschy 2002-04-16 09:00:02 -03:00
  • 391c5459cb new implementation for `require' (with templates) Roberto Ierusalimschy 2002-04-15 17:54:41 -03:00
  • 62dd4cbe91 check for errors while loading file Roberto Ierusalimschy 2002-04-15 16:34:42 -03:00
  • ae5283dc36 co' library goes with basic library (and not with tab') Roberto Ierusalimschy 2002-04-12 16:57:29 -03:00
  • 1ce6cb6032 no more option `*u' in read (too complex) Roberto Ierusalimschy 2002-04-12 16:56:25 -03:00
  • 11c63bc3af error in calls signalled in first line (instead of last) Roberto Ierusalimschy 2002-04-10 16:14:45 -03:00
  • f1f271ae76 details Roberto Ierusalimschy 2002-04-10 15:05:08 -03:00
  • 6c7334a9ac line trace uses savedpc' to save last pc' seen Roberto Ierusalimschy 2002-04-10 09:11:07 -03:00
  • 8e1e618606 baselib' splited in baselib' and `tablib' Roberto Ierusalimschy 2002-04-09 17:19:06 -03:00
  • af4721f7a3 library with table manipulation functions Roberto Ierusalimschy 2002-04-09 17:19:06 -03:00
  • 018e50ad7f use addresses as keys to hooks Roberto Ierusalimschy 2002-04-09 16:48:08 -03:00
  • 7b65328c8e new semantics for `generic for' (with state) Roberto Ierusalimschy 2002-04-09 16:47:44 -03:00
  • d2e05589d7 bug: `resume' was returning its arguments, too Roberto Ierusalimschy 2002-04-09 16:46:56 -03:00
  • 237969724f support for light' userdata + simpler support for boxed' udata Roberto Ierusalimschy 2002-04-05 15:54:31 -03:00
  • f438d00ef3 correct #args for calls with self (a:foo(...)) Roberto Ierusalimschy 2002-04-04 17:25:55 -03:00
  • c3b90061ea new design for iolib (object style) Roberto Ierusalimschy 2002-04-04 17:24:56 -03:00
  • a2e414d679 `pow' must be global (as the implementation of '^') Roberto Ierusalimschy 2002-04-04 17:20:49 -03:00
  • 93bcb65a9b debug interface uses method' to describe calls like a:foo()' Roberto Ierusalimschy 2002-04-04 14:21:31 -03:00
  • 49c95648a0 getmetatable doesn't push nil when there is no metatable Roberto Ierusalimschy 2002-04-02 17:43:18 -03:00
  • 13ab5a6bb1 details Roberto Ierusalimschy 2002-04-02 17:43:08 -03:00
  • cd99bbcd0d better support for new libraries Roberto Ierusalimschy 2002-04-02 17:42:49 -03:00
  • 2cbbf7e95a tostring' uses __tostring' when available Roberto Ierusalimschy 2002-04-02 17:42:20 -03:00
  • e5919be1a7 bug: end of block may not be end of stat Roberto Ierusalimschy 2002-04-02 17:34:15 -03:00
  • b795d4b561 details Roberto Ierusalimschy 2002-04-01 11:42:33 -03:00
  • 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