lyon
b481c1c72b
use pikaList, pikaDict, pikaTuple API
2022-11-19 19:11:34 +08:00
pikastech
52995e6ab2
support list.pop()
...
support list.remove()
support list.insert()
2022-09-23 12:38:04 +08:00
pikastech
45c70ffe79
support __contains__ for dict
2022-09-05 15:39:15 +08:00
pikastech
b298e152e5
support __contain__
...
support __contains__ for list
2022-09-05 15:21:49 +08:00
pikastech
7e15e5e202
support __add__()
for list
2022-08-16 17:40:11 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00
pikastech
77e291101f
improve ABSTRACT_METHOD error info.
2022-08-16 11:05:19 +08:00
pikastech
e0eee73209
support dir()
builtin, fix str disp in list...
2022-08-10 11:49:54 +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
李昂
e7e501ab73
!56 Support tuple literal
...
* Merge branch 'master' into tuple
* sue SyntaxItemList
* cut the parser
* update preCompiler
* not use tiny_obj in stdlib
* use BUILTIN_STRUCT_ENABLE for list, dict, tuple
* add PikaStdData.Tuple()
* !51 Support bind .pyi from other *.py expect main.py
* fix overflow issue
* fix overflow issue and simplification code
* update PikaCV_Image.c.
2022-07-14 08:36:02 +00:00
pikastech
8f9950d4ae
support decode() and encode()
...
for PikaStdData.String() and PikaStdData.ByteArray()
use example/BuiltIn/encode_decode.py
fix CI
2022-07-14 12:02:38 +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
f30dd75da1
fix mem_lack for StdData_List
2022-06-16 01:18:11 +08:00
pikastech
c02ffb51ab
fix double __init__ when 'import as'
2022-06-15 14:49:17 +08:00
李昂
5349a56656
!26 run the __init__ when init the meta obj
...
* run __init__ when init the meta_obj
* clean dead code
2022-06-15 06:20:34 +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
lyon
54ad82d5a8
format
2022-05-25 14:05:18 +08: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
9b1e6a323a
list_iter not ok
2022-04-26 10:06:15 +08:00
lyon
89d23c2d3e
ref error in list.iter
2022-04-26 10:01:40 +08:00
lyon
88c0fd481e
add _refcnt when get refArg from object
2022-04-25 19:19:44 +08:00
lyon
e03af6c5a7
rename __POINTER_ to REF_OBJECT
2022-04-25 14:43:44 +08:00
lyon1998
d5c4359a2a
update PikaStdData_list, add new line
2022-03-25 21:32:01 +08:00
lyon1998
dae8f38d23
add ByteArray to StdData
2022-03-25 21:18:54 +08:00
lyon
a966d43ad0
update PikaStdLib
2022-03-02 15:27:19 +08:00
lyon
97688e16d7
collect Stds to StdLib
2022-01-30 17:37:21 +08:00
lyon
0b849c48bc
collect Std compoment all to PikaStdLib
2022-01-30 16:46:33 +08:00