550 Commits

Author SHA1 Message Date
paladin-t
ef9acb510a +added support to apply get statement to a class instance; +added support to access a collection by brackets; *polished document. 2016-01-02 12:04:35 +08:00
paladin-t
e07eb9210e *fixed an invalid execution point bug when a program begins with a label. 2016-01-01 14:28:28 +08:00
paladin-t
42a602d8a3 +added case-insensitive type name string comparison support. 2016-01-01 11:17:07 +08:00
paladin-t
d4808abd20 *distributed version 1.2!!! 2015-12-31 10:27:41 +08:00
paladin-t
d8d58634f4 *polished code. 2015-12-30 16:49:37 +08:00
paladin-t
ebd1268717 *polished code. 2015-12-30 16:11:09 +08:00
paladin-t
dd94cab8ce *improved error handling with sub routine and class. 2015-12-30 15:55:26 +08:00
paladin-t
c6bbdf68c7 *polished code. 2015-12-29 23:34:19 +08:00
paladin-t
6d789b4f3d *fixed a memory leak with gc caused by meta class. 2015-12-29 21:04:39 +08:00
paladin-t
a99a011c9a *polished code. 2015-12-29 20:39:17 +08:00
paladin-t
1d732e7f0f *improved gc with string; *improved string duplication; *polished code. 2015-12-29 15:45:27 +08:00
paladin-t
1d470685cc *fixed a multiple disposing bug with expression calculation; *improved array handling. 2015-12-29 12:37:28 +08:00
paladin-t
545b96b669 *improved gc with an array; *polished array manipulation code. 2015-12-29 10:59:24 +08:00
paladin-t
a643df1915 *polished code. 2015-12-28 20:38:24 +08:00
paladin-t
a097d43ad1 *improved gc with an array. 2015-12-28 20:23:54 +08:00
paladin-t
36da08e0e2 *polished code. 2015-12-28 17:48:28 +08:00
paladin-t
d653ba80e5 *fixed a wrong routine evaluation bug. 2015-12-28 16:35:45 +08:00
paladin-t
7298884d09 *fixed a gc bug. 2015-12-28 15:59:10 +08:00
paladin-t
acfe0446ee *improved error handling in var statement. 2015-12-28 15:34:21 +08:00
paladin-t
a191979da7 *polished code. 2015-12-28 11:43:29 +08:00
Wang Renxin
605a6ceb40 *fixed an unary calculation issue. 2015-12-25 21:50:11 +08:00
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
d2aa17236a *improved compatibility with arduino. 2015-12-18 12:31:59 +08:00
paladin-t
b769141d8d *improved compatibility with arduino; *avoided compiling issues. 2015-12-18 12:07:26 +08:00
paladin-t
05c67e4804 *avoided compiling issues. 2015-12-17 17:20:27 +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
a9219bb31b *fixed a multiple memory disposing bug. 2015-12-17 16:37:42 +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
62f03f6658 -avoided compilers'complain. 2015-12-15 17:46:07 +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
Wang Renxin
c0554d09f3 *updated my_basic.c. 2015-12-11 19:08:50 +08:00
paladin-t
77c056b175 *fixed a compile issue. 2015-12-11 18:00:18 +08:00
paladin-t
ed798ebc3b +added gc accessing to fields of a class instance. 2015-12-11 17:57:07 +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
a426e150ae +added support for assigning to an accessor. 2015-12-11 13:30:28 +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
c3d64838ec +added support to store a routine in a variable by call statement. 2015-12-11 11:19:30 +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
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