223 Commits

Author SHA1 Message Date
lyon
aa0db2286f prime_100 in g_test is ok 2022-01-04 11:25:28 +08:00
lyon
42aadd6971 fix del _lx 2022-01-04 11:24:34 +08:00
lyon
28244f1a2d add benchmark to CI 2022-01-04 00:29:11 +08:00
lyon
768b92c3a5 add cmakelist and main.cpp for benchmark 2022-01-04 00:16:43 +08:00
lyon
9b6755eb6e write foarmated __platform_printf to log 2022-01-03 21:51:42 +08:00
lyon
18deeaf7a5 direectly conect print to __platform_printf 2022-01-03 21:40:41 +08:00
lyon
11115ded90 add log_buff when printf 2022-01-03 21:12:05 +08:00
lyon
c679f2d0ae use VM_Parameters insteadof Parameters 2021-12-30 19:55:09 +08:00
lyon
3032d3d054 break and continue test ok 2021-12-29 22:51:26 +08:00
lyon
dc997361d5 break is ok 2021-12-29 22:47:21 +08:00
lyon
92c8a5f1e5 not pass break test 2021-12-29 22:28:40 +08:00
lyon
fc2e4f2287 parse for continue is ok 2021-12-29 21:10:04 +08:00
lyon
45ee8621cc parse for brk is ok 2021-12-29 21:06:56 +08:00
lyon
a70cfd82d1 fix for_for del bug 2021-12-29 10:06:48 +08:00
lyon
2bd2e2f4eb fix parse test 2021-12-29 01:27:42 +08:00
lyon
f7c0f81b56 add test from rtt, do not catch bug 2021-12-29 01:12:56 +08:00
lyon
5a983ad577 use _r[x] to replase __range[x] to save asm flash 2021-12-29 00:57:08 +08:00
lyon
feb0e9d8f7 use _l[x] instead of __list[x] to save asm flash 2021-12-29 00:55:49 +08:00
lyon
ef0d13c94d add arg_strAppend to save memory when append str 2021-12-29 00:36:13 +08:00
lyon
632b857a3c use multiline in parse_test 2021-12-29 00:10:25 +08:00
lyon
a1cdd62a31 for_for_range parse error in DEL __list[x] 2021-12-28 09:20:04 +08:00
lyon
dbc9b8e01c for i in range(0,10) is ok 2021-12-28 01:04:10 +08:00
lyon
89ff3a075d transfer __range_a[x] by ASM 2021-12-28 00:49:13 +08:00
lyon
0e51c7ffef run __list[x].__next__ directly to init __list[x] obj 2021-12-28 00:27:43 +08:00
lyon
1405afe218 transfer a1, a2, a3 to RangeObj.__iter__() 2021-12-27 23:27:19 +08:00
lyon
45fec663e0 range() create a splite MATE_OBJCECT 2021-12-27 23:17:21 +08:00
lyon
435c0f8f2d __range_a1,a2,a3 is check ok 2021-12-27 22:00:42 +08:00
lyon
a343940e69 add range() 2021-12-27 21:57:08 +08:00
lyon
879116dd5f add DEL __listx 2021-12-27 21:29:35 +08:00
lyon
280ca09539 update parse-test 2021-12-27 21:27:07 +08:00
lyon
14a5064744 test for 'for_range' not pass 2021-12-25 18:48:23 +08:00
lyon
94ff412dc9 check range when parse 'for loop' 2021-12-25 14:19:20 +08:00
lyon
ddee6c1eaf for in list is ok! 2021-12-25 00:33:55 +08:00
lyon
e838a0e7d4 'for loop' can run but still have mem bug 2021-12-25 00:25:23 +08:00
lyon
9c95c96f38 iter(list) is tested ok 2021-12-24 23:39:32 +08:00
lyon
64475ea748 use Pointer when REF object 2021-12-24 23:34:34 +08:00
lyon
281e3fa72d list_for_loop not pass 2021-12-24 23:27:46 +08:00
lyon
955087b3be change "deepth" to "block_deepth" 2021-12-24 23:10:50 +08:00
lyon
917ae2515f EST is testd ok in asm 2021-12-24 21:59:00 +08:00
lyon
f39530cf39 NULL arg is ok 2021-12-24 13:15:32 +08:00
lyon
10662a9a90 not GC in 'for' loop 2021-12-24 13:00:39 +08:00
lyon
aca395ac3b debug iter(__list0) for parser 2021-12-23 10:39:47 +08:00
lyon
e5ff0de3be add PGC instrument after "for loop" 2021-12-23 10:26:51 +08:00
lyon
9e345fd0c1 support get __list by stmt 2021-12-23 10:09:00 +08:00
lyon
f7eb334de5 add for parser support 2021-12-22 22:01:31 +08:00
lyon
961f0ce300 remove __parseExtern, parse for as while 2021-12-22 21:02:59 +08:00
lyon
029dad721d supportting desuger 'for' to 'while' 2021-12-21 00:04:39 +08:00
lyon
38244dfe0b debug test for else in else 2021-12-14 22:31:28 +08:00
lyon
22f6f8e5c5 add test for else 2021-12-14 22:24:18 +08:00
lyon
484b6a1860 support elif and else 2021-12-14 22:17:37 +08:00