352 Commits

Author SHA1 Message Date
paladin-t
32e93a758c +added an OS statement; *refactored platform dependent macros. 2016-03-01 13:21:19 +08:00
paladin-t
b3a461e796 *added a reset parameter to mb_load_string. 2016-02-29 20:13:47 +08:00
paladin-t
18665824de *fixed a parsing issue; *updated doc. 2016-02-29 14:19:03 +08:00
paladin-t
80edd2250a +added multiple line comment support; *fixed a crash bug with an invalid expression. 2016-02-29 14:01:47 +08:00
paladin-t
125b2d617b *polished code. 2016-02-29 10:54:56 +08:00
Wang Renxin
d4137157a7 *polished code. 2016-02-28 12:04:52 +08:00
paladin-t
f713c1b9a2 *fixed a multiple disposing bug with outer scopes of lambda. 2016-02-26 18:50:53 +08:00
paladin-t
4b54d931f8 *fixed a class field cloning issue. 2016-02-26 13:22:40 +08:00
paladin-t
c5df541e2b +added a ME keyword to represent a class instance itself; +added shallow cloning support; *fixed an overrided function copying issue. 2016-02-26 13:06:52 +08:00
paladin-t
ff999bf97f *fixed a wrong variable manipulation bug with the PRINT statement. 2016-02-25 16:00:55 +08:00
paladin-t
9cad7c6992 *improved importing directory detection. 2016-02-25 15:36:25 +08:00
paladin-t
a9e7245be1 *fixed an array index calculation bug. 2016-02-25 11:36:34 +08:00
paladin-t
a157c2e67a *fixed a bug with the END and RETURN statement with FOR loop. 2016-02-25 10:16:59 +08:00
paladin-t
af913590f5 +added support to apply the len statement to an array assigned from another. 2016-02-24 11:26:50 +08:00
paladin-t
fe24b5adf8 +added a to_array statement. 2016-02-24 11:11:37 +08:00
paladin-t
9755638969 *polished code. 2016-02-23 16:37:35 +08:00
paladin-t
a3eeaf99d8 +added meta function overriding support for referenced usertype; +added an mb_override_value function. 2016-02-23 15:53:15 +08:00
paladin-t
c9322c9d92 *polished code; *updated win bin. 2016-02-23 10:25:16 +08:00
Wang Renxin
b6f4d53e2e *fixed an iterator disposing issue by referencing a collection weakly. 2016-02-22 21:29:10 +08:00
paladin-t
80f605c0c9 +added array accessing support of a class instance. 2016-02-22 15:25:20 +08:00
paladin-t
42d8bf6649 +added array clone support. 2016-02-22 14:35:27 +08:00
paladin-t
ae971aefbd +added member accessing support following a routine of a class instance. 2016-02-19 20:00:49 +08:00
paladin-t
a6aeab3ad8 *simplified code. 2016-02-19 17:33:03 +08:00
paladin-t
f6d17ef9cf *polished error promption text; *polished code. 2016-02-19 17:27:37 +08:00
paladin-t
21014877f4 +added source tracing for sub routine invoking; *fixed a lexical object convertion issue. 2016-02-19 17:16:54 +08:00
paladin-t
a786ec13c3 *polished code. 2016-02-18 11:44:00 +08:00
paladin-t
644bef1233 *fixed a wrong list linkage bug with list sorting. 2016-02-18 11:20:41 +08:00
paladin-t
4a715f8ea8 +added a generic iterator type. 2016-02-18 11:07:04 +08:00
Wang Renxin
a1a7a2e5ce *fixed a bug of the EXIT statement with FOR loop. 2016-02-16 11:32:33 +08:00
Wang Renxin
03ab021597 *fixed a bug of the EXIT statement with multiple line IF statement. 2016-02-11 22:04:49 +08:00
Wang Renxin
7af445ec1b *fixed a wrong loop bug with WHILE and DO statements. 2016-02-10 21:27:38 +08:00
paladin-t
d0d9c84b9d *fixed a member assignment bug when cloning a class instance; *avoided warnings with some compilers. 2016-02-04 11:45:02 +08:00
paladin-t
4d7dd1e28e *fixed a wrong parameter variable accessing bug; *fixed some memory leaks with collection gc. 2016-02-03 19:07:34 +08:00
paladin-t
5fc265e8d4 *fixed a wrong garbage collection bug with members of a class instance. 2016-02-03 17:35:07 +08:00
paladin-t
bb7fba843e +added an index_of statement. 2016-02-03 15:25:33 +08:00
paladin-t
06b42e270e *fixed a wrong dereferencing bug with referenced type hashing and comparison; *fixed an invalid lambda bug with gc. 2016-02-03 14:46:01 +08:00
paladin-t
b086bf8436 *fixed a memory leak with sub routine when assigning it as upvalue. 2016-02-03 10:53:09 +08:00
paladin-t
5105addfd5 *polished code. 2016-02-02 16:02:39 +08:00
paladin-t
ff11eca576 *added _ticks for apple and gnu compilers. 2016-02-02 15:52:47 +08:00
paladin-t
20e5016bb0 *optimized list sorting function by using merge sorting. 2016-02-02 10:53:28 +08:00
paladin-t
afbb9baf8a *refactored list sort. 2016-02-02 10:24:48 +08:00
Wang Renxin
1f5bb6423b +added a TRACE command; *fixed an infinity loop bug in the mb_debug_get_stack_trace function. 2016-01-30 12:32:00 +08:00
paladin-t
c5edb2b1f2 *fixed lookup bugs with member sub routine of a class instance. 2016-01-29 19:55:54 +08:00
paladin-t
0b3c2af998 *fixed lookup bugs with sub routine. 2016-01-29 15:03:03 +08:00
paladin-t
43bc11d97c *fixed a member accessing bug with class instance. 2016-01-29 13:34:48 +08:00
paladin-t
504294804c *fixed a routine retrieving bug. 2016-01-28 16:57:19 +08:00
paladin-t
f777249d8a *avoided warnings when compiling for 64bit system. 2016-01-28 14:24:54 +08:00
paladin-t
f5be6e7ab5 *fixed a crash bug when skipping a struct. 2016-01-28 11:17:25 +08:00
paladin-t
20bed0698b *polished gc code. 2016-01-27 19:50:17 +08:00
paladin-t
4a28c1e0d4 -removed the MB_ENABLE_GC macro. 2016-01-27 19:25:28 +08:00