lyon
b481c1c72b
use pikaList, pikaDict, pikaTuple API
2022-11-19 19:11:34 +08:00
lyon
e212f28a91
use static inline instead of #define
2022-11-06 13:17:17 +08:00
lyon
feeca8f135
run event when vm is idle
2022-11-02 12:25:02 +08:00
李昂
08d996c98d
add pika_wrapper_mpy.h add APIs for PikaDict
2022-11-02 01:43:25 +08:00
pikastech
018a3d579f
optimize speed for range
2022-10-13 01:24:58 +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
52995e6ab2
support list.pop()
...
support list.remove()
support list.insert()
2022-09-23 12:38:04 +08:00
pikastech
d4a0b37958
support **keys in cmodule
...
support print('test', end='')
2022-09-02 00:33:50 +08:00
pikastech
7244267b68
test socket ok
2022-08-26 17:25:45 +08:00
pikastech
e194106ce8
add callback/test
...
fix test
add callback-test1
add assert
2022-08-18 14:22:43 +08:00
pikastech
5354708450
use hash instead of itoa in list and queue
2022-08-17 10:29:54 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00
李昂
d9349b7812
!61 Support seek() and tell() for FILEIO
...
* fix FILEIO.seek()
* return ftell in FILEIO.seek()
* fix test
* support seek() and tell() for FILEIO
2022-07-18 05:29:43 +00: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
c3bc444af0
assert for test_import_bf1/2 is ok
2022-04-28 16:55:48 +08:00
lyon
88c0fd481e
add _refcnt when get refArg from object
2022-04-25 19:19:44 +08:00
lyon
37f3062b88
dividing POINTER and REF_OBJECT
2022-04-25 14:49:38 +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
49cb98da8a
use queue_popArg_notDeinitArg to add speed
2022-03-27 15:24:31 +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
db8094d9a5
class_def is not passed
2022-03-09 13:22:55 +08:00
lyon
1afc45604d
use index inf queue
2022-01-04 20:18:23 +08:00
lyon
2c3d56308d
push and get arg from args by index
2022-01-04 19:58:46 +08:00
lyon
e25cbbef92
cmo to com
2021-11-16 08:49:33 +08:00
lyon
669b037519
add MIT license to sorce files
2021-11-16 08:46:44 +08:00
lyon
b88b729039
use type enum
2021-11-15 09:36:46 +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
2d51b4d4e2
add args_setStruct and getStruct
2021-11-04 19:32:14 +08:00
graduateDesign
9449448756
change example to bsp
2021-10-04 01:08:08 +08:00