1829 Commits

Author SHA1 Message Date
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
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
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
Gabriel Wang
db47c72fa2 add instruction extension support to VM 2023-03-07 21:47:32 +00:00
shanjiayang
f62d7b0261 about pikafs,support pack given files and unpack a *.pack file to the given path 2023-03-07 23:28:54 +08:00
pikastech
cbca98afcc update version date 2023-03-06 11:11:17 +08:00
pikastech
1a691f60d4 fix name 2023-03-06 11:10:13 +08:00
lyon
9d4aa3c38c try to fix gc about __pikaMain
fix format

can not markSweep after deinit root

support markRoot if not root

add clang-format

fix path

enable compile-commonds on to support clangd

set markSweep not default

use no_gc object for function frame

only gc for tinyobj, not pikaobj

restore add gc chain when init pikaObj

add clang-format in docker

set for default formatter to clang-format

all Object is GC_ROOT on create

only enable mark sweep to collect after OUT

markSweep after deinit __pikaMain

more mark sweep collect
2023-03-06 10:57:08 +08:00
lyon
38388625ca support mark-sweep gc
change project name and url on kernal sources

rename global Value

format name

use g_PikaObjState

add gc chain

add gc_mark()

add printCanFree

add sub locals init

try use mark-sweep to solve circle-ref

use mark sweep to collect circle ref succeed

import mark-sweep GC

config_default

update
2023-03-05 12:57:27 +08:00
pikastech
3f1ebc12eb check pos arguments for fun with pos and vars 2023-03-02 18:43:25 +08:00
pikastech
1d8e1cfb79 add EVENT_THREAD_ENABLE config 2023-03-02 18:08:07 +08:00
lyon
c01775b39a add comment for modbus.py, from AI 2023-03-02 00:35:14 +08:00
lyon
57a04ca87e fix built-in function print 2023-03-01 22:15:22 +08:00
lyon
f152db319c support fullfealure of type() 2023-03-01 22:03:51 +08:00
lyon
cc6fd6605b ready to intruce mark-sweep GC 2023-03-01 21:23:33 +08:00
lyon
ae2ec0a7cd fix 'self' for get method from getattr 2023-03-01 19:28:16 +08:00
pikastech
cb30579c08 update thread, fix parse err on 'not in or' 2023-03-01 15:46:22 +08:00
pikastech
fc5e21140b fix ci, fix wars 2023-02-27 19:47:46 +08:00
pikastech
6258ccebb2 add clear() builtin, fix REPL thread 2023-02-26 17:48:19 +08:00
pikastech
6d4b7a3eb7 enhance event ant thread
enhance _thread start
2023-02-26 17:04:58 +08:00
lyon
546daaabe0 logout syntex err line
fix parse err on complex list
2023-02-25 16:43:41 +08:00
lyon
b4f563cfe3 support user compotnents 2023-02-25 16:01:54 +08:00
lyon
0d71c8eed3 fix run native constructor 2023-02-25 12:15:38 +08:00
pikastech
772d990cfa limit max event pickup 2023-02-24 19:20:20 +08:00
pikastech
265b19f305 add YILED_PERIOD 2023-02-24 15:58:21 +08:00
lyon
21993122a3 fix weakref
add comment
2023-02-23 21:45:20 +08:00
lyon
93f22cb39e auto scan backend for PikaUI
cancel PikaUI_core
2023-02-22 23:08:34 +08:00
lyon
6c6be65db6 support add and build 2023-02-22 21:59:28 +08:00
pikastech
1bb565a3bd update pakcages 2023-02-18 20:35:53 +08:00
lyon
2aafbbdc84 support type(bool) 2023-02-18 16:50:24 +08:00
lyon
85d989028e support bool type 2023-02-18 16:35:03 +08:00
lyon
747b022e3a more comment on pikaCompiler 2023-02-16 21:59:40 +08:00
lyon
de571a2662 add while_try_while
fix while_try_while vm err
2023-02-15 12:29:47 +08:00
lyon
dfe17ff3b9 fix splitCollect and type hint inner default 2023-02-14 20:53:27 +08:00
lyon
165cc7d041 fix thread and socket on freertos
use pikaMalloc/Free inner platform_thread()

socket multithread test passed on linux

update

improve fast_test.sh
2023-02-14 19:37:30 +08:00
lyon
dacf1584e4 fix cross build 2023-02-14 11:37:28 +08:00
lyon
4fb1fd3ed4 fix _thread on freertos|esp32c3
fix Nano mode
2023-02-13 22:24:30 +08:00
lyon
6898f52a71 add GIL for socket 2023-02-13 19:54:16 +08:00
pikastech
fecc3ca6ae rename *.cfg to *.h 2023-02-13 16:04:36 +08:00
pikastech
1265906952 format shell_filter
set sh_filter as default, add test caces
2023-02-13 15:57:31 +08:00
lyon
4f12ac1785 add PIKA_SHELL_FILTER enable on test_default 2023-02-13 10:58:41 +08:00
Lyon
d61767d09e
Merge pull request #288 from GorgonMeducer/shell-filter-impl
implement shell filter
2023-02-13 08:08:12 +08:00
Gabriel Wang
f225d0e8e8 minor fix 2023-02-12 19:33:56 +00:00
Gabriel Wang
bc0e21afc3 add shell filter 2023-02-12 19:25:53 +00:00
Gabriel Wang
441d82844a add byte queue 2023-02-12 14:11:20 +00:00