1265 Commits

Author SHA1 Message Date
pikastech
d4a0b37958 support **keys in cmodule
support print('test', end='')
2022-09-02 00:33:50 +08:00
李昂
7d191fc2ea !108 keys
* def foo(**keys) in py is ok
* __kwargs is ok
* gening dict
* fix arg->flag init faild
* supporting **keys
2022-08-30 16:40:04 +00:00
pikastech
3a5b289c0d add #ifndef for each module in __pikaBinding.c
release v1.10.6

uprdate msc
2022-08-30 18:41:39 +08:00
pikastech
718b11d482 support try except in cmodule
not use try_top or try_inner

try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
2dd8b6979d add get/set arg_serialized
add setIsKeyword

support keyword input
2022-08-30 12:25:57 +08:00
pikastech
e98c6b4e13 restore befor OUT 2022-08-30 12:05:28 +08:00
pikastech
abe576d9e5 OUT for keyword pars is ok 2022-08-30 11:58:13 +08:00
pikastech
87da4d26d1 release v1.10.5, and readyto re 2022-08-29 18:57:10 +08:00
pikastech
d890d51f94 fix s = '\\' 2022-08-29 18:34:20 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +08:00
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
12bb6bf4a9 add check version MACRO 2022-08-27 14:55:08 +08:00
pikastech
f09ea25237 add version check for socket and stddevice 2022-08-26 20:05:20 +08:00
pikastech
7244267b68 test socket ok 2022-08-26 17:25:45 +08:00
pikastech
7acb98e58e default launch with bytecode 2022-08-26 12:40:32 +08:00
pikastech
11088f6b4b rm -api
generate only one -api file
2022-08-25 11:23:56 +08:00
李昂
2c6e973b75
update src/pika_config_valid.h.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-08-24 05:58:09 +00:00
pikastech
d3669ee95d ready to release v1.10.2 2022-08-24 13:36:23 +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
dreamcmi
fc859838e6 add pks_getVersion 2022-08-21 14:31:28 +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
b4cc182aa6 add speed for args_getNode 2022-08-17 11:28:52 +08:00
pikastech
fbb6f28cb2 add speed for args_set<> api 2022-08-17 10:46:26 +08:00
pikastech
5354708450 use hash instead of itoa in list and queue 2022-08-17 10:29:54 +08:00
pikastech
1380c190bb reduce #if
format parser
2022-08-16 19:38:14 +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
77e291101f improve ABSTRACT_METHOD error info. 2022-08-16 11:05:19 +08:00
pikastech
8fff0950a0 add comments to PikaStdDevice 2022-08-14 23:55:24 +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
fceb6bcab9 fix speed loss 2022-08-12 14:16:04 +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
18c8a19c90 fix _asm compile err in MSVC 2022-08-10 13:58:48 +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
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
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
1d97f4b34e support hook_instruct 2022-08-06 15:56:27 +08:00