paladin-t
8d6c315de6
*improved error handling with sub routine and class.
2015-12-25 17:40:44 +08:00
paladin-t
f543e77446
+added support to put a class instance into a variable; *polished code.
2015-12-25 16:28:44 +08:00
paladin-t
a55e3e7d07
*fixed a memory leak in class definition.
2015-12-25 10:52:27 +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
48c37f7146
*refactored memory layout of the _routine_t struct.
2015-12-24 16:52:09 +08:00
paladin-t
6ba1d3cb54
*fixed a class gc bug.
2015-12-21 15:51:01 +08:00
Wang Renxin
5195a472ad
*improved error handling when defining a class in c.
2015-12-19 11:59:29 +08:00
paladin-t
b769141d8d
*improved compatibility with arduino; *avoided compiling issues.
2015-12-18 12:07:26 +08:00
paladin-t
c03b5d462e
*ixed a method invoking issue when met from meta class.
2015-12-17 16:53:56 +08:00
paladin-t
f5057fd859
+added support to get a value by an accessor in a print statement.
2015-12-17 16:24:11 +08:00
paladin-t
15f8eb3b5e
+added support to evaluate a sub routine by an accessor in print statement.
2015-12-17 15:52:57 +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
77c056b175
*fixed a compile issue.
2015-12-11 18:00:18 +08:00
paladin-t
ef79101296
*polished sample script; *fixed a memory leak with gc caused by reference cycle; *finished internal class development.
2015-12-11 17:25:21 +08:00
paladin-t
8fdb8fe2d3
+added an "is" statement to detect type equality of a value.
2015-12-11 13:04:23 +08:00
paladin-t
28ab5dd243
+added support to store a routine in a variable by call statement.
2015-12-11 11:15:45 +08:00
paladin-t
c1c572870c
*updated history doc.
2015-12-10 15:28:21 +08:00
paladin-t
072f32197c
+developing class, added a NEW statement to duplicate a class instance.
2015-12-10 15:21:46 +08:00
paladin-t
ce8008737f
+developing class, added reference count for class; *fixed a multiple disposing bug when doing gc.
2015-12-09 19:52:49 +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
f2b9bcfb88
+developing class, added accessing by identifier.
2015-12-09 13:10:58 +08:00
paladin-t
3843db991b
*class.
2015-12-08 16:47:36 +08:00
paladin-t
c6f819c82c
*developing class, added reference, inheritance.
2015-12-08 14:39:07 +08:00
paladin-t
e25e8ecf94
*improved ticks function; +initialized random number seed on start up.
2015-12-07 12:44:53 +08:00
paladin-t
f6e9f9fbb1
+added structures for class development; *updated readme doc; *updated exe icon.
2015-12-04 11:26:42 +08:00
paladin-t
021f552c67
*improved stability for sub routine; *improved error handling with shell.
2015-11-30 15:42:56 +08:00
paladin-t
2a4d8d40cb
*improved stability for sub routine.
2015-11-30 13:40:12 +08:00
Wang Renxin
045119aabe
*updated history.
2015-11-26 16:04:57 +08:00
Wang Renxin
053baae009
*updated history.
2015-11-04 16:51:58 +08:00
Wang Renxin
6acd5f1ff0
*updated history.
2015-11-03 14:03:01 +08:00
tony
a58aab9010
+added some mb_value_t initialization helper macros.
2015-10-31 13:16:22 +08:00
Wang Renxin
e7c4dd5fa8
*updated history.
2015-10-29 17:46:21 +08:00
Wang Renxin
d5eaa3c0e4
*updated history.
2015-10-29 14:01:19 +08:00
Wang Renxin
ca0cd91ee6
*updated history.
2015-10-28 14:19:31 +08:00
Wang Renxin
2ce2703a3f
*updated history.
2015-10-27 13:12:09 +08:00
Wang Renxin
a58f01d37c
*updated history.
2015-10-27 12:57:54 +08:00
Wang Renxin
83484fe4f8
*updated history.
2015-10-27 11:52:27 +08:00
Wang Renxin
9a06c88f22
*updated history.
2015-10-27 11:25:16 +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
9d331708bc
*updated history.
2015-10-23 14:22:16 +08:00
Wang Renxin
f800d3ee15
*updated history.
2015-10-23 13:57:14 +08:00
Wang Renxin
63b34d97df
*updated history.
2015-10-22 11:07:21 +08:00
Wang Renxin
bbf6efaa15
*fixed a reference count manipulation bug; *fixed some uninitialized value issues.
2015-10-21 14:45:29 +08:00
Wang Renxin
21e623d8d7
*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:20 +08:00
Wang Renxin
7bfa2c091b
*fixed a wrong processing bug when return in an IF statement chunk.
2015-10-20 18:46:19 +08:00
Wang Renxin
b1c2757d87
+added a SRND statement; +added range support for RND statement.
2015-10-20 17:50:32 +08:00
Wang Renxin
23079c926e
*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:24 +08:00