311 Commits

Author SHA1 Message Date
lyon
3c7b765a3f support int() for bytes 2022-05-27 10:29:57 +08:00
lyon
e4ac0a8fbe fix name of shell_debug 2022-05-27 09:56:41 +08:00
lyon
320ded11c7 support obj_runCharInit() and obj_runChar() 2022-05-27 09:44:42 +08:00
lyon
ffe8e85db9 use __slice__ to call __get__ indirectly 2022-05-26 17:03:58 +08:00
lyon
6b63c13bef support bytes() built-in 2022-05-26 15:46:34 +08:00
lyon
d3fd9512b4 support and tested char() and ord() builtin-fun 2022-05-25 15:53:39 +08:00
lyon
09bb50a98c support hex() and tested ok 2022-05-25 15:42:25 +08:00
lyon
4ac3eaf76f add c_buffer class for ctypes 2022-05-25 14:44:59 +08:00
lyon
54ad82d5a8 format 2022-05-25 14:05:18 +08:00
lyon
db45bd9964 str(obj) from __str__ is test ok 2022-05-25 13:57:02 +08:00
lyon
e860275c99 support __str__ in for print 2022-05-25 13:46:48 +08:00
lyon
962a280555 add writeBytes template 2022-05-24 20:58:58 +08:00
lyon
a7613dd097 fix readBytes memory error 2022-05-24 15:26:12 +08:00
lyon
49589ed009 add equ test for bytes 2022-05-24 15:08:46 +08:00
lyon
8efa491c43 add implament file for TemplateDevice 2022-05-24 14:13:31 +08:00
lyon
5498f4fa17 create TemplateDevice package 2022-05-24 13:56:35 +08:00
lyon
e2a630358c move PLOOC to package and use as optional 2022-05-24 09:19:44 +08:00
lyon
d071361c74 add set/writeBytes for StdDevice, compile passed 2022-05-23 17:10:37 +08:00
lyon
f826f42295 adding writebytes and readbytes to stddevice 2022-05-23 16:54:56 +08:00
lyon
27a7cdce88 try to add read/writeBytes, not ok yeat 2022-05-23 16:03:05 +08:00
lyon
ee3a2c8f53 support [] index for bytes 2022-05-21 19:23:34 +08:00
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