357 Commits

Author SHA1 Message Date
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
Wang Renxin
38c7908bc7 +added a tobe returned parameter to the mb_eval_routine function; *fixed a mistake. 2017-05-06 20:47:25 +08:00
Wang Renxin
1eff3e902b +added reenterable running; *fixed a multiple disposing bug. 2017-05-03 17:34:16 +08:00
Wang Renxin
d72a974ce6 *fixed a referencing bug with collection iteration in a FOR loop. 2017-04-20 13:03:36 +08:00
Wang Renxin
1a9a6bea59 *renamed the PEEK statement to BACK. 2017-04-08 17:11:05 +08:00
Wang Renxin
4079cfd7d1 +added multi-line statement support. 2017-04-06 11:30:46 +08:00
Wang Renxin
59e758c7f0 *fixed an infinity loop bug with lambda; *fixed a source tracing issue with files imported by external import handler. 2017-04-05 21:23:50 +08:00
Wang Renxin
87e8ef6a4b *fixed a memory leak with sub routine. 2017-04-05 17:41:49 +08:00
Wang Renxin
cf3870509a *fixed a wrong hash bug with pointer, which may cause crash on some 64bit systems. 2017-04-05 16:54:53 +08:00
Wang Renxin
9913258e46 +added an alive object checker of referenced usertype. 2017-03-29 16:48:48 +08:00
Wang Renxin
4694a0852f +added storing of different types support for array. 2017-03-17 20:44:39 +08:00
Wang Renxin
ed4348ad48 *fixed a processing bug when printing with a native routine of a class instance. 2017-03-08 11:30:36 +08:00
Wang Renxin
8cbdaa56f3 *fixed an issue with reference count manipulation of a value. 2017-02-28 19:31:53 +08:00
Wang Renxin
a1fd96aa03 +added an MBIMPL macro;
*fixed some platform dependent macro issues for apple systems;
*polished OS names.
2017-02-25 13:12:46 +08:00
Wang Renxin
07ee2213ac *improved API by replacing assertions with checking code;
*improved function calling of referenced usertype;
*updated the doc.
2017-02-22 12:09:39 +08:00
Wang Renxin
de0a3b7cc5 *improved meta function. 2017-02-16 13:38:35 +08:00
Wang Renxin
e0f71504d6 *fixed a wrong routing unreferencing bug. 2017-02-14 15:37:53 +08:00
Wang Renxin
4e8ae7af8a *fixed a parameter lookup bug when calling a sub routine. 2017-02-10 17:31:31 +08:00
Wang Renxin
6919e52cfb *fixed a processing bug with the elseif statement. 2017-02-08 16:33:56 +08:00
Wang Renxin
9c896d30bf +added a replacement real number formatting function; +added a replacement function of strtod on the wiki page. 2017-02-03 15:34:30 +08:00
Wang Renxin
c205aa4ebd *fixed a crash bug with unmatched ENDIF statement, thanks to yukini3 for pointing it out. 2017-01-19 14:10:11 +08:00