131 Commits

Author SHA1 Message Date
paladin-t
e8bb70626b *polished code. 2016-03-11 11:23:43 +08:00
paladin-t
14137369da *improved overridden function invoking; *fixed a memory leak; *moved overriding information from stack to heap. 2016-03-09 10:55:45 +08:00
paladin-t
c94ffc7da9 *polished code. 2016-03-08 16:13:03 +08:00
paladin-t
85d71edc68 *polished code. 2016-03-07 11:44:23 +08:00
paladin-t
6d579b2478 *polished code. 2016-03-03 10:40:26 +08:00
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
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
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
4a715f8ea8 +added a generic iterator type. 2016-02-18 11:07:04 +08:00
paladin-t
bb7fba843e +added an index_of statement. 2016-02-03 15:25:33 +08:00
paladin-t
4a28c1e0d4 -removed the MB_ENABLE_GC macro. 2016-01-27 19:25:28 +08:00
paladin-t
7d970d666a +added an mb_gc function; +added a gc statement to the shell. 2016-01-26 16:51:06 +08:00
paladin-t
9ad0a75148 +added source file information to stepped handler. 2016-01-26 10:19:15 +08:00
paladin-t
c7dda61248 *improved type handling. 2016-01-21 11:11:17 +08:00
paladin-t
98631c35ac *fixed an unknown type handling bug. 2016-01-20 21:32:09 +08:00
paladin-t
acf5238d44 +added a REFLECT statement. 2016-01-15 19:53:11 +08:00
paladin-t
cc93e2ab7c +added MB_ENABLE_USERTYPE_REF and MB_ENABLE_ARRAY_REF macros. *updated doc. 2016-01-15 15:39:23 +08:00
Wang Renxin
5338eb47f3 *developing lambda, improved error handling. 2016-01-09 14:29:51 +08:00
paladin-t
8da65bf5cf *fixed a wrong scope linkage issue with lambda. 2016-01-07 21:31:05 +08:00
paladin-t
ec695b5d5f *developing lambda. 2016-01-06 16:43:00 +08:00
paladin-t
4a116e08e4 +added support to use TYPE("NUMBER") to represent both integer and real. 2016-01-06 10:30:35 +08:00
paladin-t
48cb90c234 +developing lambda, added data structure; +developing lambda, added a lambda statement; +developing lambda, added an MB_ENABLE_LAMBDA macro. 2016-01-05 13:47:02 +08:00
paladin-t
d0913e2735 +added stack tracing; +added an mb_debug_get_stack_trace function and an MB_ENABLE_STACK_TRACE macro; *polished document. 2016-01-04 14:57:14 +08:00
paladin-t
42a602d8a3 +added case-insensitive type name string comparison support. 2016-01-01 11:17:07 +08:00
paladin-t
a191979da7 *polished code. 2015-12-28 11:43:29 +08:00
paladin-t
387971f376 *improved defining a class in c; *added userdata manipulation functions; *polished document.
*improved defining a class in c; +added a pair of
mb_get_class_userdata/mb_set_class_userdata functions; +added a pair of
mb_get_userdata/mb_set_userdata functions; *polished document.
2015-12-24 17:39:04 +08:00
paladin-t
b769141d8d *improved compatibility with arduino; *avoided compiling issues. 2015-12-18 12:07:26 +08:00
paladin-t
fd8f45a234 +added an mb_add_var function; +added an mb_set_routine function; +added native sub routine support. 2015-12-15 17:39:26 +08:00
paladin-t
04de3f6a58 +added a pair of mb_begin_class/mb_end_class functions; +added an mb_get_value_by_name function; *polished code. 2015-12-15 13:58:59 +08:00
Wang Renxin
eed9a40884 *avoided warnings; +added placeholder functions; *updated binary for osx. 2015-12-13 17:26:25 +08:00
paladin-t
29fe02d7d4 +developing class, added routine evaluation in a class; *fixed a crash bug when exiting with a parsing error. 2015-12-09 17:05:11 +08:00
paladin-t
2651c20204 +developing class, added a var statement. 2015-12-09 15:05:22 +08:00
paladin-t
c6f819c82c *developing class, added reference, inheritance. 2015-12-08 14:39:07 +08:00
paladin-t
01d9211d08 *class. 2015-12-07 14:38:02 +08:00
paladin-t
f6e9f9fbb1 +added structures for class development; *updated readme doc; *updated exe icon. 2015-12-04 11:26:42 +08:00
Wang Renxin
0e136784dd +raised error for invalid routine usage; *fixed a memory corruption bug when met an invalid routine usage. 2015-11-26 16:04:58 +08:00
Wang Renxin
27a6f3f6f7 +added an mb_raise_error function. 2015-11-04 16:52:00 +08:00
tony
a58aab9010 +added some mb_value_t initialization helper macros. 2015-10-31 13:16:22 +08:00
Wang Renxin
fa0d136e22 +added an mb_get_ref_value function. 2015-10-29 14:01:20 +08:00
Wang Renxin
0c332da27a *improved compile compatibility with c++. 2015-10-28 20:02:42 +08:00
Wang Renxin
72828e0f09 +added module (namespace) support. 2015-10-28 14:19:32 +08:00
Wang Renxin
9c791299d6 +added an mb_set_import_handler function. 2015-10-27 11:52:37 +08:00
Wang Renxin
e9bfffed36 +added an mb_init_coll function. 2015-10-27 11:25:18 +08:00
Wang Renxin
d414cffca6 *polished code. 2015-10-23 13:59:50 +08:00
Wang Renxin
77ee9f16ed +added public collection manipulation interfaces: mb_get_coll, mb_set_coll, mb_remove_coll, mb_count_coll; *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:16 +08:00
Wang Renxin
b55a590cb5 *polished code. 2015-10-22 11:07:32 +08:00
Wang Renxin
201afd66c5 *fixed a reference count manipulation bug; *fixed some uninitialized value issues. 2015-10-21 14:45:30 +08:00
Wang Renxin
dadb5ba43f *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:27 +08:00
Wang Renxin
de3c799630 +added a sub routine invoking function; +added an mb_get_routine function; +added an mb_eval_routine function. 2015-10-19 13:23:14 +08:00