1760 Commits

Author SHA1 Message Date
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
5b838a7da6 fix abs() MACRO_IF 2023-04-22 19:15:51 +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
4dd7331f61 fix vm dump when run one char script: "=" 2023-04-19 17:38:38 +08:00
pikastech
270f476dec support parity, databits and stopbits for std uart 2023-04-17 21:38:43 +08:00
pikastech
ed7f63cf1d support defualt value and set timezone for time 2023-04-17 21:36:42 +08:00
pikastech
3fef8ec3f9 _thread support setup the stack_size 2023-04-17 09:42:28 +08:00
pikastech
53de20fa55 optimize stack usage for PikaVM 2023-04-16 20:53:08 +08:00
pikastech
001efd5946 add stack_usage_report generate py script 2023-04-16 20:26:23 +08:00
pikastech
0285c19abd support check if thread create succeed 2023-04-16 18:34:11 +08:00
pikastech
df7d291dbc fix event thread GIL error 2023-04-16 13:36:07 +08:00
pikastech
42c85835d0 add thread_delay for run_until 2023-04-16 10:59:15 +08:00
pikastech
5ea62ce9e0 support platform_get_tick and thread_delay for stdtask 2023-04-16 10:57:54 +08:00
pikastech
3f3c267756 support no_buff vprintf 2023-04-16 10:41:25 +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
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
Lyon
46a60612b9 Merge branch 'master' of https://gitee.com/lyon1998/pikapython 2023-04-06 11:42:16 +00:00
Renzhihan
e0dafa6a99 lcov 2023-04-06 17:28:43 +08:00
pikastech
fe3dff9b3d support obj_newTuple/List helper function 2023-03-30 16:28:42 +08:00
pikastech
d2ae781a18 fix typo 2023-03-30 11:33:13 +08:00
pikastech
1faaacafb7 add STD_in/out ctrl on soft_iic 2023-03-30 11:21:12 +08:00
pikastech
5fdf6701e0 add SOFT_IIC.c
add hal_SOFT_IIC
2023-03-30 11:13:58 +08:00
pikastech
06150d0133 fix os_split 2023-03-26 21:30:18 +08:00
pikastech
07db54e02e support assertNotIn for unittest 2023-03-26 20:49:10 +08:00
pikastech
34dedcde2d add os_path support 2023-03-26 20:43:51 +08:00
pikastech
aeef23fc3b fix align issue on unpack file 2023-03-23 16:30:26 +08:00
pikastech
da27ea4492 fix format err after code block when codegen
udpate msc
2023-03-21 13:49:33 +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
lyon
0b7e19e0a9 parser_lines2AST passed
format for parser_lines2BackendCode
2023-03-18 23:08:04 +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
ee9d1e696a auto release packages form linux port 2023-03-15 16:20:59 +08:00
pikastech
b9a0109c61 (fix) fix os on ESP32 2023-03-15 03:20:25 +00: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
58f49ba3fe fix timestamp 2023-03-15 02:12:46 +08:00
dreamcmi
4fb6ae1f37 Merge branch 'master' into add/iotcloud 2023-03-15 00:54:48 +08:00
李昂
7090d5fa3e
update port/linux/package/pikascript/unittest.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-12 11:13:33 +00:00