290 Commits

Author SHA1 Message Date
lyon
aaffdbaee1 fix 'from PikaObj import *' error info 2022-05-19 21:31:08 +08:00
lyon
a106efd23f add .py 2022-05-13 09:48:51 +08:00
lyon
29fe0a99c9 still link lib in pikascriptInit 2022-05-13 09:13:02 +08:00
lyon
e32c73d7b3 support import cmodule from pymodules 2022-05-13 09:04:54 +08:00
lyon
ef3868c896 fix filter for binder 2022-05-10 22:36:25 +08:00
lyon
da447b01d5 import test_module1.py not ok 2022-05-07 19:51:52 +08:00
lyon
309102bd2a correct pwd of getDependencies 2022-05-07 19:28:27 +08:00
lyon
ddf61f76c0 add test_module[x].py to package/pikascript/ 2022-05-07 19:23:22 +08:00
lyon
c3bc444af0 assert for test_import_bf1/2 is ok 2022-04-28 16:55:48 +08:00
lyon
876ea81576 support type(b'test') -> <class 'bytes'> 2022-04-28 16:04:14 +08:00
lyon
652962c4c3 use ... insetad of pass in PikaStdLib.pyi 2022-04-28 15:53:09 +08:00
lyon
8df290da3f use pyi instaed of py for C moudle 2022-04-28 11:47:37 +08:00
lyon
aa676d380b format 2022-04-28 00:49:40 +08:00
lyon
5cbe98d212 keep both meta obj and direct obj, meta obj cannot init with arg 2022-04-28 00:42:06 +08:00
lyon
ceb8de7c81 format arg_new[]Obj api 2022-04-28 00:29:32 +08:00
lyon
7f70e2a9df import type() 2022-04-27 23:38:00 +08:00
lyon
15aef30a5f use obj_getObj/getSuperObj 2022-04-27 22:14:56 +08:00
lyon
e4f1bbf7a6 rm port/linux/ src 2022-04-27 18:02:24 +08:00
lyon
ea4776ae22 add pikaCompier.c and .h 2022-04-27 17:53:32 +08:00
lyon
11484c493b update pikascript-core 2022-04-26 21:45:16 +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
16886ec594 remove '__res' after run __iter__() 2022-04-26 10:12:34 +08:00
lyon
9b1e6a323a list_iter not ok 2022-04-26 10:06:15 +08:00
lyon
89d23c2d3e ref error in list.iter 2022-04-26 10:01:40 +08:00
lyon
bea4450c2f ref1210 test ok 2022-04-26 09:51:14 +08:00
lyon
a837f31039 rerf 12 test is ok 2022-04-26 09:49:17 +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
f4ed774790 add src to port/linux 2022-04-25 19:07:44 +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
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
lyon1998
96dfc6fc1d support 'from import' for pre-comiler 2022-04-21 12:37:23 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
41f270e053 test for ctypes is ok 2022-04-20 14:51:38 +08:00
lyon1998
b015af566d update ctypes Test input to bytes 2022-04-19 18:30:24 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
7362ba0d4b add print_rcv to test Mem arg 2022-04-18 18:44:14 +08:00
lyon1998
034fb16ea1 fix ctypes.py 2022-04-18 18:30:24 +08:00