95 Commits

Author SHA1 Message Date
lyon
338d385be7 fix compile py module on requestment.exe faild 2022-10-29 22:10:27 +08:00
pikastech
e72d1efa36 ignore .pyi if .py.o exist
support load py.o

add cjon_test.pyi
2022-10-21 12:30:42 +08:00
pikastech
9865d65bbf support multi import ok, cmodule ok 2022-10-20 15:16:44 +08:00
pikastech
cf6a2b965d fitting msvc 2022-10-17 14:02:27 +08:00
pikastech
2244e33943 add binary search for prop 2022-10-15 23:21:08 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
pikastech
0aac8300f1 use consturctor_def and method_def with hash 2022-10-15 18:02:43 +08:00
pikastech
c6f6589585 add method_typedef for __pikaBinding.c 2022-10-15 17:32:44 +08:00
pikastech
24a6e50feb optimize strIsContain and strPointToLastToken 2022-10-15 11:07:04 +08:00
pikastech
9ea03893b6 optimize speed for native method index
add prof.sh in ci_benchmark
2022-10-15 10:04:45 +08:00
pikastech
45c3edcfa1 add test for UnitTest.py
add volatile for precompiler

update prec
2022-10-08 19:23:32 +08:00
pikastech
6a9535470b support mod1 import mod2 import mod1 2022-10-02 16:29:48 +08:00
pikastech
c5ccb1bf4f support multiline define for pre-compiler 2022-09-30 15:44:36 +08:00
pikastech
d63d50a322 use pika_float to support switch for float/double
update pre-comp

update pre-win
2022-09-28 11:54:10 +08:00
pikastech
25bd3a9294 support def test(a:int64)-> int64: 2022-09-14 12:30:23 +08:00
pikastech
e0906f3602 remove type hint in class define
remove type hint in cmodule
2022-09-10 13:55:04 +08:00
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
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
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +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
李昂
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
36e8348c18 add version.h, ready to release v1.8.8 2022-06-27 09:48:43 +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
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
30209aff77 support return Object in CModule 2022-06-06 09:13:27 +08:00
lyon
f826f42295 adding writebytes and readbytes to stddevice 2022-05-23 16:54:56 +08:00
lyon
9e44992d33 precompiler ok in linux but not in win 2022-05-15 00:10:09 +08:00
lyon
e93fbb254f run "main" module as default 2022-05-13 09:27:59 +08:00
lyon
29fe0a99c9 still link lib in pikascriptInit 2022-05-13 09:13:02 +08:00
lyon
e32c73d7b3 support import cmodule from pymodules 2022-05-13 09:04:54 +08:00
lyon
3fe767a02e link library is ok 2022-05-11 19:57:59 +08:00
lyon
713607599b add py script comiple for pikaCompiler 2022-05-11 16:41:34 +08:00
lyon
ef3868c896 fix filter for binder 2022-05-10 22:36:25 +08:00
lyon
da447b01d5 import test_module1.py not ok 2022-05-07 19:51:52 +08:00
lyon
94f6d7c016 use rust-c pre-compiler instead 2022-05-06 12:57:33 +08:00
lyon
69a4510d0e add .h 2022-05-05 19:19:37 +08:00
lyon
04725f0996 build libpikabind is ok 2022-05-05 16:16:08 +08:00
lyon
56add2f591 build libpika_build.a 2022-05-05 16:06:57 +08:00
lyon
a725a4c0f5 not print warning when found *.py 2022-05-05 15:20:30 +08:00
lyon
8df290da3f use pyi instaed of py for C moudle 2022-04-28 11:47:37 +08:00