15 Commits

Author SHA1 Message Date
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
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
李昂
45a07c5773 !58 Support read() builtin
* support read(-1)
* add example
2022-07-15 02:06:23 +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
ec3b86fee8 fix CI 2022-07-14 11:05:21 +08:00
pikastech
8889671586 push binascii to package 2022-07-14 10:59:51 +08:00
李昂
76db2494a5 !46 try to support [][], not ok yeat
* fix typo in test
* Merge branch 'master' into slice
* adding slice to parser from suger
2022-07-11 03:14:14 +00:00
lyon
41b6409be3 support b2a_hex() for PikaStdData.Utils 2022-07-06 16:20:12 +08:00
李昂
4a943b479c !41 Support chain invoke like < String('test').split() >
* support chain invoke ok
* add test for S(S.replace()).replace()
* parse to RUN .split
* try to support chain invoke, not ok
* can devide a chain
2022-07-05 06:23:49 +00:00
pikastech
1fb06d621a add test for list inner dict 2022-06-30 13:18:59 +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
56621882f9 fix STNTEX LEVEL in test 2022-06-23 18:01:18 +08:00
pikastech
ff16099da5 test iter() for keys is ok 2022-06-23 17:46:50 +08:00