230 Commits

Author SHA1 Message Date
lyon
eb519fb78e fix ac5 warnning 2023-01-29 12:11:43 +08:00
lyon
897a7eba0b fix str() for bytes 2023-01-26 15:58:58 +08:00
lyon
cba8f7ec44 use type(d) == <type> in json.py 2023-01-24 00:20:43 +08:00
lyon
410f0a0093 support type() for list and dict 2023-01-23 23:59:15 +08:00
lyon
065faab243 support str(type()) again 2023-01-23 23:53:40 +08:00
lyon
e50d75addb use arg_toString to get arg<str> 2023-01-23 23:53:40 +08:00
lyon
63cc3434ee ready to merge arg_singlePrint and _print_arg 2023-01-23 23:53:40 +08:00
lyon
68fac66530 fix fn and arg scope, support type() for basic arg 2023-01-23 23:53:40 +08:00
lyon
e2a9489a87 fix tim no found 2023-01-22 23:25:20 +08:00
lyon
d77e7f3f2d add filter for dir() 2023-01-22 23:16:38 +08:00
lyon
fd910ea086 support split_str 2023-01-21 19:29:35 +08:00
李昂
59765c4ee2 add reboot() builtin, support save bytecode 2023-01-19 17:44:22 +08:00
lyon
75ce1ba5c8 fix LLD 2022-12-24 15:03:35 +08:00
lyon
3afd92608a fix typo of getArgByIndex 2022-12-21 00:13:19 +08:00
pikastech
7e397f6bb9 support Type Check for f.write 2022-12-02 15:03:52 +08:00
lyon
82b6f2ab39 add multi file when pre-compile test ok 2022-12-01 18:11:58 +08:00
lyon
546d5c526a load file from py.a, loss some bytes at head 2022-12-01 16:11:25 +08:00
lyon
9718b1a482 support help('modules') for py modules 2022-11-30 00:39:01 +08:00
lyon
c8ab4ce3cb adding format
fix star with pos
2022-11-29 20:05:13 +08:00
pikastech
61618834f0 support unpack *var 2022-11-29 16:50:49 +08:00
pikastech
bd9bd8b864 support f.read() 2022-11-25 17:32:10 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
lyon
b481c1c72b use pikaList, pikaDict, pikaTuple API 2022-11-19 19:11:34 +08:00
lyon
9d4fe8e98a optimize speed for print() when one input 2022-11-17 12:48:10 +08:00
lyon
1755b51cd9 optimize speed for print() 2022-11-17 12:30:37 +08:00
pikastech
6d61bc07cc support print None
optimizing runbytecode

use _cache_bcf

arrange the run_bytecode and cache

more args for _do_pikaVM_runBytecode

support print(None)
2022-11-14 16:11:21 +08:00
lyon
db95b14950 support float('1.1') 2022-11-08 22:07:23 +08:00
lyon
8c17a7bd0d adding LEFT_RIGHT KEY support, not ok 2022-11-08 12:39:19 +08:00
lyon
c5f2d55a1d fix arg_getBytesSize in FILEIO.write 2022-11-04 13:34:34 +08:00
pikastech
98863c79c3 fix core dump when print kw arg 2022-11-03 18:51:53 +08:00
lyon
5180f2d807 fix cfg.getchar name conflict 2022-10-25 14:32:43 +08:00
lyon
d0df040067 support unittest for REPL, check overflow for REPL 2022-10-25 11:52:42 +08:00
lyon
df65e2def9 support RES on pikaCompiler 2022-10-24 10:14:12 +08:00
lyon
ed060f0c24 use u32 size value inner *.py.o 2022-10-23 18:57:00 +08:00
pikastech
5fa138c9c1 fix input 2022-10-21 17:14:06 +08:00
pikastech
6bb5adde37 support run obj_runChar inner pikaScriptShell 2022-10-20 22:51:51 +08:00
pikastech
83afef1906 fix err when #define __platform_printf to printf 2022-10-19 13:16:50 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
pikastech
018a3d579f optimize speed for range 2022-10-13 01:24:58 +08:00
pikastech
7582a37a73 support input() builtin 2022-10-09 19:46:05 +08:00
pikastech
45c3edcfa1 add test for UnitTest.py
add volatile for precompiler

update prec
2022-10-08 19:23:32 +08:00
pikastech
f5efb11a75 optimize speed for string funs
optimize str sppeed

add prof.sh

not -pg in default
2022-10-06 12:44:40 +08:00
pikastech
603d09febd optimize speed for strEqu 2022-10-05 22:29:22 +08:00
pikastech
9eb469e521 support eval() 2022-10-01 14:03:57 +08:00
pikastech
b21fd029ed optimize str slice, time speed recuse 95% 2022-09-29 20:41:57 +08:00
pikastech
71d7298057 support string.strip(ch) 2022-09-29 18:47:03 +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
fd4fb54dc7 fix ref err in function local context
update date
2022-09-28 10:57:19 +08:00
pikastech
efd9abbf17 add mem check
add big_dict_update test
2022-09-27 21:30:30 +08:00
pikastech
76d03f3581 fix @PIKA_C_MACRO_IF
support 'hasattr' 'getattr' for c module
2022-09-26 11:39:33 +08:00