152 Commits

Author SHA1 Message Date
Wang Renxin
f8446018b1 *fixed a collection referencing by iterator bug during gc. 2015-10-27 13:12:29 +08:00
Wang Renxin
83fe62ea92 *fixed an argument detection issue with nil value. 2015-10-27 12:58:08 +08:00
Wang Renxin
3794eeb31f +added an mb_set_import_handler function. 2015-10-27 11:52:48 +08:00
Wang Renxin
20cba0bcda +added an mb_init_coll function; *improved stability. 2015-10-27 11:25:21 +08:00
Wang Renxin
b1ac941e9a *avoid warnings. 2015-10-26 11:10:19 +08:00
tony
092d766277 *fixed a wrong identifier parsing bug, thanks to Julien for pointing it out. 2015-10-23 23:34:51 +08:00
Wang Renxin
b6b881e76e +added public collection manipulation interfaces: mb_get_coll, mb_set_coll, mb_remove_coll, mb_count_coll; *improved referenced usertype; *improved usertype by adding size customizable mb_val_bytes_t to the value union; *fixed a dictionary iterator validation bug. 2015-10-23 13:57:21 +08:00
Wang Renxin
a512eee81a *fixed a memory issue in gc, thanks to John and Cybermonkey342 for pointing it out. 2015-10-22 11:07:38 +08:00
Wang Renxin
323a539900 *polished code. 2015-10-21 19:39:50 +08:00
Wang Renxin
31b7059f7c *fixed a reference count manipulation bug; *fixed some uninitialized value issues. 2015-10-21 14:45:38 +08:00
Wang Renxin
564d34cd23 *fixed a scope manipulation bug when evaluating a none parameter routine, thanks to Cybermonkey342 and John for pointing it out. 2015-10-20 19:49:24 +08:00
Wang Renxin
4da0f8b4ba *fixed a wrong processing bug when return in an IF statement chunk. 2015-10-20 18:46:22 +08:00
Wang Renxin
567dee9282 +added a SRND statement; +added range support for RND statement. 2015-10-20 17:50:35 +08:00
Wang Renxin
483a8a9be5 *improved error handling. 2015-10-20 10:03:27 +08:00
Wang Renxin
0d91bd0acf *renamed old mb_ref_value to mb_make_ref_value; +added a new mb_ref_value function; +added an mb_unref_value function. 2015-10-19 13:42:31 +08:00
Wang Renxin
9715c6da8e +added a sub routine invoking function; +added an mb_get_routine function; +added an mb_eval_routine function. 2015-10-19 13:23:46 +08:00
tony
4a006592bc *avoid warnings. *updated binaries. 2015-10-15 21:18:49 +08:00
Wang Renxin
1122741473 *polished code. 2015-10-15 13:10:55 +08:00
Wang Renxin
e94e43622c +added hash, cmp, format functor for referenced usertype. 2015-10-15 13:01:28 +08:00
Wang Renxin
12fef457d3 +added referenced usertype support. 2015-10-15 11:53:35 +08:00
Wang Renxin
57555f8bd4 +ignored array for gc. 2015-10-14 11:44:08 +08:00
Wang Renxin
245c68bb39 +added garbage collection for referenced objects. 2015-10-14 11:36:55 +08:00
Wang Renxin
9c9bb57d33 *fixed a memory leak. 2015-10-13 17:10:04 +08:00
Wang Renxin
716526047d *polished code. 2015-10-13 14:19:23 +08:00
Wang Renxin
a7ba186b6c *changed array to referenced type. 2015-10-13 14:10:57 +08:00
Wang Renxin
7b71bee735 *improved memory pool. 2015-10-12 20:08:24 +08:00
Wang Renxin
1ee5485820 *avoided cycle importing. 2015-10-12 18:46:40 +08:00
Wang Renxin
fca2da3730 *avoid warnings. 2015-10-12 09:57:05 +08:00
tony
a0aee0f46a +added a CLONE statement/function for collections. 2015-10-11 17:41:47 +08:00
tony
1f56b39a4f *optimized LIST indexing; *optimized LIST counting. 2015-10-11 16:01:10 +08:00
tony
598e802ae7 *improved stability for nested IF statement. 2015-10-10 23:51:56 +08:00
Wang Renxin
9f2680e55b *avoid crash. 2015-10-10 20:23:36 +08:00
Wang Renxin
f47077b08d *improved stability, refused nested array inside other collections, and vice versa. 2015-10-08 21:23:57 +08:00
Wang Renxin
22d3d3224b *fixed an iterator validation bug; *fixed an iterator assignment issue. 2015-10-08 20:37:17 +08:00
tony
5f8c901094 *improved printing collection info. 2015-10-07 14:38:47 +08:00
tony
55968967ec +added non number data comparison; *improved collection stability; +accepted dictionary iterator for VAL statement. 2015-10-07 13:11:57 +08:00
tony
f4ea9dce90 *fixed a wrong evaluation bug in nested IF statements, thanks to Julien Krief for pointing it out. 2015-10-05 20:48:03 +08:00
tony
fffb567dd8 +added LIST, DICT; +added TYPE; +added mb_get_type_string. 2015-10-05 17:22:00 +08:00
Wang Renxin
f6814ac00f *improved UTF8 string manipulation. 2015-09-30 10:43:08 +08:00
Wang Renxin
e8a1f62c64 +added UTF8 support for string manipulation. 2015-09-29 13:04:01 +08:00
Wang Renxin
58c7483ce2 *fixed a compatibility bug with scope meta info; *improved compatibility with TCC. 2015-09-28 10:57:26 +08:00
Wang Renxin
9651ba9b6c *polished my_basic.c. 2015-09-25 14:27:47 +08:00
Wang Renxin
5b72de8e6f *tidy useless variables. 2015-09-24 19:35:27 +08:00
Wang Renxin
ab465ca7ca *fixed bugs in a recursive sub routine, thanks to John for pointing it out; *fixed identifier lookup bugs; *fixed a memory leak when pushing string arguments. 2015-09-24 13:25:27 +08:00
Wang Renxin
5bf75a513e *updated my_basic.c. 2015-09-23 11:50:12 +08:00
Wang Renxin
9908cd9ce9 *avoid warnings. 2015-09-23 11:44:40 +08:00
Wang Renxin
cfbdc82ce9 +added IMPORT statement. 2015-09-22 13:55:53 +08:00
Wang Renxin
ca07414c24 *updated my_basic.c 2015-09-22 12:52:13 +08:00
Wang Renxin
c609687f2b +added mb_get_var, mb_get_var_value and mb_set_var_value implementation. 2015-09-22 11:07:11 +08:00
tony
b6ab676ad7 +implemented tail recursion optimization in sub routine; +added array length gain in len function; *fixed a crash bug when returning nothing in a sub routine; *polished document. 2015-09-21 23:51:55 +08:00