5461 Commits

Author SHA1 Message Date
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
pikastech
42ce9c171d fix readme 2023-03-16 10:06:12 +08:00
pikastech
919188ad4d update comtributor 2023-03-16 10:03:21 +08:00
lyon
0244494dc7 fix README, and restore wrong commit 2023-03-16 09:34:10 +08:00
lyon
c58b0ccd0c update msc 2023-03-15 22:24:26 +08:00
lyon
a383bbaa11 enable assert print inner try block 2023-03-15 22:23:01 +08:00
lyon
83d5bd8379 support type hint `data: dict[str, DataItem] = {} 2023-03-15 22:17:26 +08:00
pikastech
fc35543e16 release v1.12.1 v1.12.1 2023-03-15 16:21:24 +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
a367b65e69 fix pika_platform_get_tick() in linux port 2023-03-15 02:16:11 +08: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
Lyon
ca015a5d1c Merge branch 'master' of https://gitee.com/lyon1998/pikascript 2023-03-13 16:46:03 +08:00
Lyon
1766eb437b Merge branch 'master' of https://github.com/pikastech/pikascript 2023-03-13 16:45:16 +08:00
Lyon
327e09b377 update project file for STM32F103ZE 2023-03-13 16:44:55 +08:00
李昂
7090d5fa3e
update port/linux/package/pikascript/unittest.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-12 11:13:33 +00:00
lyon
8d3795b179 fix complex default parse 2023-03-12 12:14:00 +08:00
李昂
2f17a3622a
update tools/pikaPackageManager/release.txt.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-12 02:31:25 +00:00
李昂
77f7f675bd remove old package when run pikapackage.exe 2023-03-12 10:25:19 +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
pikastech
1005ca64ef fromat sysobj 2023-03-10 21:39:14 +08:00
lyon
814db1ad55 movd L Regestor to Locals
fix mem lack on for_return
2023-03-10 20:50:23 +08:00
李昂
44387e18fd
fix obj_dump
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-10 04:25:41 +00:00
李昂
20191b02fc
update src/PikaObj.c.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-10 04:22:24 +00:00
李昂
efa05822a4
fix freeList overflow
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-10 04:01:13 +00:00
李昂
f263499c93
add USING_PERF_COUNTER macro
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-09 16:53:53 +00: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
pikastech
ca65efd1fa fix args_foreach handler
add PikaGC class

add gc.onMarkObj

add GC DUMP

support gcdump()

improve gcdump
2023-03-09 16:52:57 +08:00
pikastech
e58095c2eb udpate valgrind 2023-03-09 12:59:43 +08:00
Gabriel Wang
ce766b72d5 fix shell buffer overflow issue 2023-03-09 11:24:37 +08:00
sjy
0b33b1263a add gtest cpp file: packtool-test.cpp
Signed-off-by: sjy <shanjiayang_06@126.com>
2023-03-09 11:23:33 +08:00
lyon
cae2955697 skip pack test 2023-03-09 11:23:33 +08:00
lyon
8d565f4af3 move test file 2023-03-09 11:23:33 +08:00
lyon
01be7b7ad7 try to add runbytecodereturn
switch to runbytecodereturn

gc test pass except pikaui

skip pikaui test, local root not work
2023-03-09 11:23:33 +08:00
sjy
0159f7b372
add gtest cpp file: packtool-test.cpp
Signed-off-by: sjy <shanjiayang_06@126.com>
2023-03-08 15:16:05 +00:00
sjy
287f151b0b about pikafs,support pack given files and unpack a *.pack file to the given path 2023-03-08 22:44:09 +08:00
lyon
1441c6dd61 fix new_pikaobj api 2023-03-08 21:14:19 +08:00
lyon
8ad1427f51 fix parse err, open assert on rust-msc-
add test about while data[:]

add test for list_list slice

release cross build
2023-03-08 20:54:42 +08:00
lyon
f9ef744bf5 fix benchmark url 2023-03-08 10:14:56 +08:00
lyon
ff6dbe3aaa update version 2023-03-08 09:54:14 +08:00
lyon
ecfb8cb62f fix CI err 2023-03-08 09:53:39 +08:00
pikastech
7f5edaf090 add objCnt
ready to check where enable the mark_sweep

auto gc with threshold failed, add some assert

more assert about obj alive, dict mark not correct

add pikaGC_try, but cannot run at any time

markSweep crashed on keyword

save gcRoot for obj to debug

add debug point

add kernal_debug config to keep more debug info

use @res_<opt> to mark operation

found self reference on __iter__()

can not fix gc err around iter

remove lock, only keep the self lock

more obj info for debug

only pikaui not pass

only pikaui not pass
2023-03-08 09:35:27 +08:00
Lyon
f0fecebc78
Merge pull request #293 from GorgonMeducer/refactory-vm
add instruction extension support to VM
2023-03-08 09:29:38 +08:00