pikastech
efd9abbf17
add mem check
...
add big_dict_update test
2022-09-27 21:30:30 +08:00
pikastech
7f193cec04
support dict.items()
2022-09-11 00:51:17 +08:00
pikastech
45c70ffe79
support __contains__ for dict
2022-09-05 15:39:15 +08:00
李昂
7d191fc2ea
!108 keys
...
* def foo(**keys) in py is ok
* __kwargs is ok
* gening dict
* fix arg->flag init faild
* supporting **keys
2022-08-30 16:40:04 +00:00
pikastech
718b11d482
support try except in cmodule
...
not use try_top or try_inner
try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
e0eee73209
support dir()
builtin, fix str disp in list...
2022-08-10 11:49:54 +08:00
pikastech
525f08e088
fix for in dict
2022-08-02 13:52:20 +08:00
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
fd26a79fc8
rename TYPE_X to ARG_TYPE_X
2022-03-02 10:34:33 +08:00
lyon
9cf1ae46ad
restore Dict.c
2022-02-25 18:07:03 +08:00
lyon
97688e16d7
collect Stds to StdLib
2022-01-30 17:37:21 +08:00