25 Commits

Author SHA1 Message Date
pikastech
de10086338 add arg_new<T> api
update version
2022-07-20 10:34:50 +08:00
李昂
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
李昂
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
83b3611c4a use double in ARG_FLOAT 2022-06-10 09:29:49 +08:00
Lyon
b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00
lyon
b422318168 cancel (char*) in test 2022-04-30 21:17:19 +08:00
lyon
37f3062b88 dividing POINTER and REF_OBJECT 2022-04-25 14:49:38 +08:00
lyon
e03af6c5a7 rename __POINTER_ to REF_OBJECT 2022-04-25 14:43:44 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +08:00
lyon1998
cd5c62c167 support defination for def and class 2022-04-11 22:27:18 +08:00
lyon1998
3a1969fc6d add args_move to transfer arg between args 2022-03-27 15:07:22 +08:00
lyon1998
66c583218e args_heapStuct is tested ok 2022-03-16 12:16:09 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
b54cd1ed5a auto convert int args and flot args 2022-01-11 22:22:53 +08:00
lyon
1afc45604d use index inf queue 2022-01-04 20:18:23 +08:00
lyon
3ab412f219 use NEUM to save type instead of char * 2021-11-15 09:35:48 +08:00
lyon
5316ede928 add Warning flag and solve warnings 2021-11-14 18:39:08 +08:00
lyon
1d542f2839 use one char to str int pointer float type 2021-11-14 12:12:40 +08:00
lyon
d06caf63ea use strEqu instead of str_is_start_with to check type 2021-11-14 12:06:06 +08:00
lyon
d10bcdf399 use memcpy in args_getStruct 2021-11-14 10:43:15 +08:00
lyon
5f0d7a9d31 use name_hash compile pass 2021-11-13 16:42:01 +08:00
lyon1998
95cfbf6caa obj.set and args_set is not needed any more 2021-10-18 15:09:30 +08:00
graduateDesign
cfa17f3764 chang to linux 2021-10-04 01:10:49 +08:00