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
3d7a087598
add abs() builtin
2023-04-22 18:46:45 +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
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
e9f832c517
enhance int() for int('1234', 8)
2023-03-17 14:28:10 +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
pikastech
1005ca64ef
fromat sysobj
2023-03-10 21:39:14 +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
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
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
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
6258ccebb2
add clear() builtin, fix REPL thread
2023-02-26 17:48:19 +08:00
lyon
6c6be65db6
support add and build
2023-02-22 21:59:28 +08:00
lyon
85d989028e
support bool type
2023-02-18 16:35:03 +08:00
lyon
531dced423
use pikafs_fxxx API
2023-02-12 11:12:28 +08:00
pikastech
b09cae79d3
raise when list out of index, fix 'for except brea'
2023-02-11 14:44:11 +08:00
lyon
eb519fb78e
fix ac5 warnning
2023-01-29 12:11:43 +08:00
lyon
897a7eba0b
fix str() for bytes
2023-01-26 15:58:58 +08:00
lyon
cba8f7ec44
use type(d) == <type> in json.py
2023-01-24 00:20:43 +08:00
lyon
410f0a0093
support type() for list and dict
2023-01-23 23:59:15 +08:00
lyon
065faab243
support str(type()) again
2023-01-23 23:53:40 +08:00
lyon
e50d75addb
use arg_toString to get arg<str>
2023-01-23 23:53:40 +08:00
lyon
63cc3434ee
ready to merge arg_singlePrint and _print_arg
2023-01-23 23:53:40 +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
fd910ea086
support split_str
2023-01-21 19:29:35 +08:00
李昂
59765c4ee2
add reboot()
builtin, support save bytecode
2023-01-19 17:44:22 +08:00
lyon
75ce1ba5c8
fix LLD
2022-12-24 15:03:35 +08:00
lyon
3afd92608a
fix typo of getArgByIndex
2022-12-21 00:13:19 +08:00
pikastech
7e397f6bb9
support Type Check for f.write
2022-12-02 15:03:52 +08:00
lyon
82b6f2ab39
add multi file when pre-compile test ok
2022-12-01 18:11:58 +08:00
lyon
546d5c526a
load file from py.a, loss some bytes at head
2022-12-01 16:11:25 +08:00
lyon
9718b1a482
support help('modules') for py modules
2022-11-30 00:39:01 +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
bd9bd8b864
support f.read()
2022-11-25 17:32:10 +08:00
lyon
5bb24375ae
add python layer for requests to connnect url
2022-11-22 13:44:00 +08:00
lyon
b481c1c72b
use pikaList, pikaDict, pikaTuple API
2022-11-19 19:11:34 +08:00
lyon
9d4fe8e98a
optimize speed for print() when one input
2022-11-17 12:48:10 +08:00
lyon
1755b51cd9
optimize speed for print()
2022-11-17 12:30:37 +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
db95b14950
support float('1.1')
2022-11-08 22:07:23 +08:00
lyon
8c17a7bd0d
adding LEFT_RIGHT KEY support, not ok
2022-11-08 12:39:19 +08:00