144 Commits

Author SHA1 Message Date
pikastech
d4a0b37958 support **keys in cmodule
support print('test', end='')
2022-09-02 00:33:50 +08: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
063e673955 more info for -api file 2022-08-29 12:40:12 +08:00
pikastech
11088f6b4b rm -api
generate only one -api file
2022-08-25 11:23:56 +08:00
pikastech
d3669ee95d ready to release v1.10.2 2022-08-24 13:36:23 +08:00
pikastech
33e2a02caf add decorator.rs 2022-08-24 13:10:38 +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
b694a68a9c new psc 2022-08-16 12:25:37 +08:00
pikastech
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +08:00
pikastech
f7842ba068 update rust_msc 2022-07-30 19:03:31 +08:00
pikastech
117096a764 correct the sort of fun dec in .h
fix .h and .pyi

update PikaMath

update pika_cjson
2022-07-30 18:56:20 +08:00
pikastech
1d7bcf2a39 use __getitem__ __setitem__ instead of __get__ __set__ 2022-07-29 23:40:16 +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
李昂
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
pikastech
71c3923f43 support class XXX: and class XXX(): 2022-07-13 10:26:02 +08:00
pikastech
e136c84c83 restore build.sh 2022-07-12 18:59:05 +08:00
pikastech
7aa5952e97 update pikac 2022-07-12 18:27:08 +08:00
pikastech
b029dc5e5f not use release flag when build linux version 2022-07-12 18:27:08 +08:00
pikastech
8b03acceee remove no used dependencies 2022-07-12 18:27:08 +08:00
pikastech
6bf9f03db4 update msc for v1.9.0 2022-07-02 00:49:06 +08:00
pikastech
9d10e05b08 release v1.8.8 prec 2022-06-27 10:00:05 +08:00
pikastech
36e8348c18 add version.h, ready to release v1.8.8 2022-06-27 09:48:43 +08:00
pikastech
b65680672e keep the keep 2022-06-26 22:33:21 +08:00
pikastech
8af6116b79 update PreCompiler 2022-06-14 11:23:45 +08:00
pikastech
15b197e257 update preCompiler 2022-06-13 18:05:06 +08:00
李昂
5148412411 !24 support double in C Module
* Merge branch 'master' into dev
* fix float->double for bytecodegen
* update to /package
* Use double in C for float in python
2022-06-13 10:02:59 +00:00
李昂
b02672b130 !21 Support variable pars for print()
* update pre-compiler
* test passed for variable pars of print()
* variable pars is tested ok for print()
* skip arg_num check for variable
* support *val in the preCompiler
* add file
* Merge branch 'dev' of https://gitee.com/lyon1998/pikascript into dev
* fix warning
* both update ByteCodeGen
* use super instead of parent
* create PikaList C list struct
* use args inner the PikaStdData.List()
* use PikaDict in PikaStdData.Dict()
* support dict in c
* support dict in c
* clean Tinyobj
2022-06-11 14:56:51 +00:00
pikastech
3c8dcd578a replace '\t' with ' ' simply 2022-06-09 09:34:33 +08:00
pikastech
65658e1df4 support \t in the CMoulde 2022-06-09 09:28:22 +08:00
pikastech
f07bad84d0 fix typo 2022-06-09 09:12:55 +08:00
pikastech
44963e8f6a update preCompiler 2022-06-08 10:30:20 +08:00
pikastech
7e36373dbe update preCompiler 2022-06-07 11:17:43 +08:00
pikastech
248432836b support function define in the .pyi 2022-06-07 10:40:23 +08:00
pikastech
bce7f495c6 use analize_top_package() 2022-06-07 09:27:15 +08:00
pikastech
91e330d0d7 add bufsize for pikaCompiler in bytecodegen 2022-06-06 11:02:14 +08:00
pikastech
91dd0a048e update win10 prec 2022-06-06 10:38:52 +08:00
pikastech
30209aff77 support return Object in CModule 2022-06-06 09:13:27 +08:00
lyon
65a4c6bf02 update precompiler 2022-05-31 08:22:59 +08:00
lyon
0adf506742 update preCompiler 2022-05-28 10:45:01 +08:00
lyon
31a343a6c3 upeate precompiler 2022-05-27 15:43:45 +08:00
lyon
9070131c62 update precompiler 2022-05-25 14:55:03 +08:00
lyon
281600804a update precompiler 2022-05-24 21:01:17 +08:00
lyon
cce10b71cf update preCompiler 2022-05-23 21:35:20 +08:00
lyon
f826f42295 adding writebytes and readbytes to stddevice 2022-05-23 16:54:56 +08:00
lyon
2716ee5d25 add .vimrc for docker 2022-05-22 02:06:49 +08:00
lyon
aaffdbaee1 fix 'from PikaObj import *' error info 2022-05-19 21:31:08 +08:00
lyon
602ed06f26 fix need two \n in *.py when preCompile bytecode 2022-05-19 19:14:40 +08:00
lyon
93efd8b9f9 fix precompiler error in win because of auto transfer of '\n' and '\r\n' 2022-05-15 00:39:49 +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
9e44992d33 precompiler ok in linux but not in win 2022-05-15 00:10:09 +08:00