48 Commits

Author SHA1 Message Date
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
Wang Renxin
12ed696e31 +added hash, cmp, format functor for referenced usertype. 2015-10-15 13:01:24 +08:00
Wang Renxin
43904234c8 +added referenced usertype support. 2015-10-15 11:53:29 +08:00
Wang Renxin
d33b032b2b +added garbage collection for referenced objects. 2015-10-14 11:36:50 +08:00
tony
598e802ae7 *improved stability for nested IF statement. 2015-10-10 23:51:56 +08:00
tony
fffb567dd8 +added LIST, DICT; +added TYPE; +added mb_get_type_string. 2015-10-05 17:22:00 +08:00
Wang Renxin
2187f0e7ef *improved UTF8 string manipulation. 2015-09-30 10:43:06 +08:00
Wang Renxin
f58e0f4f4c +added UTF8 support for string manipulation. 2015-09-29 13:03:55 +08:00
Wang Renxin
33ff6e1100 +added mb_get_var, mb_get_var_value and mb_set_var_value. 2015-09-22 11:06:08 +08:00
tony
09f005b50a *fixed a float number parsing bug, thanks to Cybermonkey342 for pointing it out; +added directly expression evaluation shell command. 2015-09-18 21:06:38 +08:00
tony
31ab04052a +added Nil type handling, including assignment, boolean operation, serialization, etc. +added an MB_CONVERT_TO_INT_LEVEL macro, would convert float to integer as much as possible if this macro was enabled; *polished document 2015-09-16 21:25:01 +08:00
tony
c6d7dcae8f +added a duplicate sub routine error handling; +added optional argument support for INPUT statement; *fixed a variable multiple freeing bug in sub routine; *polished document. 2015-09-11 22:29:16 +08:00
tony
789cc76eb3 +added sub routine type insurance; *prompted more friendly dummy function message; *polished code and document 2015-09-02 21:29:29 +08:00
tony
1c1771280c +added support for user customized routine by DEF/ENDDEF 2015-09-01 22:22:15 +08:00
tony
0b7d939fe1 +added a memory pool to interpreter shell in main.c. 2015-08-26 21:21:19 +08:00
tony
78fe066a29 +allowed a user to define the memory tag data type, unsigned short as default; +added an mb_set_memory_manager function, allows user defined memory management; +added referencable data type size constants. 2015-08-25 21:42:15 +08:00
tony
1a2bce265a +added array manipulation functions 2015-07-12 15:38:48 +08:00
tony
b5a92d1ae8 +added behaviour tag to mb_schedule_suspend 2015-06-19 11:27:34 +08:00
tony
edb1e8da56 +added an mb_schedule_suspend interface 2015-06-19 11:12:15 +08:00
tony
3d4a28d157 -Removed redundant EOS; *Polished data precision macros 2015-05-06 22:12:23 +08:00
tony
2a56f4374c +Improved array; *Polished data precision related macros. 2015-05-05 21:35:42 +08:00
tony
40bc0a9d0e +line inserting/removing; *changed mb_dispose_value as public. 2015-04-27 21:35:26 +08:00
tony
7f6417c2a2 +debug APIs; +improved IF statment 2015-04-23 21:50:54 +08:00
tony
538ee44708 +usertype support; *polished code; *polished document 2015-04-15 22:27:19 +08:00
tony
2ff04a09bc +mixed array support; *some bugfix 2015-04-13 22:32:41 +08:00
tony
2c722f5b07 +mb_has_argument; *memory occupation optimize 2015-04-11 15:06:27 +08:00
tony
e872d26513 Fixed a double precision float parsing bug on all 32bit systems, thanks to Pito for pointing it out; Fixed a exponential number parsing bug, thanks to Pito for pointing it out; Fixed a crash bug when a script begins with a meaningless negtive number. 2015-04-10 22:04:41 +08:00
tony
d5245ceb71 Changed _strupr macro to mb_strupr function; Added an mb_strdup function; Fixed an intermediate value disposing more than once bug. 2015-03-26 11:15:02 +08:00
tony
090fd0b900 fixed a calculation crash bug. fixed a memory leak with intermediate value. 2014-12-18 08:23:01 +08:00
tony
446adfc482 fixed a negative calculation bug in a function argument 2014-12-16 23:35:48 +08:00
tony
0e11c86786 improved compatibility with bcb 2014-12-09 22:12:21 +08:00
tony
4d87b74c8e added files 2014-11-20 00:51:18 +08:00