887 Commits

Author SHA1 Message Date
lyon
962a280555 add writeBytes template 2022-05-24 20:58:58 +08:00
李昂
46c468bdc3
push v1.8.1 to rtt 2022-05-24 12:43:28 +00: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
5ec5a9d17f fix ci err in PIKA_ERR_<TYPE> 2022-05-23 21:35:20 +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
d82c3241ae clear the content_<> API, add 'clang-format off' to def_class 2022-05-22 21:52:37 +08:00
lyon
77267cff07 use class Arg instead of __arg 2022-05-22 20:50:28 +08:00
lyon
65e69674ba add test case of ASM for bytes[] 2022-05-22 08:49:14 +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
b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00
lyon
602ed06f26 fix need two \n in *.py when preCompile bytecode 2022-05-19 19:14:40 +08:00
lyon
8ade63697f update v1.8.0 for rtThread port 2022-05-17 23:09:09 +08:00
lyon
23d9ef9135 release new pikaPackage.exe 2022-05-16 21:26:16 +08:00
lyon
bef82257ef use 'rb''wb+' to avoid auto transfer form '\n' to '\r\n' in win 2022-05-15 00:38:25 +08:00
lyon
61cdd46fb8 add speed for preCompiler build 2022-05-13 22:08:01 +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
3fe767a02e link library is ok 2022-05-11 19:57:59 +08:00
lyon
8cdd24c0e3 link modules.a is ok 2022-05-11 19:30:49 +08:00
lyon
35c9f9bfe2 ready to auto link 2022-05-11 18:21:24 +08:00
lyon
713607599b add py script comiple for pikaCompiler 2022-05-11 16:41:34 +08:00
lyon
9c49aa38fa compile all is ok 2022-05-11 16:10:27 +08:00
lyon
5b249f6fe0 compile_deppend_depth_1 is test ok 2022-05-11 16:07:27 +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
94a47b1fbc load bytecode ok 2022-05-07 14:46:24 +08:00
lyon
9d871387dc use Maker to build modules 2022-05-06 18:50:11 +08:00
lyon
94f6d7c016 use rust-c pre-compiler instead 2022-05-06 12:57:33 +08:00
lyon
833036d435 update pikaPackage.exe 2022-05-05 11:04:09 +08:00
lyon
48612b9360 remove pikaPacage.exe 2022-05-05 10:29:23 +08:00
lyon
6ce43a3285 add cross comiple for win for bytecodegen 2022-05-04 19:53:54 +08:00
lyon
9db9888a49 load libfile to array asset file is ok 2022-05-04 16:53:07 +08:00
lyon
b1b45b8784 add magic_code and version_num to lib_file info_block 2022-05-04 15:32:18 +08:00
lyon
ad9e97ee98 add test python scripts 2022-05-02 21:35:38 +08:00
lyon
c9d20a74e7 LibObj_loadLibraryFile is tested ok 2022-05-02 21:29:10 +08:00
lyon
d6d2a8019e valgrind for static and dynamic pool is ok 2022-05-02 19:55:02 +08:00
lyon
61dc2930be const_pool and dynamic_pool tested ok 2022-05-02 19:49:47 +08:00
lyon
3ce512a519 use copy instead of link in docker 2022-05-02 18:11:12 +08:00
lyon
44e7f0c738 fix all valgrind mem error 2022-05-02 17:56:38 +08:00
lyon
b1611b2d4c fix mem error of queue_getStr() 2022-05-02 15:34:32 +08:00