174 Commits

Author SHA1 Message Date
lyon
f5fab030c0 update PikaStdTask 2022-01-22 23:49:53 +08:00
lyon
b4e0a1e76b testing call_when 2022-01-20 22:24:08 +08:00
lyon
3b8b5546be setPtr when init 2022-01-20 22:08:33 +08:00
lyon
112a1b0b0d use only PikaAsm in PikaStdTask 2022-01-20 21:59:43 +08:00
lyon
56069510c3 use PikaAsm in Task_Run_Once 2022-01-20 21:50:38 +08:00
lyon
18d924efc1 add PikaStdTask() 2022-01-20 19:35:55 +08:00
lyon
372b619a13 task.do_always and task.run_once() is ok 2022-01-20 19:35:55 +08:00
lyon
8894e270f3 support s[2] = 'q' 2022-01-18 23:37:48 +08:00
lyon
b182e4af31 __get__ string is ok 2022-01-18 21:55:08 +08:00
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
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
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
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
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
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
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
0945b66b87 no Werror, use inner buffs 2021-12-20 16:15:40 +08:00
lyon
2a49c4d840 add PikaStdData__parseExtern 2021-12-20 16:00:04 +08:00
lyon
8f0d8fe59f add lib file 2021-12-13 23:28:58 +08:00
lyon
adaff1bd43 add dict in stddata 2021-12-13 22:01:42 +08:00
lyon
854517ffe4 rm .py in -lib 2021-12-13 21:41:44 +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
681a3638ca update pikastedevice in port/linux 2021-12-10 23:01:00 +08:00
lyon
df33500696 fix typo of Device_GPIO.c, add __init__() for all stddevice 2021-12-10 23:00:04 +08:00