318 Commits

Author SHA1 Message Date
pikastech
bf129bb398 fix parse err for 'test'.split()[0]
add test
2023-05-05 21:47:52 +08:00
pikastech
4e9816f9a1 support max(), min() builtin 2023-05-02 23:54:11 +08:00
lyon
31bcc66a75 support REPL_HISTORY 2023-05-02 23:54:10 +08:00
lyon
c5751ae48f supporting REPL key_up 2023-05-01 00:27:33 +08:00
lyon
9112661ed3 add parser issue 2023-04-30 21:48:26 +08:00
lyon
72ec29fbe0 support XXX is not YYY 2023-04-30 21:40:27 +08:00
lyon
f5b0bf5b5c support tuple,list,dict as default arg 2023-04-29 18:38:02 +08:00
pikastech
95e19ac08a try to support tuple as default arg, not pass 2023-04-29 12:21:29 +08:00
pikastech
44c23ee10f fix function call err with pos and default args 2023-04-28 11:19:44 +08:00
pikastech
09dfed3f20 support single_item tuple like (1,) or ('test',)
fix format
2023-04-24 22:30:37 +08:00
pikastech
11080aa513 add circlequeue.py 2023-04-23 20:55:20 +08:00
pikastech
3d7a087598 add abs() builtin 2023-04-22 18:46:45 +08:00
pikastech
c487912fc5 cancel GIL yiled between bc to avoid data race 2023-04-22 13:46:59 +08:00
pikastech
ce0999ec95 add test for modbus parse error 2023-04-22 13:46:59 +08:00
lyon
6d3d8b3658 support delay for eventloop 2023-04-21 01:06:02 +08:00
pikastech
70aabb81ad fix thread and eventloop for onec args 2023-04-20 19:26:04 +08:00
pikastech
9b140e90a3 add eventloop module, support get_tick for _time 2023-04-20 17:06:16 +08:00
pikastech
a468012f2f fix __setattr__ mem leak when @value is not reg 2023-04-19 22:24:10 +08:00
pikastech
9094c13a57 add proxy2 test 2023-04-19 21:18:17 +08:00
pikastech
4dd7331f61 fix vm dump when run one char script: "=" 2023-04-19 17:38:38 +08:00
pikastech
eed2e11a20 fix typo 2023-04-15 11:32:19 +08:00
pikastech
ea4d42bbea fix thread mem error when args is void 2023-04-15 11:20:11 +08:00
pikastech
c89f873fab optimize for pure string on printf
support unlimited pika_printf impl
2023-04-14 19:42:26 +08:00
pikastech
afc99c7b35 test issue_start_dict.py 2023-04-14 15:15:48 +08:00
pikastech
03c3a25bbc fix mem err when pikafs_open_pack() 2023-04-08 21:36:41 +08:00
lyon
a0d7defa9b fix kernal crash on some invalid syntax 2023-04-07 15:51:54 +08:00
pikastech
e2a526944e fix CI on os.path 2023-03-28 09:41:52 +08:00
pikastech
7aaeffeeb0 add cpp support for kernal .h 2023-03-28 09:37:30 +08:00
pikastech
06150d0133 fix os_split 2023-03-26 21:30:18 +08:00
pikastech
34dedcde2d add os_path support 2023-03-26 20:43:51 +08:00
pikastech
938cf0efdc fix string size for packread 2023-03-23 16:56:25 +08:00
pikastech
49fc3ceb0a fix num of pack_files, support string and binary 2023-03-23 16:47:22 +08:00
pikastech
aeef23fc3b fix align issue on unpack file 2023-03-23 16:30:26 +08:00
pikastech
b2db11e608 fix \n for docgen 2023-03-20 10:37:17 +08:00
pikastech
9633b7a3cc fix indent for docgen 2023-03-20 09:59:50 +08:00
pikastech
d8405c4f1a add doc backend
support file2doc, can draw function

use HELPER_MACRO in parser_test

fixing dostring parse

fix docstring

generate md with class and function ok

succeed to generate docstring to markdown

generate API doc ok

support --docgen and --docgen -o arg for compiler

update msc
2023-03-19 21:10:38 +08:00
pikastech
62d1d40618 remove parse_line test
move block inner parser

formatting line2Ast
2023-03-18 18:05:10 +08:00
pikastech
f39ad4077b format parser
clear the parse-test

fix time sleep on linux from `uint32_t` to `int64_t`

using parser object on pikaparer
2023-03-18 16:49:37 +08:00
pikastech
e9f832c517 enhance int() for int('1234', 8) 2023-03-17 14:28:10 +08:00
lyon
83d5bd8379 support type hint `data: dict[str, DataItem] = {} 2023-03-15 22:17:26 +08:00
pikastech
a3b402ae36 add os module
fix color for GC DUMP

add os module and test

support ESP32
2023-03-15 03:20:25 +00:00
dreamcmi
4fb6ae1f37 Merge branch 'master' into add/iotcloud 2023-03-15 00:54:48 +08:00
lyon
8d3795b179 fix complex default parse 2023-03-12 12:14:00 +08:00
lyon
02de084767 fix README details
fix multiline comment parse

add csv.py

parse csv no clashed
2023-03-12 00:24:56 +08:00
lyon
ec8405d304 support str.join()
fix VM for nano mode
2023-03-11 22:36:12 +08:00
lyon
7889c4028c (vm) raise err when slice of get out of range 2023-03-11 13:14:54 +08:00
lyon
7e8241ab15 (fix) fix multi comment err on one line 2023-03-11 00:18:12 +08:00
lyon
814db1ad55 movd L Regestor to Locals
fix mem lack on for_return
2023-03-10 20:50:23 +08:00
pikastech
28fc4b9403 mark_sweep test passed on pikaui 2023-03-09 20:45:55 +08:00
pikastech
2a633d0a63 skip pikaui test 2023-03-09 16:53:21 +08:00