pikastech
6726169ad9
serilized to api
...
use mask in arg for serilized
support isKeyword flag for arg
2022-08-28 19:25:03 +08:00
pikastech
3d97469e25
add platform_h for socket.c
2022-08-26 17:55:17 +08:00
pikastech
7244267b68
test socket ok
2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9
add __platform for socket, add override
2022-08-26 16:40:12 +08:00
pikastech
2a4115722e
create socket.py
...
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
5354708450
use hash instead of itoa in list and queue
2022-08-17 10:29:54 +08:00
pikastech
7e15e5e202
support __add__()
for list
2022-08-16 17:40:11 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00
pikastech
a1b3347e5b
support [\n ...] and {\n ...}
2022-08-13 00:08:21 +08:00
pikastech
7d01af7b90
support auto connect lines begin with fun(...
...
fix valgrind
2022-08-12 23:59:32 +08:00
pikastech
331710ace6
support void line and no new line
2022-08-12 13:52:51 +08:00
pikastech
cd6dfbbb71
unittest can run
2022-08-11 19:21:53 +08:00
pikastech
f180a15343
support %s and %r for any type arg
2022-08-11 18:32:53 +08:00
pikastech
bb54c2e719
support setattr
and getattr
...
run tests() in cases is ok
2022-08-11 17:39:38 +08:00
pikastech
bfebd7500e
add clang_format settings for vsc
2022-08-11 16:26:14 +08:00
pikastech
e0eee73209
support dir()
builtin, fix str disp in list...
2022-08-10 11:49:54 +08:00
pikastech
19b7651913
fix valgrind errs
2022-08-09 23:11:23 +08:00
pikastech
a4dcc337bc
support is
keyword
2022-08-08 20:09:10 +08:00
pikastech
e61e4716ac
add examples for unittest
2022-08-06 23:26:04 +08:00
pikastech
57d89e256f
support try_expect for open
2022-08-06 17:59:32 +08:00
pikastech
4f13d3a4b1
support callback from formal parameter
2022-08-06 16:57:35 +08:00
pikastech
92dad784ce
fix parse err like d['x'].foo()
2022-08-05 22:39:43 +08:00
pikastech
0c0d89231c
avoid core dump when not ':' found
2022-08-05 11:18:54 +08:00
pikastech
178353e259
use statkc buff[] when load args
...
skip tuple to accelerate
add speed for return arg in <RUN> inst
2022-08-04 11:12:32 +08:00
pikastech
446bc562cd
accelerate for OUT ins
2022-08-01 10:06:49 +08:00
pikastech
e393d33db7
fix Quaternion_test.py
2022-08-01 00:16:23 +08:00
pikastech
56ec7c2410
more stack arg in VM
2022-07-31 19:48:35 +08:00
pikastech
6be2bc41b6
use pure_stack_arg
2022-07-31 17:18:29 +08:00
pikastech
76f7c68c83
move flag __size[x] to vm ireg
2022-07-31 14:55:03 +08:00
pikastech
1d7bcf2a39
use __getitem__ __setitem__ instead of __get__ __set__
2022-07-29 23:40:16 +08:00
pikastech
1e956cfcff
fix CI
2022-07-26 10:41:29 +08:00
pikastech
73123cdd9f
support <int32_t size> for stack
2022-07-26 10:24:31 +08:00
pikastech
18e15559b7
fix rgb565 chanel err
2022-07-14 17:33:30 +08:00
李昂
e7e501ab73
!56 Support tuple literal
...
* Merge branch 'master' into tuple
* sue SyntaxItemList
* cut the parser
* update preCompiler
* not use tiny_obj in stdlib
* use BUILTIN_STRUCT_ENABLE for list, dict, tuple
* add PikaStdData.Tuple()
* !51 Support bind .pyi from other *.py expect main.py
* fix overflow issue
* fix overflow issue and simplification code
* update PikaCV_Image.c.
2022-07-14 08:36:02 +00:00
pikastech
8889671586
push binascii to package
2022-07-14 10:59:51 +08:00
李昂
b354948c40
!51 Support bind .pyi from other *.py expect main.py
...
* Support bind .pyi from other *.py expect main.py
* update rust
* fix suffix format
* fix name case
* supporting import pyi from other py
* supporting import pyi from other py
2022-07-13 08:29:42 +00:00
李昂
9256a87258
!48 support a[x][y] and fun()[x]
...
* update version
* fun()[x] is ok
* a = b[x][y] parse ok
2022-07-11 08:38:10 +00:00
李昂
660a97110f
!47 not use suger to parse slice
...
* use __vm_[get/slice] for sysobj
* not use suger in slice
* parser for new slice is ok
* add SLC ins
2022-07-11 06:42:12 +00:00
李昂
76db2494a5
!46 try to support [][], not ok yeat
...
* fix typo in test
* Merge branch 'master' into slice
* adding slice to parser from suger
2022-07-11 03:14:14 +00:00
pikastech
6d4ac36199
support class method
2022-07-08 18:00:46 +08:00
李昂
b463e812bf
!42 Support PikaCV, can read data from Jpeg and convert to rgb888/rgb565
...
* add pikaCV-test.cpp
* read(Image) and convert to RGB565 is tested ok
* transfer can return res, but not assert
* format tjpgd
* add test for PikaCV
* add assert for newContent
* restore assets
* restore PikaCV.pyi
* restore PikaCV
* restore uint16_t
* add jpeg_test.py
* move ADC, GPIO, RGB ... to Device
* add jd_decomp
* convert_JPEGtoREG888 is not ok
* connecting tjpegdec
* Converter.toRGB565() .toRGB888() .toGRay() eachother is ok
* support Gray
* add PikaCV_Image, PikaCV_ImageFormat
* add classes for PikaCV
* add PikaCV
2022-07-08 09:33:53 +00:00
lyon
1bd3b367f4
fix str(None) return other string
2022-07-06 15:13:23 +08:00
lyon
ed7eef878d
add return Null str test
2022-07-06 10:54:04 +08:00
lyon
0793fafece
Support invokedeepth < 9 -> 15 >
2022-07-05 15:59:11 +08:00
李昂
4a943b479c
!41 Support chain invoke like < String('test').split() >
...
* support chain invoke ok
* add test for S(S.replace()).replace()
* parse to RUN .split
* try to support chain invoke, not ok
* can devide a chain
2022-07-05 06:23:49 +00:00
李昂
81a5f0b965
!40 support configparser_read_string
...
* configparser read_string is ok
* support replace() and strip() for StdData.String()
* add file and test of configparser
2022-07-04 07:16:44 +00:00
pikastech
77c579ef18
add test for def ...
2022-07-01 11:11:53 +08:00
pikastech
5d21f7190e
[bug] fix parse faild when meet some comments
2022-07-01 11:04:33 +08:00
pikastech
38e31ae049
support classpar for python class
2022-07-01 09:12:47 +08:00
pikastech
8aaf317689
fix print normal object
2022-06-30 17:33:06 +08:00