1073 Commits

Author SHA1 Message Date
lyon
7f70e2a9df import type() 2022-04-27 23:38:00 +08:00
lyon
847ff155c7 static _getObjDirect 2022-04-27 22:47:34 +08:00
lyon
e98f0f44ab clean 2022-04-27 22:41:09 +08:00
lyon
688c6711b3 always kep 'LST' instruct 2022-04-27 22:19:09 +08:00
lyon
dfa9ba8f1a try to use inline 2022-04-27 22:17:01 +08:00
lyon
15aef30a5f use obj_getObj/getSuperObj 2022-04-27 22:14:56 +08:00
lyon
edc8c99ded format pikavm 2022-04-27 19:26:47 +08:00
lyon
ea4776ae22 add pikaCompier.c and .h 2022-04-27 17:53:32 +08:00
lyon
e3ffb344bb add '#api' comment 2022-04-26 21:34:43 +08:00
lyon
7aafd3cada deinit free_obj when clear stack 2022-04-26 17:20:08 +08:00
lyon
c8f9336247 support factory function 2022-04-26 14:52:09 +08:00
lyon
d463eee7ef format 2022-04-26 14:04:19 +08:00
lyon
ba11251d6d support deinit no ref object 2022-04-26 12:23:39 +08:00
lyon
cd82162e6e all tests passed 2022-04-26 12:15:07 +08:00
lyon
00987b8b23 solve MATE_OBJ GC error 2022-04-26 11:59:54 +08:00
lyon
d8560dd24d task not pass, class not pass 2022-04-26 11:09:18 +08:00
lyon
df0db6a390 combine object and ref object 2022-04-26 10:43:50 +08:00
lyon
89d23c2d3e ref error in list.iter 2022-04-26 10:01:40 +08:00
lyon
9803b1cf9f gc not pass 2022-04-25 23:38:10 +08:00
lyon
88c0fd481e add _refcnt when get refArg from object 2022-04-25 19:19:44 +08:00
lyon
94a06f40e7 add refcnt method for obj 2022-04-25 19:01:00 +08:00
lyon
f13acd2334 create _refcnt when create a class_object 2022-04-25 18:58:15 +08:00
lyon
059096a7b1 divide POINTER and REF_OBJECT OK 2022-04-25 15:01:58 +08:00
lyon
37f3062b88 dividing POINTER and REF_OBJECT 2022-04-25 14:49:38 +08:00
lyon
e03af6c5a7 rename __POINTER_ to REF_OBJECT 2022-04-25 14:43:44 +08:00
lyon
1043ef7417 format 2022-04-25 13:25:20 +08:00
lyon
8bc6f64215 add ref_cnt domen for arg 2022-04-25 13:24:23 +08:00
lyon
2eaea345cc fix args_setBytes mem error 2022-04-23 00:03:20 +08:00
lyon
5ff34bc7d8 fix parse error about [ a = 'num=' ] 2022-04-22 23:43:06 +08:00
lyon
665eb2eac8 fix ac5 warnings, update bytecodegen core version 2022-04-22 10:25:00 +08:00
李昂
3380490fd8
fix warning in msvc 2022-04-21 10:12:28 +00:00
lyon1998
f167445b1f add test for from _ import _ as _ 2022-04-21 11:38:12 +08:00
lyon1998
f03208c530 support from import 2022-04-21 11:33:58 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
69730efea4 printBytes is ok 2022-04-20 14:00:05 +08:00
lyon1998
cc8cbdf764 add info to the __inst_table.cfg 2022-04-20 13:25:50 +08:00
lyon1998
0c130716bd add BTY ins to support bytes iteral 2022-04-20 13:21:59 +08:00
lyon1998
9585451aa5 fix \x33 2022-04-19 19:19:18 +08:00
lyon1998
9bbb9e43cd support '\x33' for str 2022-04-19 19:16:53 +08:00
lyon1998
b015af566d update ctypes Test input to bytes 2022-04-19 18:30:24 +08:00
lyon1998
e44f9c2368 Use ArgName Bytes instead of Mem 2022-04-19 18:13:07 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
8c41df1ea1 add obj_loadMem API 2022-04-18 16:34:12 +08:00
lyon1998
a2dd87c8a8 add ARG_TYPE_MEM 2022-04-18 12:11:33 +08:00
lyon1998
f23dac8a8a support obj_setMem, obj_getMem, obj_getMemSize API 2022-04-18 12:02:33 +08:00
lyon1998
174f594534 use arg_set/get_Mem 2022-04-18 11:56:29 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +08:00
lyon1998
13afcd2ef6 clear pikaobj.h old api, add ctypesUtils_mem api 2022-04-17 23:02:13 +08:00
lyon1998
a42aee333e update PikaObj.py 2022-04-16 11:13:34 +08:00
lyon1998
f6f38bdb73 fix typo of list_enable and dict_enable 2022-04-14 16:37:34 +08:00