793 Commits

Author SHA1 Message Date
Lyon
f96fdbc0f1 fix int() builtins for u32 type 2023-07-21 19:30:32 +08:00
Lyon
3a39ff5944 add DNS test for socket 2023-07-21 16:55:07 +08:00
Lyon
82f0f3dc42 support gethostbyname for socket.py 2023-07-21 16:51:32 +08:00
Lyon
e41c5f2594 fix if not xxx: stmt 2023-07-21 03:03:47 +08:00
Lyon
0249f2bf75 fix if <str/bytes/object/list> behavior 2023-07-21 01:56:55 +08:00
Lyon
30af0b556e fix bool() behavior 2023-07-21 01:10:01 +08:00
Lyon
e14e77cdfb fix bytes literal and getitem 2023-07-18 22:31:39 +08:00
Lyon
eb824b918a format code 2023-07-17 18:31:23 +08:00
Lyon
3c031e4e5d support get host object for c extern object 2023-07-17 18:29:49 +08:00
Lyon
a61e393a9c add pikastddevice test 2023-07-16 09:56:36 +08:00
Lyon
0adbb62369 format and push pkgs, fix SOFT_IIC 2023-07-15 14:59:56 +08:00
Lyon
e5144767a4 fix .gitignore 2023-07-09 23:50:40 +08:00
Lyon
1f92b8135c using clang-tidy and add format.py to auto-format 2023-07-09 23:12:21 +08:00
Lyon
223b81c5e3 support deserializeResponse for modbus, fix crash 2023-07-08 14:25:44 +08:00
Lyon
5cb104a83e fix pya load 2023-07-07 02:36:42 +08:00
Lyon
c0dcdd836e fix linkFile totle size 2023-07-07 00:18:16 +08:00
Lyon
d9ac8874a8 fix pika.studio 2023-07-06 23:32:11 +08:00
Lyon
b4f7b4275c move test to pikaCompiler 2023-07-06 23:09:49 +08:00
pikastech
75d6f97823 move test to top 2022-09-26 21:47:52 +08:00
pikastech
76d03f3581 fix @PIKA_C_MACRO_IF
support 'hasattr' 'getattr' for c module
2022-09-26 11:39:33 +08:00
pikastech
70bd8e48a8 add test 2022-09-26 10:20:57 +08:00
pikastech
74a51cd053 support hasattr(), proxy test ok 2022-09-26 10:14:01 +08:00
pikastech
459da8ab5b support '__getattribute__()'
support `__getattr__()`

disable proxy for PIKA_NANO_ENABLE

fix typo

support `__setattr__()`

proxy for cmodule is ok
2022-09-23 16:34:14 +08:00
pikastech
52995e6ab2 support list.pop()
support list.remove()

support list.insert()
2022-09-23 12:38:04 +08:00
pikastech
e0eb67fff3 check callable object 2022-09-21 09:51:40 +08:00
pikastech
729ce8a497 add test for WriteRegister 2022-09-19 14:38:12 +08:00
pikastech
abb557093a fix can not invoke inner super.method() 2022-09-19 14:31:41 +08:00
pikastech
600950381e modebus rtu_master test ok 2022-09-19 13:27:20 +08:00
pikastech
4e447d89af support bytes(list) 2022-09-19 10:01:16 +08:00
pikastech
f2e184aa81 support list(str) 2022-09-19 09:53:27 +08:00
pikastech
bb0631db1e fix parse for abc[a+1]*3 2022-09-19 00:44:03 +08:00
pikastech
295ff87e5d support 0xffffffff literal and print 2022-09-17 14:56:39 +08:00
pikastech
db54438caf support pass
support pass
2022-09-15 18:44:18 +08:00
pikastech
d3026c7c99 support slice utf8 for str
add test for slice utf-8
2022-09-15 16:27:02 +08:00
pikastech
8acef2efde support pks_vm_exit() 2022-09-14 13:46:19 +08:00
pikastech
1019f3095f exit when error occord 2022-09-14 13:05:10 +08:00
pikastech
25bd3a9294 support def test(a:int64)-> int64: 2022-09-14 12:30:23 +08:00
pikastech
3a7796251f support range(a), range(a, b, step) 2022-09-12 20:01:30 +08:00
pikastech
2884d51c72 support for k, v in d.items() 2022-09-11 12:12:22 +08:00
pikastech
7f193cec04 support dict.items() 2022-09-11 00:51:17 +08:00
pikastech
c70947aa6e cut VM for nano mode 2022-09-10 23:16:59 +08:00
pikastech
779f94c529 fix DEL $tmp 2022-09-09 16:30:23 +08:00
pikastech
8143c1376e support multy return in function 2022-09-09 16:14:27 +08:00
pikastech
b48d04df3b support return dict in cmodule, release v1.10.8 2022-09-09 13:10:20 +08:00
pikastech
c0148c2bd3 skip void line 2022-09-09 10:18:55 +08:00
pikastech
7ae95663f6 support multy assign, use $l[x] instead of _l[x] 2022-09-09 10:16:15 +08:00
pikastech
8734548a37 fix valgrind for PikaNN 2022-09-08 22:48:00 +08:00
pikastech
e85639a1e9 fix valgrind in check CLS
add pikann
2022-09-08 22:33:23 +08:00
pikastech
87a084b4d8 support super(), test ok
support `super()`
2022-09-08 19:07:21 +08:00
pikastech
f216ee1f23 valgrind not pass in PikaNN 2022-09-08 08:43:15 +08:00