Commit Graph
100 Commits
Author SHA1 Message Date
Roberto Ierusalimschy 87a5fae453 tables describing opcodes 2001-06-28 16:58:57 -03:00
Roberto Ierusalimschy afed6c6864 missing an opcode name 2001-06-28 12:06:20 -03:00
Roberto Ierusalimschy 770954510f rename of kproto' to p' 2001-06-28 11:57:17 -03:00
Roberto Ierusalimschy b346834a09 new macros for changing numbers 2001-06-28 11:48:44 -03:00
Roberto Ierusalimschy 61a036eaa5 new macro to control format for `read"*n"' 2001-06-28 11:45:44 -03:00
Roberto Ierusalimschy 37f3a1c045 too much optimization to "break" keys in tables; keep them as TObjects... 2001-06-26 10:20:45 -03:00
Roberto Ierusalimschy 9559c111a3 new read' option *u' (read-until) + simpler implementation for `read' 2001-06-22 10:49:42 -03:00
Roberto Ierusalimschy 777061e441 resurect userdata before calling its GC tag method 2001-06-21 13:41:34 -03:00
Roberto Ierusalimschy fccadba4b5 new reserved words in' and global' 2001-06-20 18:07:57 -03:00
Roberto Ierusalimschy b940f09984 no more "compat mode" with 3.2 (deprecated functions) 2001-06-20 14:25:30 -03:00
Roberto Ierusalimschy 878979cef7 no more opnames in binary tag methods 2001-06-20 14:22:46 -03:00
Roberto Ierusalimschy 8e586c13fc cleaner way to ensure alignment for strings and userdata 2001-06-15 17:36:57 -03:00
Roberto Ierusalimschy eadf2aaaff small optimizations 2001-06-15 16:17:33 -03:00
Roberto Ierusalimschy ae19b2f51e more relaxed rules for syncronized access 2001-06-15 16:16:41 -03:00
Roberto Ierusalimschy a3fbf5f5fd details 2001-06-13 15:51:20 -03:00
Roberto Ierusalimschy 7fae1c17b1 detail 2001-06-13 11:25:49 -03:00
Roberto Ierusalimschy 89e8303f4e more robust treatment of GC tag methods (now they can create new
objects while running...)
2001-06-12 15:43:13 -03:00
Roberto Ierusalimschy 89c301d180 `(exp)' adjusts exp to 1 result 2001-06-12 11:36:48 -03:00
Roberto Ierusalimschy 186111dc01 unused definition 2001-06-11 11:57:17 -03:00
Roberto Ierusalimschy 0a1b1acdd3 details about opcode parameters 2001-06-11 11:56:42 -03:00
Roberto Ierusalimschy 79acf5ea60 details 2001-06-08 16:20:02 -03:00
Roberto Ierusalimschy cbc59592ff new definition for luaD_call' and luaD_adjusttop' 2001-06-08 16:01:38 -03:00
Roberto Ierusalimschy 4905fdd135 C++ warning 2001-06-08 13:48:32 -03:00
Roberto Ierusalimschy 0267168675 details. 2001-06-08 09:29:27 -03:00
Roberto Ierusalimschy ba11831d35 smaller structs for udata and for strings 2001-06-07 12:01:21 -03:00
Roberto Ierusalimschy 190ddd431d details (rests of debug code) 2001-06-07 11:44:51 -03:00
Roberto Ierusalimschy 65c289b046 details 2001-06-07 10:46:29 -03:00
Roberto Ierusalimschy d5b83ead90 new implementation for userdatas, without `keys' 2001-06-06 15:00:19 -03:00
Roberto Ierusalimschy da673d31aa user can define extra alignment requirements 2001-06-05 17:01:09 -03:00
Roberto Ierusalimschy 323da72577 weakmode' queries must have an explicit ?' 2001-06-05 16:41:31 -03:00
Roberto Ierusalimschy 943b8f5b18 details 2001-06-05 16:41:24 -03:00
Roberto Ierusalimschy 762d059a13 new implementation for the Virtual Machine 2001-06-05 15:17:01 -03:00
Roberto Ierusalimschy 572a69b6af name changes 2001-04-23 13:35:45 -03:00
Roberto Ierusalimschy beee01b170 re-implementation of refs through weak tables 2001-04-17 14:35:54 -03:00
Roberto Ierusalimschy 6473f965ca new API functions to load (parse?) a chunk without running it. 2001-04-11 15:39:37 -03:00
Roberto Ierusalimschy 0e0e4a480e first implementation for weak tables 2001-04-11 11:42:41 -03:00
Roberto Ierusalimschy 2a50188269 avoid use of l_char outside INTERNALs (use lua_char instead) 2001-04-06 18:17:37 -03:00
Roberto Ierusalimschy 9aedea6ec8 small bug (when parser fails, there is no function on the stack...) 2001-04-06 16:26:06 -03:00
Roberto Ierusalimschy a68635a919 list constructors do not adjust last expression 2001-04-06 15:25:00 -03:00
Roberto Ierusalimschy 2112142680 allow syntax << function (x) ... end (...) >> as a statement 2001-04-05 13:49:14 -03:00
Roberto Ierusalimschy dd3a63c205 new way to handle `profiles' 2001-03-26 11:31:49 -03:00
Roberto Ierusalimschy cb49b088b6 old signature for lua_open 2001-03-09 15:05:05 -03:00
Roberto Ierusalimschy c5a23cf01a details 2001-03-07 15:16:22 -03:00
Roberto Ierusalimschy 6048c4f74d better way to link callinfo's and stack 2001-03-07 15:09:25 -03:00
Roberto Ierusalimschy 5e870f86a2 optimization for tailcall does not seem to pay itself 2001-03-07 10:22:55 -03:00
Roberto Ierusalimschy f81b8adb3f string [[...]] ignores initial \n 2001-03-07 09:49:37 -03:00
Roberto Ierusalimschy 2b2267069b new functions pack' and unpack' 2001-03-07 09:43:52 -03:00
Roberto Ierusalimschy 72d3d155b0 detail 2001-03-07 09:27:06 -03:00
Roberto Ierusalimschy 6d4db86888 open functions are lua_Cfunctions 2001-03-06 17:09:38 -03:00
Roberto Ierusalimschy e9a3820370 sizeof(string) != strlen(string)+1 when sizeof(char) != 1 2001-03-06 11:46:54 -03:00
Roberto Ierusalimschy 9e8a46daa2 details (identation) 2001-03-02 14:40:08 -03:00
Roberto Ierusalimschy 7b84f9e65c lower-case for macros with arguments 2001-03-02 14:27:50 -03:00
Roberto Ierusalimschy 1e40b4dc61 buffer should be void *, as char now is not that neutral...
+ little bug in pointer arithmetic
2001-02-23 17:32:32 -03:00
Roberto Ierusalimschy dfd7ce74cf buffer should be void *, as char now is not that neutral... 2001-02-23 17:32:16 -03:00
Roberto Ierusalimschy 8399df5dcf detail 2001-02-23 17:31:37 -03:00
Roberto Ierusalimschy d2a64bb6d4 `llimits' may need definitions from LUA_USER_H 2001-02-23 17:28:56 -03:00
Roberto Ierusalimschy a90f06dcd8 `atoi' does not have a wide-char equivalent 2001-02-23 17:28:26 -03:00
Roberto Ierusalimschy 35023355f2 details for wchar 2001-02-23 14:28:12 -03:00
Roberto Ierusalimschy 39b7978329 first (big) step to support wide chars 2001-02-23 14:17:25 -03:00
Roberto Ierusalimschy d164e2294f _ERRORMESSAGE called through get global tag method 2001-02-23 10:38:56 -03:00
Roberto Ierusalimschy 2cc94ac81b avoid name clash with `sys/stat' 2001-02-23 10:38:56 -03:00
Roberto Ierusalimschy 5f37134e64 avoid '...' and "..." inside comments 2001-02-22 15:59:59 -03:00
Roberto Ierusalimschy 52ee91dd73 better encapsulation of some types 2001-02-22 14:15:18 -03:00
Roberto Ierusalimschy 191fd35f0a warnings from Visual C++ 2001-02-21 13:52:09 -03:00
Roberto Ierusalimschy d6978d03e1 small bug in testing (pushuserdata needs some memory to work...) 2001-02-21 13:51:25 -03:00
Roberto Ierusalimschy 68b08848d4 `dostring' now is safe to run binary code. 2001-02-20 15:29:54 -03:00
Roberto Ierusalimschy 888f91fa24 code check for upvalues 2001-02-20 15:28:11 -03:00
Roberto Ierusalimschy c1db0b2bf1 detail 2001-02-20 15:18:00 -03:00
Roberto Ierusalimschy 099442c41f better separation between basic types 2001-02-20 15:15:33 -03:00
Roberto Ierusalimschy 27600fe87a better strucuture for code checker 2001-02-16 15:58:27 -02:00
Roberto Ierusalimschy f8509668dc details. 2001-02-14 15:38:45 -02:00
Roberto Ierusalimschy 40f4e931f3 more liberal syntax for expressions 2001-02-14 15:19:28 -02:00
Roberto Ierusalimschy 29371ecfe8 better way to handle multi-line input (with concat) 2001-02-14 15:19:01 -02:00
Roberto Ierusalimschy 5d9b8b7cdc more secure definition for lua_concat 2001-02-14 15:04:11 -02:00
Roberto Ierusalimschy 1c2501fad4 tests for string alignment 2001-02-13 14:52:01 -02:00
Roberto Ierusalimschy a4ae1475e3 details (smaller code) 2001-02-13 14:17:53 -02:00
Roberto Ierusalimschy b3da4ee907 checking consistency of jumps. 2001-02-12 17:54:50 -02:00
Roberto Ierusalimschy 3c649ce123 checking consistency of jumps (and some other details) 2001-02-12 17:54:28 -02:00
Roberto Ierusalimschy 95da574dbc some compilers (wrongly) complain about that 2001-02-12 17:21:19 -02:00
Roberto Ierusalimschy 255052b6c6 better API checks 2001-02-12 13:42:44 -02:00
Roberto Ierusalimschy 1bdc156b52 details 2001-02-12 11:04:19 -02:00
Roberto Ierusalimschy 03d8a9bf0d details 2001-02-09 18:29:33 -02:00
Roberto Ierusalimschy d2e340f467 string pointers are always fully aligned 2001-02-09 18:22:29 -02:00
Roberto Ierusalimschy 6875fdc8be new semantics for pushuserdata (no more different userdatas with same value) 2001-02-09 17:53:16 -02:00
Roberto Ierusalimschy dc17a9cc24 new semantics for pushuserdata 2001-02-09 17:52:54 -02:00
Roberto Ierusalimschy 81e63f75c0 `tostring' uses type names (when available) 2001-02-09 17:52:24 -02:00
Roberto Ierusalimschy c81404cae5 first version of code verification 2001-02-09 16:37:33 -02:00
Roberto Ierusalimschy b6ce590433 details 2001-02-09 16:07:47 -02:00
Roberto Ierusalimschy e70e6a3b7a <read(0)> tests for EOF 2001-02-09 14:25:50 -02:00
Roberto Ierusalimschy 6548bf7462 warnings from Visual C 2001-02-08 09:19:10 -02:00
Roberto Ierusalimschy 7178a5e34a new way to handle top x L->top 2001-02-07 16:13:49 -02:00
Roberto Ierusalimschy 322b7b5fc5 easier to add new initialization functions 2001-02-06 16:18:58 -02:00
Roberto Ierusalimschy 1f917e709c better use of extra include files (both for tests and for old_ansi) 2001-02-06 14:01:29 -02:00
Roberto Ierusalimschy d444153dbe ESC (which starts precompiled code) in C is \33, not \27 2001-02-06 11:59:29 -02:00
Roberto Ierusalimschy a894499566 details 2001-02-05 17:08:01 -02:00
Roberto Ierusalimschy d1fc6244f0 extended syntax to allow function a.b.c (x) 2001-02-05 15:48:52 -02:00
Roberto Ierusalimschy 7e3d3e1f70 details 2001-02-02 17:02:40 -02:00
Roberto Ierusalimschy 1f9e3731d1 back to the basics (well-behaved variant record...) 2001-02-02 14:32:00 -02:00
Roberto Ierusalimschy 42224ca553 loop of 'dostring' may never reclaim memory 2001-02-02 14:23:20 -02:00
Roberto Ierusalimschy 426d3e43bd lock/unlock may use L + better structure for internal debug stuff 2001-02-02 13:13:05 -02:00