5425 Commits

Author SHA1 Message Date
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
Gabriel Wang
db47c72fa2 add instruction extension support to VM 2023-03-07 21:47:32 +00: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
lyon
cfa3acba3b add more comments for modbus example 2023-03-03 00:24:04 +08:00
李昂
091ed03eb8
cancel code server
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-02 15:17:56 +00: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
pikastech
689deb4986 update contribute log 2023-03-02 11:10:40 +08:00
pikastech
c3475b111e fix typo 2023-03-02 11:09:01 +08:00
pikastech
34c90fd629 more comtributor log 2023-03-02 11:07:23 +08:00
pikastech
54a1589dca details for README_zh 2023-03-02 10:45:44 +08:00
pikastech
82aaf98d4c fix README 2023-03-02 10:15:32 +08:00
pikastech
c7276d1d05 fix details 2023-03-02 10:12:22 +08:00
pikastech
47da2d7c74 fix format 2023-03-02 10:10:22 +08:00
pikastech
84539746ea fix README 2023-03-02 10:08:09 +08:00
pikastech
88f39a2558 add <detauls> on readme 2023-03-02 10:05:23 +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