343 Commits

Author SHA1 Message Date
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
Wang Renxin
69eb74ae35 *improved the stepped handler. 2017-01-17 15:22:26 +08:00
Wang Renxin
1af1ecb5f1 +added dot symbol accessing of functions for referenced usertype. 2017-01-07 16:16:37 +08:00
Wang Renxin
5a3a8dcc0f *fixed a case sensitive issue with the IMPORT statement (for module). 2016-12-28 11:40:41 +08:00
Wang Renxin
3d4407b9c4 +added memory allocation failure check to the shell. 2016-12-23 14:19:46 +08:00
Wang Renxin
3afe5b7e03 *polished shell. 2016-12-22 23:28:22 +08:00
Wang Renxin
5ab34b5088 *improved parsing context maintaining. 2016-12-21 20:40:38 +08:00
Wang Renxin
aa5885ff45 *narrowed array structure;
*narrowed bool_t;
*updated doc;
*polished something.
2016-12-20 20:33:42 +08:00
Wang Renxin
eb2b097a4a *improved input statement;
*fixed a warning.
2016-12-16 11:26:16 +08:00
Wang Renxin
6b12a618a8 +added a REM statement. 2016-12-05 13:01:04 +08:00
Wang Renxin
b358ba2fbc *fixed a file importing bug;
-removed the SET_IMPORTING_DIRS statement.
2016-11-01 12:28:53 +08:00
Wang Renxin
c623be78f2 *fixed a percent symbol printing bug, thanks to Philip Bister for pointing it out;
*fixed some compiling warnings with xcode.
2016-10-23 21:40:16 +08:00
Wang Renxin
59d44720c1 +added function overriding support for class instance. 2016-08-09 14:26:56 +08:00
Wang Renxin
442e26ca3f *fixed a multiple disposing bug with gc;
*polished the yard sample.
2016-08-09 10:41:18 +08:00
Wang Renxin
4c351dc196 *refactored to return unknown when trying to access a not exist member in a prototype. 2016-08-07 00:21:35 +08:00