717 Commits

Author SHA1 Message Date
pikastech
c8137e8204 fix ci 2022-08-30 16:05:44 +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
e19d44cc92 befor pull 2022-08-30 11:59:17 +08:00
pikastech
abe576d9e5 OUT for keyword pars is ok 2022-08-30 11:58:13 +08:00
pikastech
d890d51f94 fix s = '\\' 2022-08-29 18:34:20 +08:00
pikastech
8404d5a305 support '//' transfer to '/' 2022-08-29 18:09:45 +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
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
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
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
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
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
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
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +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
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
e393d33db7 fix Quaternion_test.py 2022-08-01 00:16:23 +08:00
pikastech
6be2bc41b6 use pure_stack_arg 2022-07-31 17:18:29 +08:00
pikastech
4899884747 use u32 for mem info
add speed by using register in for-loop

fix ci_benchmark
2022-07-31 11:14:49 +08:00
pikastech
a40f68e9b2 use more inline in PikaVM
use static refcnt in PikaObj

use static _clsptr
2022-07-30 21:26:46 +08:00
pikastech
6c6304a896 add type check for operand
support int**float (need PikaMath enabled)
2022-07-30 11:59:44 +08:00
pikastech
c056b6015d update configparser 2022-07-29 23:42:18 +08:00
pikastech
1d7bcf2a39 use __getitem__ __setitem__ instead of __get__ __set__ 2022-07-29 23:40:16 +08:00