793 Commits

Author SHA1 Message Date
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
lyon
5fe634105b add dict for dict 2021-12-13 22:03:59 +08:00
lyon
adaff1bd43 add dict in stddata 2021-12-13 22:01:42 +08:00
lyon
16796cb437 rm list from stdlib 2021-12-13 21:31:27 +08:00
lyon
d08b124785 add pikaStdData 2021-12-13 21:24:48 +08:00
lyon
93ee9424a8 support __init__() for class 2021-12-10 22:53:06 +08:00
lyon
08f227ffbb support annotation for obj_run 2021-12-10 20:09:11 +08:00
lyon
2f51367a59 check syntax error about branckes 2021-12-10 11:41:33 +08:00
lyon
1659e13091 use weak to support stdio 2021-12-07 19:17:36 +08:00
lyon
7c9fafafc4 suppport or and not 2021-11-28 17:26:17 +08:00
lyon
aa0512bd13 test parse or is ok 2021-11-28 17:06:55 +08:00
lyon
d3889fdb25 use lexer to get clean cmd 2021-11-28 17:02:27 +08:00
lyon
9304bd0153 test <+ and ~ parse 2021-11-28 11:51:41 +08:00
lyon
26c102802a << >> is ok 2021-11-28 01:44:17 +08:00
lyon
a5844e896c ~ is ok 2021-11-28 01:42:14 +08:00
lyon
27b42d7822 ** is tested ok 2021-11-28 01:29:47 +08:00
lyon
b93bdc7d59 vm equ is ok 2021-11-28 01:21:24 +08:00
lyon
1371aa98c1 merge float | float together 2021-11-27 21:49:38 +08:00
lyon
31e45abe64 debug += for parser 2021-11-27 21:22:19 +08:00
lyon
5bf39388c0 more operator in parser is ok 2021-11-27 21:11:09 +08:00
lyon
1b6994e2fb devide stmt by str is ok 2021-11-27 20:49:08 +08:00
lyon
b8c33335bd rename api of Parser 2021-11-27 20:21:04 +08:00
lyon
825344910f use lexer to get operator 2021-11-27 20:11:35 +08:00
lyon
e142c3fbaf use pool and add pool_size 2021-11-27 19:00:17 +08:00
lyon
88009a8713 use lexer in stmt_type_match 2021-11-27 18:05:32 +08:00
lyon
b24dbc50a6 string is ok 2021-11-27 17:26:06 +08:00
lyon
e33cc48295 add assert 2021-11-27 12:03:56 +08:00
lyon
9232ca84dc add and and symbel tokens 2021-11-27 12:02:26 +08:00
lyon
7c5b460816 , is ok 2021-11-27 11:58:15 +08:00
lyon
dd2f4fe27f use tokens_arg instead of buffs to save memory 2021-11-27 10:29:47 +08:00
lyon
7f9ea0f6ae num lit and sym is ok 2021-11-27 01:13:24 +08:00