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
lyon
7889c4028c
(vm) raise err when slice of get out of range
2023-03-11 13:14:54 +08:00
lyon
814db1ad55
movd L Regestor to Locals
...
fix mem lack on for_return
2023-03-10 20:50:23 +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
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
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
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
ae2ec0a7cd
fix 'self' for get method from getattr
2023-03-01 19:28:16 +08:00
lyon
0d71c8eed3
fix run native constructor
2023-02-25 12:15:38 +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
b469aaa4ec
fix ci
2023-02-11 12:02:55 +08:00
lyon
994bb3bdc5
add weakref
...
add PikaUI test
test PikauI_core passed
save host_obj on methodArg
support save host_obj for method
2023-02-11 00:58:58 +08:00
lyon
612a8aa33d
try to fix chain err
2023-02-09 17:16:40 +08:00
lyon
72cd354a8d
fix run_file
2023-02-09 15:48:52 +08:00
lyon
73e056141b
fix mem leak when exit thread
...
support tuple args for _thread.start_new_thread()
update _thread
2023-02-01 21:35:49 +08:00
lyon
9b82685e4d
check faild on network
...
fix pos to kw when no enough pos
ifconfig test ok
2023-01-25 14:13:09 +08:00
lyon
68fac66530
fix fn and arg scope, support type() for basic arg
2023-01-23 23:53:40 +08:00
lyon
e2a9489a87
fix tim no found
2023-01-22 23:25:20 +08:00
lyon
d77e7f3f2d
add filter for dir()
2023-01-22 23:16:38 +08:00
lyon
cfcf88d6bd
fix * / compose
2023-01-06 15:36:39 +08:00
lyon
e524c2b6ad
fix fn_pos_kw_issus2
2022-12-21 13:08:42 +08:00
lyon
1ceb015391
fix load err when fn(pos, kw=xxx)
2022-12-21 00:26:01 +08:00
lyon
3afd92608a
fix typo of getArgByIndex
2022-12-21 00:13:19 +08:00
lyon
f6b97e1f7a
add test for def not in
2022-12-17 15:47:08 +08:00
lyon
251c450248
support x not in y
syntax
2022-12-15 01:07:27 +08:00
lyon
d78aec86dd
fix mem leak caused by kw pars refcnt err
2022-12-10 17:10:15 +08:00
lyon
853d5be3b5
fix leak when load kw dict to default
2022-12-10 16:30:43 +08:00
lyon
48af01fc58
support help('modules')
2022-11-30 01:00:44 +08:00
lyon
a3dd8a674d
support **kw unpack
2022-11-29 21:01:47 +08:00
lyon
c8ab4ce3cb
adding format
...
fix star with pos
2022-11-29 20:05:13 +08:00
pikastech
61618834f0
support unpack *var
2022-11-29 16:50:49 +08:00
pikastech
a09d32d6ac
format load_call_arg
...
use f struct
support stack check arg
2022-11-29 16:06:18 +08:00
pikastech
9d9d463120
fix kw to pos
2022-11-28 17:12:50 +08:00
pikastech
a3a444ce4f
support kw to pos
2022-11-28 16:45:56 +08:00
lyon
e89c585f46
update kernal, fix CI
2022-11-22 18:01:54 +08:00
lyon
5bb24375ae
add python layer for requests to connnect url
2022-11-22 13:44:00 +08:00
lyon
416e8b12fc
cut no used code for nano by nano_lcov
2022-11-16 21:22:31 +08:00
lyon
09643a4a3b
support runByteCodeFile
2022-11-15 23:09:13 +08:00
pikastech
9418eceb9e
support check pos arg num for default fn
2022-11-15 20:15:58 +08:00
lyon
363238987e
support fn and class def on bytecode
...
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
307477f033
fix get arg_num_pos
...
check is_keys is_vars is_default
support load default from pos arg
2022-11-15 12:22:34 +08:00
pikastech
6d61bc07cc
support print None
...
optimizing runbytecode
use _cache_bcf
arrange the run_bytecode and cache
more args for _do_pikaVM_runBytecode
support print(None)
2022-11-14 16:11:21 +08:00
lyon
7d90370d4c
fix parse err for kw def
...
fix VM typelist overflow
2022-11-12 23:18:11 +08:00
pikastech
766c9bf7c9
add test_purec.h to support run unittest on purec
2022-10-28 18:39:50 +08:00
lyon
123a110080
cut for pikanano
2022-10-26 20:50:37 +08:00