Commit Graph
100 Commits
Author SHA1 Message Date
Roberto Ierusalimschy 9c14b5e416 new test function to list strings from a function 2000-06-02 16:10:01 -03:00
Roberto Ierusalimschy 6b9bf49265 better to keep foreach' and foreachi'. 2000-06-02 16:08:56 -03:00
Roberto Ierusalimschy 989ad7232a changed to test macros for single-state use 2000-06-02 14:06:42 -03:00
Roberto Ierusalimschy 190c3be739 details 2000-05-31 13:53:30 -03:00
Roberto Ierusalimschy 7e30900def better field name 2000-05-30 16:00:31 -03:00
Roberto Ierusalimschy f63d7753b8 files are closed when collected (again) 2000-05-30 15:55:16 -03:00
Roberto Ierusalimschy 50a82ec1b9 gc tag methods for udata are called in (reverse) tag order 2000-05-30 15:54:49 -03:00
Roberto Ierusalimschy ed1751bc32 details 2000-05-29 11:48:03 -03:00
Roberto Ierusalimschy 8e617985fa functions for...' and raw...' are obsolete now 2000-05-26 16:17:57 -03:00
Roberto Ierusalimschy c39345fba3 no more pragmas 2000-05-26 11:04:04 -03:00
Roberto Ierusalimschy ed94a85f0c type details 2000-05-25 16:02:21 -03:00
Roberto Ierusalimschy 58fbdc76d5 better implementation for looh-ahead 2000-05-25 15:59:59 -03:00
Roberto Ierusalimschy a301304612 accepts `$debug' in the middle of a function. 2000-05-25 15:26:42 -03:00
Roberto Ierusalimschy 677313da32 bug: record-constructor starting with an upvalue name gets an error 2000-05-24 15:04:17 -03:00
Roberto Ierusalimschy ef62b340e0 code cleaner for 16 bits. 2000-05-24 10:54:49 -03:00
Roberto Ierusalimschy 5c2dd7a9e0 array `luaK_opproperties' keeps delta stack and mode for each opcode 2000-05-22 15:44:46 -03:00
Roberto Ierusalimschy 93d93a0bfb first implementation of `for' over tables 2000-05-15 16:48:04 -03:00
Roberto Ierusalimschy 9e1f94fc1c cannot change value of private locals (used to implement `for') 2000-05-15 16:30:41 -03:00
Roberto Ierusalimschy 8714cc02d6 `getinfo' gets information about non-active functions, too. 2000-05-12 16:49:18 -03:00
Roberto Ierusalimschy 69b45bb4e9 changes by lhf 2000-05-12 16:19:18 -03:00
Roberto Ierusalimschy 843f84f4ce first element in a list constructor is not adjusted to one value. 2000-05-12 15:12:04 -03:00
Roberto Ierusalimschy b803c0600e details 2000-05-11 15:57:19 -03:00
Roberto Ierusalimschy 8ac0bbf64b new option `-c' to close lua. 2000-05-10 14:00:21 -03:00
Roberto Ierusalimschy dc1e4f5073 missing define for `lua_dobuffer' single-state 2000-05-10 13:35:18 -03:00
Roberto Ierusalimschy 330e51bed3 string hash uses one single hash table 2000-05-10 13:33:20 -03:00
Roberto Ierusalimschy 44b71ca816 defines for _ERRORMESSAGE and _ALERT 2000-05-09 11:50:16 -03:00
Roberto Ierusalimschy bad6365540 details 2000-05-08 17:49:05 -03:00
Roberto Ierusalimschy 91f34fb05c lua.h should not use names without prefix lua_ (`TObject', for instance) 2000-05-08 16:37:10 -03:00
Roberto Ierusalimschy 11a7022067 global variables are stored in a Lua table 2000-05-08 16:32:53 -03:00
Roberto Ierusalimschy 35a6ed2838 detail (error message) 2000-05-08 15:46:34 -03:00
Roberto Ierusalimschy cfe6ca819b default for `getstack' is to get everything 2000-05-08 10:21:35 -03:00
Roberto Ierusalimschy fe5c37ae95 BUG: `strfind' gets wrong subject length when there is an offset 2000-05-02 15:32:22 -03:00
Roberto Ierusalimschy c31f02948f [C++ Warning] lparser.c(326): W8066 Unreachable code.
[C++ Warning] lparser.c(486): W8004 'nargs' is assigned a value that is never used.
2000-04-27 14:39:56 -03:00
Roberto Ierusalimschy c9f91c6fe3 [C++ Warning]: W8084 Suggest parentheses to clarify precedence. 2000-04-27 14:39:15 -03:00
Roberto Ierusalimschy 66d620674c IntPoint does not need L 2000-04-26 10:43:25 -03:00
Roberto Ierusalimschy 84790bb953 "conceptual" bug 2000-04-26 10:43:10 -03:00
Roberto Ierusalimschy 534c3a64d3 small optimizations for table access 2000-04-25 13:55:09 -03:00
Roberto Ierusalimschy b9c98cd4d9 entry for new version (4.0a) 2000-04-25 13:45:39 -03:00
Roberto Ierusalimschy 0e8855e171 final version (by lhf) 2000-04-25 13:44:31 -03:00
Roberto Ierusalimschy 2ae9c856cf more uniform names 2000-04-24 18:05:11 -03:00
Roberto Ierusalimschy c4409f69ab details 2000-04-19 10:41:37 -03:00
Roberto Ierusalimschy 89a9c36281 no more `register' declarations: leave it to the compiler. 2000-04-19 10:36:25 -03:00
Roberto Ierusalimschy 8f2fba5877 using new constructs (for & break) in the examples and code fragments 2000-04-17 16:23:48 -03:00
Roberto Ierusalimschy 62824137d6 no more `seterrormethod' function 2000-04-17 16:23:12 -03:00
Roberto Ierusalimschy 71219ccc39 simpler version of `luaK_tostack' 2000-04-17 11:05:34 -03:00
Roberto Ierusalimschy 870f61d299 code redistribution 2000-04-14 15:12:35 -03:00
Roberto Ierusalimschy c845ec777a new order for modules (better locality??) 2000-04-14 14:52:09 -03:00
Roberto Ierusalimschy e408cf61a2 new version number 2000-04-14 14:48:20 -03:00
Roberto Ierusalimschy 4e90768635 lots of changes (almost ready for 4.0) 2000-04-14 14:47:55 -03:00
Roberto Ierusalimschy c1666a13e3 better code organization 2000-04-14 14:47:24 -03:00
Roberto Ierusalimschy e02750ec60 new type for CFunction (for "pure" C) 2000-04-14 14:46:37 -03:00
Roberto Ierusalimschy 0b56646baf new function `getargs' 2000-04-14 14:46:29 -03:00
Roberto Ierusalimschy 634c3d57e9 optimization for SETLOCAL was too specific. 2000-04-14 14:46:15 -03:00
Roberto Ierusalimschy 4aa9ad6514 functions must return explicit `nil' on failure 2000-04-14 14:44:20 -03:00
Roberto Ierusalimschy d76b1a0eef base' for tonumber' must be >= 2. 2000-04-13 15:08:18 -03:00
Roberto Ierusalimschy e7c8393682 optimization INCLOCAL is not necessary, with `for' 2000-04-13 13:51:01 -03:00
Roberto Ierusalimschy ceaa97ff5b tonumber must return `nil' when convertion fails. 2000-04-13 13:46:43 -03:00
Roberto Ierusalimschy 2bb77cdaed keep opcodes in the right order 2000-04-12 16:56:50 -03:00
Roberto Ierusalimschy f9cf402fbd first implementation of FOR 2000-04-12 15:57:19 -03:00
Roberto Ierusalimschy 0c3fe2c44b comment 2000-04-12 15:47:03 -03:00
Roberto Ierusalimschy 0433e42023 no more repeat ... end. 2000-04-11 15:37:18 -03:00
Roberto Ierusalimschy 0810bc707f new syntax: |label| 2000-04-10 16:21:14 -03:00
Roberto Ierusalimschy c3b73cbeb8 comments (detail) 2000-04-10 16:20:24 -03:00
Roberto Ierusalimschy 1eabd0549e comments 2000-04-07 16:35:31 -03:00
Roberto Ierusalimschy 54dd5cc7fd reorganization of lcode.c 2000-04-07 16:35:20 -03:00
Roberto Ierusalimschy 031978798c more optimizations 2000-04-07 10:13:11 -03:00
Roberto Ierusalimschy 14251c5a56 name changes + new operation - old operation 2000-04-07 10:12:50 -03:00
Roberto Ierusalimschy 42130ed712 name changes 2000-04-07 10:11:49 -03:00
Roberto Ierusalimschy d615e78e08 new optimization: jumps to jumps 2000-04-06 14:36:52 -03:00
Roberto Ierusalimschy c6965ce551 new functions: disassembler and get limit. 2000-04-06 14:35:23 -03:00
Roberto Ierusalimschy 22329e4cdf implementation of BREAK 2000-04-05 14:51:58 -03:00
Roberto Ierusalimschy 9f734094f9 `nil' is optional for next and nextvar (and is not for tonumber & tag). 2000-04-04 17:49:32 -03:00
Roberto Ierusalimschy 4e7e9e8de5 new opcode INCLOCAL. 2000-04-04 17:48:44 -03:00
Roberto Ierusalimschy 3e45496295 syntactical details 2000-04-03 10:44:55 -03:00
Roberto Ierusalimschy e30327728c BUG: tostring() without arguments gives seg. fault. 2000-04-03 10:20:33 -03:00
Roberto Ierusalimschy 36e1390631 details. 2000-03-31 13:28:45 -03:00
Roberto Ierusalimschy 8f0f54ec38 name change 2000-03-30 17:55:50 -03:00
Roberto Ierusalimschy 556a89e537 new names for debug types 2000-03-30 14:19:48 -03:00
Roberto Ierusalimschy e2c60eda16 `luaT_validevent' is exported, because compatibility module for fallbacks
uses it.
2000-03-30 13:41:51 -03:00
Roberto Ierusalimschy a69356e9e0 no more special cases for closures with 0 upvalues (performance is the same,
memory use a little higher, code much simpler).
2000-03-29 17:19:20 -03:00
Roberto Ierusalimschy b53dc0c485 TAG_ARRAY -> TAG_TABLE 2000-03-27 17:10:21 -03:00
Roberto Ierusalimschy 63e230a16b comments 2000-03-27 17:08:33 -03:00
Roberto Ierusalimschy 102a1be615 no more support for gc TM for tables 2000-03-27 17:08:02 -03:00
Roberto Ierusalimschy 4c03196697 lua_setstate makes no sense with explicit multiple states 2000-03-27 11:00:35 -03:00
Roberto Ierusalimschy 54633d7c7d new name for llimits.h 2000-03-24 16:49:23 -03:00
Roberto Ierusalimschy 13578517c7 new file to keep all limits and instalation-dependent definitions 2000-03-24 14:26:08 -03:00
Roberto Ierusalimschy 213e9febc8 limits now are in `llims.n' 2000-03-24 14:26:08 -03:00
Roberto Ierusalimschy 47b4bf5964 small refactoring. 2000-03-24 09:18:30 -03:00
Roberto Ierusalimschy 415ee1a24f SETLINEs for reserved words, too. 2000-03-24 09:17:53 -03:00
Roberto Ierusalimschy 5f3c5ace95 message detail 2000-03-22 13:24:13 -03:00
Roberto Ierusalimschy 441469f803 new option `-s' + argv ends with NULL (so we don't need argc). 2000-03-20 17:27:32 -03:00
Roberto Ierusalimschy 1157c2a7e4 better(?) treatment for SETLINE + while optimization is too complex for
only 3% of maximum improvement.
2000-03-20 16:15:37 -03:00
Roberto Ierusalimschy 374cc888f4 better(?) treatment for SETLINE 2000-03-20 16:15:37 -03:00
Roberto Ierusalimschy bb9605bbc9 tags can be positive values 2000-03-20 16:14:54 -03:00
Roberto Ierusalimschy 6759299880 new implementation for handling I/O tags + setglobal TM for tracing
changes in _INPUT/_OUTPUT
2000-03-20 16:13:45 -03:00
Roberto Ierusalimschy da7eb34cd6 optimization for "while 1" and "repeat until nil" 2000-03-17 11:46:04 -03:00
Roberto Ierusalimschy 2c8e28d75a small changes 2000-03-17 10:09:46 -03:00
Roberto Ierusalimschy 4fb8e93c36 small optimization for i..'' 2000-03-17 10:09:12 -03:00
Roberto Ierusalimschy 7f77431950 detail 2000-03-16 18:06:16 -03:00
Roberto Ierusalimschy 87367e97f3 more information about memory use 2000-03-16 17:35:07 -03:00