97 Commits

Author SHA1 Message Date
lyon
1755b51cd9 optimize speed for print() 2022-11-17 12:30:37 +08:00
lyon
416e8b12fc cut no used code for nano by nano_lcov 2022-11-16 21:22:31 +08:00
lyon
d8b71908f0 enhance syntax check for def 2022-11-16 13:26:32 +08:00
lyon
09643a4a3b support runByteCodeFile 2022-11-15 23:09:13 +08:00
pikastech
9418eceb9e support check pos arg num for default fn 2022-11-15 20:15:58 +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
3837c3aafd use requests.pyi
requests.get() method ok

test requests.get passed
2022-11-13 19:15:14 +08:00
lyon
adb8df45af mqtt 2022-11-13 15:19:23 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
c6bb6ba61b add mqtt_release_free api 2022-11-13 14:57:40 +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
a96e3f5e56 add test network 2022-11-10 18:07:42 +08:00
pikastech
a97212a5b3 support bytes add bytes 2022-11-09 16:42:09 +08:00
lyon
a0c00498f8 support KEY_LEFT and KEY_RIGHT 2022-11-08 23:36:50 +08:00
lyon
db95b14950 support float('1.1') 2022-11-08 22:07:23 +08:00
pikastech
b38133b44f fix obj_setInt for <str> arg error 2022-11-08 15:58:39 +08:00
lyon
9294c45feb support sendSignalAwaitResult 2022-11-05 13:20:23 +08:00
lyon
85ece20f4c support cq for evnet, get res from event 2022-11-05 12:34:18 +08:00
lyon
4ed6061733 return None when return Null from cmodule
not raise when cjson parse faild
2022-11-04 14:23:54 +08:00
pikastech
98863c79c3 fix core dump when print kw arg 2022-11-03 18:51:53 +08:00
lyon
feeca8f135 run event when vm is idle 2022-11-02 12:25:02 +08:00
pikastech
7f1d1a01f2 adding purec test 2022-10-28 19:19:31 +08:00
pikastech
766c9bf7c9 add test_purec.h to support run unittest on purec 2022-10-28 18:39:50 +08:00
pikastech
0273c638f1 add lto to cmake, not enable 2022-10-28 16:02:36 +08:00
lyon
51f3da5961 rename tokes to tokenstream 2022-10-27 22:23:39 +08:00
lyon
79361f493b fix 0x7F,'p','y','o' check err when backspace + p 2022-10-27 12:53:23 +08:00
lyon
123a110080 cut for pikanano 2022-10-26 20:50:37 +08:00
lyon
cd5f239ce7 scan for each vm point for exit issue 2022-10-26 19:03:24 +08:00
lyon
ad930aca6f add test for exit at any time 2022-10-26 17:16:50 +08:00
lyon
9283968a1c add test by exit innter vm hock 2022-10-26 16:57:29 +08:00
lyon
157a3475c1 add exit_tests 2022-10-26 11:37:17 +08:00
lyon
bcf4c637a7 add test for REPL run file 2022-10-25 19:49:45 +08:00
lyon
1bf5663ecb use new backspace algream 2022-10-25 16:38:16 +08:00
lyon
b7c5537813 add backspacke test for REPL 2022-10-25 15:55:45 +08:00
lyon
5180f2d807 fix cfg.getchar name conflict 2022-10-25 14:32:43 +08:00
lyon
581281ff8e add stdtask test on REPL 2022-10-25 13:54:21 +08:00
lyon
1964761ef8 add stdtask.py 2022-10-25 13:47:15 +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
lyon
0705e4d9f6 add fatfs
add pika_posixfs
2022-10-22 20:03:25 +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
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
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