322 Commits

Author SHA1 Message Date
lyon
1ceb015391 fix load err when fn(pos, kw=xxx) 2022-12-21 00:26:01 +08:00
lyon
3afd92608a fix typo of getArgByIndex 2022-12-21 00:13:19 +08:00
lyon
251c450248 support x not in y syntax 2022-12-15 01:07:27 +08:00
lyon
853d5be3b5 fix leak when load kw dict to default 2022-12-10 16:30:43 +08:00
onceday
0aaf68a189 finish post test 2022-12-10 22:57:07 +08:00
onceday
9695bb1bd2 delete some test code 2022-12-03 23:42:19 +08:00
onceday
5b0d7ae950 basic functions 2022-11-24 23:28:37 +08:00
lyon
bf76bf859b use obj_setNone to init none val 2022-11-24 01:21:42 +08:00
onceday
3d773b5709 cycle never stop 2022-11-23 23:58:14 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
FlintJ
f74e2bad48 add mqtt connect/disconnect 2022-11-19 23:41:00 +08:00
lyon
db381cb9f5 fix mqtt_init.py for test, fix _del_ mem lack. 2022-11-18 23:38:49 +08:00
lyon
363238987e support fn and class def on bytecode
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
307477f033 fix get arg_num_pos
check is_keys is_vars is_default

support load default from pos arg
2022-11-15 12:22:34 +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
5adc75c088 test mqtt-lease-free 2022-11-13 14:52:39 +08:00
lyon
7d90370d4c fix parse err for kw def
fix VM typelist overflow
2022-11-12 23:18:11 +08:00
lyon
bf651c260b test websocket on linux test ok 2022-11-10 18:07:09 +08:00
pikastech
a97212a5b3 support bytes add bytes 2022-11-09 16:42:09 +08:00
lyon
46b8644aeb fix core dump when line overflow 2022-11-09 01:34:49 +08:00
lyon
d52265afef optimize speed for hint strip 2022-11-07 11:54:19 +08:00
pikastech
98863c79c3 fix core dump when print kw arg 2022-11-03 18:51:53 +08:00
lyon
df65e2def9 support RES on pikaCompiler 2022-10-24 10:14:12 +08:00
lyon
a344117bc3 fix __cleanbuff err in _do_obj_runChar 2022-10-22 11:25:13 +08:00
pikastech
8436c6623b fix '\r\n' for obj_runchar 2022-10-22 10:13:13 +08:00
pikastech
6bb5adde37 support run obj_runChar inner pikaScriptShell 2022-10-20 22:51:51 +08:00
pikastech
ffe0565638 multiy module import ok, cmodule not ok 2022-10-20 13:57:28 +08:00
pikastech
7c6267bfd9 support multi module import parse 2022-10-20 12:55:07 +08:00
pikastech
86686a99b9 binary serch when size > 16 2022-10-15 23:32:34 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
lyon
c0f1482007 optimizing methodArg
use const decleartion

use method arg as default arg_cache_size

not open arc_cache on pool_config
2022-10-14 00:59:39 +08:00
pikastech
018a3d579f optimize speed for range 2022-10-13 01:24:58 +08:00
pikastech
126a817d49 add cache for arg_alloc/free, cache for 6.56% 2022-10-08 18:06:43 +08:00
pikastech
5523710682 optimize speed 2022-10-06 14:40:09 +08:00
pikastech
ddcc2f7242 opt for args_isArgExist 2022-10-06 13:35:52 +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
1748e306d6 optimize speed for OPT 2022-10-05 21:09:13 +08:00
pikastech
e0aae36a1a reduce malloc 2022-10-05 20:36:00 +08:00
pikastech
060ac91f3d reduce alloc for stack push/pop 2022-10-05 01:04:37 +08:00
pikastech
6a9535470b support mod1 import mod2 import mod1 2022-10-02 16:29:48 +08:00
pikastech
d8698d5cac reduce ram usage of stack 2022-10-02 00:00:53 +08:00
pikastech
b21fd029ed optimize str slice, time speed recuse 95% 2022-09-29 20:41:57 +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
pikastech
74a51cd053 support hasattr(), proxy test ok 2022-09-26 10:14:01 +08:00
pikastech
459da8ab5b support '__getattribute__()'
support `__getattr__()`

disable proxy for PIKA_NANO_ENABLE

fix typo

support `__setattr__()`

proxy for cmodule is ok
2022-09-23 16:34:14 +08:00
pikastech
52995e6ab2 support list.pop()
support list.remove()

support list.insert()
2022-09-23 12:38:04 +08:00
pikastech
729ce8a497 add test for WriteRegister 2022-09-19 14:38:12 +08:00
pikastech
abb557093a fix can not invoke inner super.method() 2022-09-19 14:31:41 +08:00