377 Commits

Author SHA1 Message Date
Wang Renxin
18b00672ed +added a checking step for alive objects in all forked environment. 2017-11-15 12:55:57 +08:00
Wang Renxin
46a450da20 *fixed an extended abort issue.
*fixed a crash bug with routine.
*fixed a GC bug with outer scopes of lambda.
2017-11-13 20:10:19 +08:00
Wang Renxin
ceb91305a3 *fixed an accessing issue with upvalues. 2017-11-13 11:34:33 +08:00
Wang Renxin
9a2d88d304 *fixed a gc bug with dictionary. 2017-11-10 21:26:13 +08:00
Wang Renxin
937f2ab4ab *fixed a bug with overlapped lambda scopes.
*fixed a bug with lambda lookup.
2017-11-10 00:05:33 +08:00
Wang Renxin
f966400979 *RENAMED THE TOSTRING SYMBOL TO TO_STRING!!! 2017-11-08 15:48:20 +08:00
Wang Renxin
01b4b2e00e *fixed a bug with single-line nested IF statement. 2017-11-07 16:28:10 +08:00
Wang Renxin
91ad8cd226 *fixed a gc bug with routine in a collection. 2017-11-05 21:01:57 +08:00
Wang Renxin
40873ca805 *fixed a GC bug with retrieved routine. 2017-11-05 20:24:25 +08:00
Wang Renxin
20a4ab7c06 *fixed a GC bug with upvalues in a closure. 2017-11-05 19:23:20 +08:00
Wang Renxin
ef73407de3 *fixed a crash bug with conflicting routine and class identifier.
*fixed a dangling pointer bug with incomplete structures.
*fixed a memory leak with wrong routine or class identifier.
*fixed a memory leak with incomplete structures.
2017-11-05 18:13:30 +08:00
Wang Renxin
dcc187a5ea +added some location parameters to the mb_get_last_error function. 2017-11-01 21:41:56 +08:00
Wang Renxin
dc7ecd8ed8 +added support to apply the STR statement to a type value.
*fixed a referencing bug with an unnamed array.
2017-10-30 14:11:35 +08:00
Wang Renxin
330e6a7f0f *fixed a crash bug when access an unnamed array. 2017-10-29 16:27:27 +08:00
Wang Renxin
bd7d1712d0 *fixed a memory leak with an unexpected value. 2017-10-25 13:19:51 +08:00
Wang Renxin
c3dfe71c9c *fixed a memory leak with a hanged value.
*fixed some crash.
2017-10-24 20:52:51 +08:00
Wang Renxin
23e29abb45 +added support to apply the CLONE statement to a referenced usertype. 2017-10-23 16:41:57 +08:00
Wang Renxin
6497e3d288 *renamed the EXIST statement to EXISTS.
*fixed a warning.
2017-10-22 15:51:28 +08:00
Wang Renxin
78b4091834 *fixed a wrong comparison bug of member names with the REFLECT statement. 2017-10-19 15:06:43 +08:00
Wang Renxin
8aa2028011 +added comparison between string and nil;
*fixed a multiple disposing bug with retrieved routine object;
*fixed a bug with uncleared parsing context.
2017-10-17 20:30:14 +08:00
Wang Renxin
8523c80d97 *fixed an error prompting bug with the INPUT statement. 2017-10-14 16:59:09 +08:00
Wang Renxin
ae3597a8ba *fixed a multiple disposing bug. 2017-10-14 16:44:40 +08:00
Wang Renxin
9049e37909 *improved expression evaluation speed. 2017-10-09 14:32:14 +08:00
Wang Renxin
de3ff13389 *fixed an infinity loop bug with error handling; *fixed a wrong error locating bug. 2017-10-05 19:29:34 +08:00
Wang Renxin
c3438b2d57 +added a _SIMPLE_ARG_ERROR macro. *fixed wrong usage of _MULTILINE_STATEMENT. 2017-09-22 18:18:29 +08:00
Wang Renxin
3f570396c9 *fixed a referenced usertype cloning issue. 2017-09-13 22:11:11 +08:00
Wang Renxin
dd0a5260e1 +added a prompting for inputer. 2017-08-29 22:04:29 +08:00
Wang Renxin
f3ab800bec +added an mb_get_var_name function. 2017-07-24 19:25:49 +08:00
Wang Renxin
3784ea5566 *polishing. 2017-07-19 15:27:52 +08:00
Wang Renxin
b095bd972a +added support to apply the FOR statement to an iterable class instance; *minor bugfix. 2017-07-07 11:01:23 +08:00
Wang Renxin
3fd45e45fd +added support to apply the FOR statement to an iterable referenced usertype. 2017-07-04 15:05:55 +08:00
Wang Renxin
283b7aa593 +added function overriding support of the ITERATOR statement. 2017-07-04 13:53:39 +08:00
Wang Renxin
b136fbb5dc *fixed a disposing bug with non-referenced array. 2017-07-03 18:15:51 +08:00
Wang Renxin
d5aa1867ee +added a customizable identifier alias macro for lambda. 2017-06-17 20:46:06 +08:00
Wang Renxin
ab382b9728 *fixed a processing bug with the ELSE statement, thanks to yukini3 for pointing it out. *avoided warnings with some compilers. *modified output path with visual studio. *updated binaries. 2017-06-10 16:04:26 +08:00
Wang Renxin
4804d03458 !!! SOME NAMES HAVE BEEN CHANGED !!! +added an mb_get_routine_type function. *renamed mb_close_forked to mb_join. *fixed some type name typos. 2017-06-07 16:18:58 +08:00
Wang Renxin
3359a224e3 +added an 'mb_keys_of_coll' function, which gets indices of a list or all keys of a dict. 2017-06-02 16:06:33 +08:00
Wang Renxin
6088d98714 *fixed a memory leak when applying GC on a forked environment. 2017-05-24 18:49:17 +08:00
Wang Renxin
b1f2ffa538 *improved stability by preventing assigning builtin boolean. *polished error constants. 2017-05-20 16:01:46 +08:00
Wang Renxin
2fd9519b09 *fixed some potential memory leak when popped unexpected type of argument. 2017-05-18 13:59:31 +08:00
Wang Renxin
10098a7e36 *fixed a forked structure disposing issue if error occurs. 2017-05-17 21:18:50 +08:00
Wang Renxin
3ba4fdec26 +added mb_get_gc_enabled and mb_set_gc_enabled functions. 2017-05-15 22:46:28 +08:00
Wang Renxin
aa083f26fc +added a clear_parser parameter to the mb_run function. +added an extra end of running checking after stepped. 2017-05-14 17:04:47 +08:00
Wang Renxin
f3b8fa1905 *optimized for embedded systems. 2017-05-13 13:36:04 +08:00
Wang Renxin
94ab881209 *fixed a wrong multi-line enabled bug when met unexpected token. 2017-05-12 20:39:12 +08:00
Wang Renxin
305f698b9a *fixed a crash bug when there's no receiver of a returned string value. 2017-05-10 21:04:34 +08:00
Wang Renxin
f83627bd20 +added an mb_make_usertype_bytes macro. 2017-05-10 18:45:18 +08:00
Wang Renxin
e21aad249b +added fork functions. 2017-05-08 20:59:28 +08:00
Wang Renxin
e0312fa4af +added a global alive object checker. 2017-05-08 15:48:27 +08:00
Wang Renxin
6dce8f749d *fixed a wrong context processing bug when evaluating a routine manually, thanks to Diederik for pointing it out. 2017-05-07 14:13:09 +08:00