404 Commits

Author SHA1 Message Date
Wang Renxin
46a9b49152 +added a sub routine invoking function; +added an mb_get_routine function; +added an mb_eval_routine function. 2015-10-19 13:23:11 +08:00
Wang Renxin
17b68f9672 *updated history. 2015-10-15 11:51:30 +08:00
Wang Renxin
bb78a37d20 +added garbage collection for referenced objects. 2015-10-14 11:36:48 +08:00
Wang Renxin
bcdba13693 *updated history. 2015-10-13 14:10:50 +08:00
Wang Renxin
54c57fcad5 *updated history. 2015-10-13 11:17:34 +08:00
Wang Renxin
1a1b6aed9b *updated history. 2015-10-12 20:08:20 +08:00
Wang Renxin
d7426328d5 *updated history. 2015-10-12 18:47:24 +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
10bf292376 *updated history. 2015-10-08 21:23:54 +08:00
Wang Renxin
8b3613295a *updated history. 2015-10-08 20:37:13 +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
8ccdef7e62 *updated history. 2015-09-30 10:43:04 +08:00
Wang Renxin
c96937d1ec *updated history. 2015-09-29 13:04:31 +08:00
Wang Renxin
804d4e8fc4 *updated history. 2015-09-28 10:58:06 +08:00
Wang Renxin
6e42ed163e *updated history. 2015-09-28 10:56:45 +08:00
Wang Renxin
c4b4e2c241 *updated history. 2015-09-24 13:25:47 +08:00
Wang Renxin
1056cd640a *updated history. 2015-09-22 13:56:11 +08:00
Wang Renxin
f8c5d6bde7 *updated history. 2015-09-22 11:07:30 +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
tony
faae9b4cdc +added array manipulation ability to script, it's able to assign an array to a variable or use it as a scripting interface argument; +added recursive sub routine support; *fixed a wrong argument detection bug in mb_has_arg. 2015-09-20 21:34:04 +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
Wang Renxin
0f93ac5969 *updated history. 2015-09-17 18:24:43 +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
Wang Renxin
369a54e04d *updated history. 2015-09-08 13:38:09 +08:00
Wang Renxin
05e883c65e *updated history. 2015-09-08 13:28:15 +08:00
tony
fe3e7db9c9 *improved sub routine. 2015-09-07 09:41:15 +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
8b0e99c755 fixed a wrong IF trunk processing bug, thanks to irony for pointing it out; fixed a crash bug with an invalid IF statement. 2015-08-11 13:27:17 +08:00
Wang Renxin
bd35f56154 *updated HISTORY 2015-07-27 13:06:46 +08:00
tony
013dbdb172 *fixed a string manipulation bug 2015-07-20 22:28:58 +08:00
tony
1a2bce265a +added array manipulation functions 2015-07-12 15:38:48 +08:00
tony
edb1e8da56 +added an mb_schedule_suspend interface 2015-06-19 11:12:15 +08:00
tony
424f394432 *fixed a wrong token position marking issue with interactive mode 2015-06-15 22:34:54 +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