Wang Renxin
ae4053c687
*fixed a gc bug with ranged for
loop.
2018-03-09 18:31:31 +08:00
Wang Renxin
7b6fda8011
*fixed some compile issues with cpp compiler.
2018-02-12 14:56:29 +08:00
Wang Renxin
49b1e1bf55
-compile warnings.
2018-02-08 15:39:53 +08:00
Wang Renxin
a6814213b3
*fixed a crash bug with invalid collection index.
2018-01-15 22:39:05 +08:00
Wang Renxin
842e01bf41
*fixed some issues when invoking a sub routine.
2018-01-15 19:22:45 +08:00
Wang Renxin
b6a4a3e314
*minor improvement for macros.
2018-01-06 14:29:32 +08:00
Wang Renxin
4edc80d026
*fixed a parsing bug with unary negative operator.
2018-01-03 20:57:15 +08:00
Wang Renxin
a08c6c845c
*happy new year. hope i can make a release of v1.2 in 2018.
2017-12-30 12:31:07 +08:00
Wang Renxin
a34a3dffe7
*refactored parameters of calculation handlers.
2017-12-28 15:45:38 +08:00
Wang Renxin
408e5fa55e
+added a parameter to the calculation handler macro.
2017-12-28 14:08:06 +08:00
Wang Renxin
2007ff93d0
+added two uprootable stubs: _ONCALC
, _ONNEG
.
2017-12-15 20:09:57 +08:00
Wang Renxin
f4a9fc1cda
*fixed a referencing bug with the if
statement.
2017-11-28 16:01:24 +08:00
Wang Renxin
0641d64bc0
*fixed a number comparison bug.
2017-11-25 19:55:21 +08:00
Wang Renxin
69036f748e
*fixed a crash bug with the do-until statement.
2017-11-25 17:32:39 +08:00
Wang Renxin
6ff2f37a6d
*fixed a lookup issue with the mb_get_var function.
2017-11-25 14:47:05 +08:00
Wang Renxin
7ee57db895
*it's better to use const char*
for some callbacks.
2017-11-22 15:48:16 +08:00
Wang Renxin
246348777d
+added an _ONCOND
macro.
2017-11-20 13:59:18 +08:00
Wang Renxin
e2492be76e
-simplified error codes, removed some of them.
2017-11-18 20:23:42 +08:00
Wang Renxin
347867e42b
+added _PREVCALL
and _POSTCALL
.
2017-11-18 13:56:39 +08:00
Wang Renxin
dfb98dc27e
*fixed a variable lookup issue with a ranged FOR loop.
2017-11-18 00:03:43 +08:00
Wang Renxin
b36e3f59dc
*fixed an assignment issue with upvalues.
2017-11-17 21:30:14 +08:00
Wang Renxin
9a2b0a8cc1
*fixed a var lookup issue with ranged for loop.
2017-11-17 20:10:55 +08:00
Wang Renxin
44e8466c44
*fixed a variable lookup issue with a ranged FOR loop.
2017-11-17 19:01:00 +08:00
Wang Renxin
3b60064058
+added a _PREPAREGC macro.
2017-11-16 19:52:38 +08:00
Wang Renxin
edd04a3c7d
*fixed a clearing issue of intermediate values in forked scope chain.
2017-11-16 16:32:29 +08:00
Wang Renxin
68c3b20d01
*renamed _CANGC to _GCNOW.
2017-11-16 11:22:24 +08:00
Wang Renxin
f9c0dcac31
*fixed a mistake in previous commit.
2017-11-15 20:02:18 +08:00
Wang Renxin
5e995d280d
+added a _CANGC macro.
...
-lazy initializes `all_forked`.
2017-11-15 19:49:36 +08:00
Wang Renxin
41954bb9a8
+added _PREVGC, _POSTGC.
...
-removed _ONGC.
2017-11-15 16:49:28 +08:00
Wang Renxin
fdb722c6b3
+added an _ONGC macro.
2017-11-15 16:04:17 +08:00
Wang Renxin
7357196928
*renamed a parameter.
2017-11-15 13:04:22 +08:00
Wang Renxin
18b00672ed
+added a checking step for alive objects in all forked environment.
2017-11-15 12:55:57 +08:00
Wang Renxin
46a450da20
*fixed an extended abort issue.
...
*fixed a crash bug with routine.
*fixed a GC bug with outer scopes of lambda.
2017-11-13 20:10:19 +08:00
Wang Renxin
ceb91305a3
*fixed an accessing issue with upvalues.
2017-11-13 11:34:33 +08:00
Wang Renxin
48816291e4
*fixed a forking issue.
2017-11-12 11:13:04 +08:00
Wang Renxin
ba0c115baa
*made _ref_count_t
customizable.
2017-11-11 20:53:18 +08:00
Wang Renxin
9a2d88d304
*fixed a gc bug with dictionary.
2017-11-10 21:26:13 +08:00
Wang Renxin
937f2ab4ab
*fixed a bug with overlapped lambda scopes.
...
*fixed a bug with lambda lookup.
2017-11-10 00:05:33 +08:00
Wang Renxin
f966400979
*RENAMED THE TOSTRING
SYMBOL TO TO_STRING
!!!
2017-11-08 15:48:20 +08:00
Wang Renxin
f010c1d94b
-removed an obsolete unref operation.
2017-11-07 20:40:00 +08:00
Wang Renxin
ec89b18d4d
*should handle single line struct properly.
2017-11-07 19:31:31 +08:00
Wang Renxin
01b4b2e00e
*fixed a bug with single-line nested IF statement.
2017-11-07 16:28:10 +08:00
Wang Renxin
abbe1f85be
*should mark the whole outer-scope chain when collecting garbage with a closure.
2017-11-07 11:21:15 +08:00
Wang Renxin
91ad8cd226
*fixed a gc bug with routine in a collection.
2017-11-05 21:01:57 +08:00
Wang Renxin
40873ca805
*fixed a GC bug with retrieved routine.
2017-11-05 20:24:25 +08:00
Wang Renxin
20a4ab7c06
*fixed a GC bug with upvalues in a closure.
2017-11-05 19:23:20 +08:00
Wang Renxin
ef73407de3
*fixed a crash bug with conflicting routine and class identifier.
...
*fixed a dangling pointer bug with incomplete structures.
*fixed a memory leak with wrong routine or class identifier.
*fixed a memory leak with incomplete structures.
2017-11-05 18:13:30 +08:00
Wang Renxin
5e52e72cf7
*refactored the tag of memory allocation.
2017-11-05 14:17:21 +08:00
Wang Renxin
61effb8d4b
*should prompt missing file while importing.
2017-11-03 14:37:50 +08:00
Wang Renxin
6fc5d6fb7d
*improved loading and importing error handling.
2017-11-03 09:55:23 +08:00