41 Commits

Author SHA1 Message Date
李昂
6acc0f9ecd !25 support format output for print()
* test for format with tuple is ok
* 'format'%var is ok (tuple var is not ok)
* rename _cformat to cformat()
* optimize the memory usage of format_list
* add string-test.cpp
* cformat() is ok
* fix variable par load issue
* use test_common.h
* use test_common to simplify the gtest case
* Merge branch 'master' into dev
* fix float->double for bytecodegen
* update to /package
* Use double in C for float in python
2022-06-14 03:20:17 +00: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
91e330d0d7 add bufsize for pikaCompiler in bytecodegen 2022-06-06 11:02:14 +08:00
lyon
c08a077f27 remove pikascriptcore 2022-05-30 16:16:27 +08:00
lyon
bcf40725e8 add other file to pikaByteCodeGen 2022-05-30 16:04:12 +08:00
lyon
b42798c6c6 set syntex maximal as default 2022-05-30 15:23:20 +08:00
lyon
23b19a36ec add config.h for bytecodegen 2022-05-30 14:47:19 +08:00
lyon
23d9ef9135 release new pikaPackage.exe 2022-05-16 21:26:16 +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
8cdd24c0e3 link modules.a is ok 2022-05-11 19:30:49 +08:00
lyon
713607599b add py script comiple for pikaCompiler 2022-05-11 16:41:34 +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
e933c0ef9e add -dl 2022-05-05 22:39:04 +08:00
lyon
995f674fef use cmake option to support build and cross-build 2022-05-05 21:38:19 +08:00
lyon
31f58e9baf move to cmake-win 2022-05-05 20:26:30 +08:00
lyon
1fc5a9194a build on windows is ok 2022-05-05 20:26:03 +08:00
lyon
fbd44fda32 compile main.py 2022-05-05 16:46:23 +08:00
lyon
7389095b26 build api-bind and codegen together 2022-05-05 16:42:24 +08:00
lyon
541b775fd4 link pikabinder is ok 2022-05-05 16:36:36 +08:00
lyon
833036d435 update pikaPackage.exe 2022-05-05 11:04:09 +08:00
lyon
48612b9360 remove pikaPacage.exe 2022-05-05 10:29:23 +08:00
lyon
adf7d91ce5 use -D par to support cmake in ubuntu20.04 2022-05-04 23:30:32 +08:00
lyon
1dcf2ceaeb test pikaCompileFile is ok 2022-05-04 20:54:00 +08:00
lyon
953014bbf7 support MINGW32 about weak 2022-05-04 20:42:32 +08:00
lyon
6ce43a3285 add cross comiple for win for bytecodegen 2022-05-04 19:53:54 +08:00
lyon
be465e8a31 relase v1.7.1 and update fit arm2d with v0.3.4 2022-04-26 16:55:31 +08:00
lyon
7435342e98 release v1.7.0 2022-04-22 13:07:55 +08:00
lyon
665eb2eac8 fix ac5 warnings, update bytecodegen core version 2022-04-22 10:25:00 +08:00
lyon1998
4ab9dfeaa9 add readme.md 2022-04-21 18:00:14 +08:00
lyon1998
ed617c7c87 remove built pikaByteCodeGen 2022-04-21 17:52:50 +08:00
lyon1998
9c8cf7cb50 update v1.5.3 from v1.5.2 2022-03-25 21:33:51 +08:00
lyon
50fc939abe print bytecodeGen to stdout 2022-03-24 18:19:07 +08:00
lyon
8b36e56c55 output to pikaAsm.txt 2022-03-24 18:12:18 +08:00
lyon
d87d8a15a4 rm .vs cache 2022-03-24 18:08:03 +08:00
lyon
4ddb60726a update bytecode_gen to v1.5.2 2022-03-24 18:05:27 +08:00
pikastech
efab436797 add byte code and format main.c 2021-11-28 22:29:25 +08:00
pikastech
6e81fb1b3d rename to pikaByteCodeGen.exe 2021-11-28 22:27:24 +08:00
pikastech
87ed7ce760 rename BiteCodeCompiler to ByteCodeGen 2021-11-28 21:31:04 +08:00