1197 Commits

Author SHA1 Message Date
pikastech
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
d3669ee95d ready to release v1.10.2 2022-08-24 13:36:23 +08:00
pikastech
ab32fd37ae fix stdlib.pyi macro 2022-08-24 13:26:06 +08:00
pikastech
34ad50ffe8 fix macro in stddevice 2022-08-24 13:18:38 +08:00
pikastech
d897af834c Merge branch 'master' of https://github.com/pikastech/pikascript 2022-08-24 13:08:18 +08:00
pikastech
04da2b93b6 supporting decorator to macro in pyi
update PikaObj.pyi

use @PIKA_C_MACRO_IF to cut sysobj
2022-08-24 13:01:11 +08:00
pikastech
1c0f6b50b1 support science_num 2022-08-18 22:44:03 +08:00
pikastech
e194106ce8 add callback/test
fix test

add callback-test1

add assert
2022-08-18 14:22:43 +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
1152ed91de format stddata 2022-08-16 12:24:26 +08:00
pikastech
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +08:00
pikastech
77e291101f improve ABSTRACT_METHOD error info. 2022-08-16 11:05:19 +08:00
pikastech
76ce590713 fix typo 2022-08-14 23:58:24 +08:00
pikastech
8fff0950a0 add comments to PikaStdDevice 2022-08-14 23:55:24 +08:00
lyon
addc7160e1 update pikacv pyi 2022-08-14 10:55:18 +08:00
pikastech
1578eacdea release v1.10.1 2022-08-13 10:41:49 +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
699a0feefd fix ci 2022-08-11 19:32:50 +08:00
pikastech
5b2febdbe0 rm noused _unittest.pyi 2022-08-11 19:27:31 +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
ac97532a7a support exec() builtin 2022-08-10 12:07:32 +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
c07c0454bd fix core dump in [<undefined>, 2, 3] 2022-08-09 22:14:15 +08:00
pikastech
751f61a656 use 'is' and 'in' and 'assert' in unittest
update unittest
2022-08-09 18:37:24 +08:00
pikastech
7daa4b93c5 support assert keyword 2022-08-09 18:27:46 +08:00
pikastech
bc8815de0f support remove Event for eventLisener 2022-08-09 16:21:52 +08:00
pikastech
be07caab14 format
format parser

format parser and support 'in' for string
2022-08-09 12:57:00 +08:00
pikastech
a4dcc337bc support is keyword 2022-08-08 20:09:10 +08:00
pikastech
63b3ef11d4 fix push script 2022-08-06 23:29:14 +08:00
pikastech
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +08:00
pikastech
b34804697c fix pkg-update 2022-08-06 22:32:26 +08:00
pikastech
e8a2d43521 add unittest.c 2022-08-06 21:19:23 +08:00
pikastech
69b3fddc24 add unittest module
add _unittest.pyi

support _xxxx.pyi
2022-08-06 21:02:29 +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
874f3ff7ed syantex check for 'class' 'def' 2022-08-06 15:42:02 +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
7f77407550 support del keyword, use v1.10 version name 2022-08-04 00:25:32 +08:00
pikastech
525f08e088 fix for in dict 2022-08-02 13:52:20 +08:00
pikastech
446bc562cd accelerate for OUT ins 2022-08-01 10:06:49 +08:00
pikastech
5a4deb5fc9 fix List to list 2022-08-01 00:19:53 +08:00