121 Commits

Author SHA1 Message Date
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
lyon
dfe4d9b513 run compiling befor bind 2022-05-14 23:44:44 +08:00
lyon
61cdd46fb8 add speed for preCompiler build 2022-05-13 22:08:01 +08:00
lyon
ecf427a959 update msc-win10 2022-05-13 09:28:36 +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
4f996b8393 update pikacompiler for win10 2022-05-11 20:03:30 +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
8db4463cb3 update rust-msc-win10 2022-05-10 00:34:16 +08:00
lyon
da447b01d5 import test_module1.py not ok 2022-05-07 19:51:52 +08:00
lyon
9d871387dc use Maker to build modules 2022-05-06 18:50:11 +08:00
lyon
94f6d7c016 use rust-c pre-compiler instead 2022-05-06 12:57:33 +08:00
lyon
fac462199e add .py 2022-05-05 21:52:49 +08:00
lyon
8dbf7e7a63 build -dev to avoid commit 2022-05-05 21:51:45 +08:00
lyon
8cc930389d add _WIN32 to support windows 2022-05-05 21:49:58 +08:00
lyon
995f674fef use cmake option to support build and cross-build 2022-05-05 21:38:19 +08:00
lyon
1fc5a9194a build on windows is ok 2022-05-05 20:26:03 +08:00
lyon
8c48a8f720 divide build and cross-build.sh, cross-build not ok, cannot find fun 2022-05-05 19:48:17 +08:00
lyon
34bb6183be try to cross-build rust with c but not ok 2022-05-05 19:44:00 +08:00
lyon
721b321e64 not rm libpikabinder 2022-05-05 19:20:25 +08:00
lyon
69a4510d0e add .h 2022-05-05 19:19:37 +08:00