204 Commits

Author SHA1 Message Date
lyon1998
b254dd02f9 use bytecode in stdlib 2022-03-18 23:00:51 +08:00
lyon1998
ac511d6f34 use bytecode in stdtask for all 2022-03-17 17:28:32 +08:00
lyon1998
ff1c71322b update PikaStdTask to bytecode based 2022-03-17 16:47:03 +08:00
lyon1998
0face9d39d use arg_type to select method type 2022-03-14 13:53:52 +08:00
lyon
8a6deb7513 use buffs = {0} instead of buffs = New_strBuff() 2022-03-09 12:39:06 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
9cf1ae46ad restore Dict.c 2022-02-25 18:07:03 +08:00
lyon
c5b0fb8027 fix include error in PikaStdTask 2022-01-31 01:49:34 +08:00
lyon
60bc061789 add quit for pdb 2022-01-30 19:59:29 +08:00
lyon
c6e5deb131 rm .py in port linux 2022-01-30 17:40:06 +08:00
lyon
97688e16d7 collect Stds to StdLib 2022-01-30 17:37:21 +08:00
lyon
bd9f873b3c use printf in mem.max() 2022-01-23 22:53:27 +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
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
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
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
854517ffe4 rm .py in -lib 2021-12-13 21:41:44 +08:00
lyon
d08b124785 add pikaStdData 2021-12-13 21:24:48 +08:00
lyon
f477418657 add List for STDLib, add int() float() method 2021-11-24 11:15:50 +08:00
lyon
dd2e10f0dd add getMem method for mem checker 2021-11-20 09:43:13 +08:00
lyon
d4eb934eca type_ is ok 2021-11-20 09:33:38 +08:00
lyon
b56c2bcc68 int_float_convert is tested ok 2021-11-20 09:28:21 +08:00
lyon
4e67a1925f test append and get for list is ok 2021-11-17 10:59:13 +08:00
lyon
f3e17a2a75 add method for list 2021-11-17 10:40:08 +08:00
lyon
f2b652ca80 debug obj_setArg 2021-11-17 10:25:27 +08:00
lyon
6480ec1adb add pikastd_list.c 2021-11-17 10:10:18 +08:00
lyon
3ab412f219 use NEUM to save type instead of char * 2021-11-15 09:35:48 +08:00
lyon
ba938176c1 use name hash and tested ok 2021-11-13 18:48:47 +08:00
lyon
5f0d7a9d31 use name_hash compile pass 2021-11-13 16:42:01 +08:00