140 Commits

Author SHA1 Message Date
lyon
56bf2fb32f fix warning in strsReplace 2022-01-15 22:16:57 +08:00
lyon
957863a382 should use hash in the PikaObj instead of name 2022-01-13 23:31:06 +08:00
lyon
4ed66eb3f4 __set()__ and __get()__ for list, dict ,string ok 2022-01-13 21:56:44 +08:00
lyon
e6d35c377b remove set() from PikaObj 2022-01-13 20:17:27 +08:00
lyon
6d8bba2dcc for in string is ok 2022-01-13 17:07:07 +08:00
lyon
45893d20d2 update StdData to package 2022-01-13 16:36:47 +08:00
lyon
1e6313aad6 add String class in PikaStdData 2022-01-13 16:34:46 +08:00
lyon
a312e2ad81 fix ac5 warning for stdlib, clean the RangeObj 2022-01-13 16:31:30 +08:00
lyon
fd7c2f93aa add pinrtNoEnd 2022-01-11 13:01:31 +08:00
lyon
ec2e2d2d0a add printNoEnd() 2022-01-11 13:00:32 +08:00
lyon
3ffb28afd6 support " and void line in main.py 2022-01-10 21:14:29 +08:00
lyon
ec8d06cdf3 add file 2022-01-10 00:01:46 +08:00
lyon
f3c6fd7475 parse for in range is tested ok in parser 2022-01-09 23:37:24 +08:00
lyon
2f8ce3768c support str() in sysobj 2022-01-09 00:12:38 +08:00
lyon
939ae72bef supprot for_int_dict 2022-01-06 11:13:43 +08:00
lyon
79fed360b9 use pyload instead of self in dict 2022-01-06 10:56:14 +08:00
lyon
aebfbc848d use pikaVM_runAsm instead of obj_run in next() and iter() 2022-01-04 15:55:46 +08:00
lyon
8add9d0da7 rm msp-linx 2022-01-04 02:07:46 +08:00
lyon
768b92c3a5 add cmakelist and main.cpp for benchmark 2022-01-04 00:16:43 +08:00
lyon
35b9bd0b5f fix main.py 2022-01-03 21:54:34 +08:00
lyon
11115ded90 add log_buff when printf 2022-01-03 21:12:05 +08:00
lyon
a67c1dbd62 add test cases in main.py, add PikaStdData 2022-01-02 22:33:57 +08:00
lyon
4428763042 use __VM_DEBUG_ in default 2021-12-31 00:11:56 +08:00
lyon
c3b0f3e899 add simulation-keil-dev 2021-12-30 21:48:11 +08:00
lyon
e73fb2106d fix typo 2021-12-29 22:40:38 +08:00
lyon
5a983ad577 use _r[x] to replase __range[x] to save asm flash 2021-12-29 00:57:08 +08:00
lyon
632b857a3c use multiline in parse_test 2021-12-29 00:10:25 +08:00
pikastech
fda9957e83 update v1.3.0 2021-12-28 10:41:52 +08:00
lyon
a1cdd62a31 for_for_range parse error in DEL __list[x] 2021-12-28 09:20:04 +08:00
lyon
56bc4deef7 for i in range(0, 10) 2021-12-28 01:19:26 +08:00
lyon
a3465dbbeb fix mem error in for in range() 2021-12-28 01:15:06 +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
567205447d rangeObj don't need run __iter__() 2021-12-27 23:54:31 +08:00
lyon
1405afe218 transfer a1, a2, a3 to RangeObj.__iter__() 2021-12-27 23:27:19 +08:00
lyon
9952c8d485 splite object 2021-12-27 23:19:32 +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
38ac76b3dc add RangeObj.c to support range 2021-12-27 21:41:17 +08:00
lyon
280ca09539 update parse-test 2021-12-27 21:27:07 +08:00
pikastech
4dd9be1fb5 add w806bsp and gpio 2021-12-27 16:07:36 +08:00
lyon
5052453ba3 use while to push is ok 2021-12-25 00:58:28 +08:00
lyon
e7a18fcfa6 for in list is ok in main.py 2021-12-25 00:39:40 +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
9c7bc26818 fix warnings 2021-12-24 23:41:22 +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
b4b3f345fe add __iter__ and __next__ for List 2021-12-24 22:44:56 +08:00