784 Commits

Author SHA1 Message Date
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
pikastech
10c7f1a261 add __callback inline bytecode
impl strlwr for linux, merge codede.c to _String.c
2022-09-08 08:17:01 +08:00
pikastech
27ebfb049f support input None to object 2022-09-07 14:25:25 +08:00
pikastech
ad22498992 rm files
fix include cmake
2022-09-06 21:13:13 +08:00
任祉涵
36b3d2775a
PikaNN simple version (#211)
* PikaNN sample

* Delete __asset_lib_to_file_py_a.c

* Update CMakeLists.txt

Co-authored-by: Lyon <88232613+pikasTech@users.noreply.github.com>
2022-09-06 21:08:10 +08:00
pikastech
9cb3f586d5 fix PIKA_STRING_UTF8_EANBLE = 0 2022-09-06 08:19:05 +08:00
pikastech
d5ab75af41 fix some wars, fix mem leak, add unit test 2022-09-05 22:30:28 +08:00
pikastech
af26aace9d use method from str and bytes directly 2022-09-05 20:40:19 +08:00
pikastech
c59c8953b7 support method for str
support method for str
2022-09-05 20:29:13 +08:00
pikastech
4486de76e9 support list slice 2022-09-05 16:31:30 +08:00