20 Commits

Author SHA1 Message Date
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
pikastech
1d7bcf2a39 use __getitem__ __setitem__ instead of __get__ __set__ 2022-07-29 23:40:16 +08:00
pikastech
de10086338 add arg_new<T> api
update version
2022-07-20 10:34:50 +08:00
pikastech
0921ee69c4 simplify the byteCodeGen main.c 2022-07-11 23:17:25 +08:00
pikastech
865290df74 support len() for object and __len__().
* list, dict, dict_keys is ok
2022-06-24 18:18:06 +08:00
李昂
e6a33c058e !34 Support __str__() for PikaStdData.List(),PikaStdData.Dict(),PikaStdData.dict_keys(),
* print list as '[x,x,x]'
* support __str__ for Dict
* support __str__ for dict_keys()
2022-06-24 03:30:56 +00:00
pikastech
ff16099da5 test iter() for keys is ok 2022-06-23 17:46:50 +08: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
lyon
aa676d380b format 2022-04-28 00:49:40 +08:00
lyon
15aef30a5f use obj_getObj/getSuperObj 2022-04-27 22:14:56 +08:00
lyon
cd82162e6e all tests passed 2022-04-26 12:15:07 +08:00
lyon
88c0fd481e add _refcnt when get refArg from object 2022-04-25 19:19:44 +08:00
lyon
f13acd2334 create _refcnt when create a class_object 2022-04-25 18:58:15 +08:00
lyon
059096a7b1 divide POINTER and REF_OBJECT OK 2022-04-25 15:01:58 +08:00
lyon
e03af6c5a7 rename __POINTER_ to REF_OBJECT 2022-04-25 14:43:44 +08:00
lyon
a966d43ad0 update PikaStdLib 2022-03-02 15:27:19 +08:00
lyon
9cf1ae46ad restore Dict.c 2022-02-25 18:07:03 +08:00
lyon
1291483369 add PikaObj for PikaStdLib 2022-02-25 18:05:54 +08:00
李昂
9b9015de4e
update package/PikaStdLib/PikaStdData_Dict.c. 2022-02-04 20:19:06 +00:00
lyon
0b849c48bc collect Std compoment all to PikaStdLib 2022-01-30 16:46:33 +08:00