2796 Commits

Author SHA1 Message Date
blueloveTH
a59592b799 use new vector impl 2024-06-01 18:18:38 +08:00
blueloveTH
ac82f6f33f some refactor 2024-06-01 14:27:26 +08:00
blueloveTH
2616c8378b some fix 2024-06-01 14:04:20 +08:00
blueloveTH
6ec4353aef some fix 2024-06-01 13:42:50 +08:00
blueloveTH
f50bbe5606 some fix 2024-06-01 13:05:00 +08:00
blueloveTH
a73685553d some fix 2024-06-01 13:02:17 +08:00
blueloveTH
eb7d63edd2 some fix 2024-06-01 12:59:14 +08:00
blueloveTH
58cd2eb78c activate CI 2024-06-01 12:54:45 +08:00
blueloveTH
1e365ca72c Squashed commit of the following:
commit 7e52f767ca130a49abb90ec922d74d2f5e9be078
Author: blueloveTH <blueloveTH@foxmail.com>
Date:   Sat Jun 1 12:49:46 2024 +0800

    some optimize

commit 3e2ad5b1fbad4367c80ea1325d1aa379282c10c4
Author: blueloveTH <blueloveTH@foxmail.com>
Date:   Sat Jun 1 12:29:53 2024 +0800

    some fix

commit bc0e530c72896a23cb6616ff4197ac36913389a4
Author: blueloveTH <blueloveTH@foxmail.com>
Date:   Sat Jun 1 00:00:47 2024 +0800

    some fix

commit f17ddcf8299c5d6803085cd3263181f44284f31b
Author: blueloveTH <blueloveTH@foxmail.com>
Date:   Fri May 31 23:56:15 2024 +0800

    some fix

commit cc63926c8bb89df2d99d8c92c2e18bd5a0180a2c
Author: blueloveTH <blueloveTH@foxmail.com>
Date:   Fri May 31 23:44:09 2024 +0800

    some fix

commit 3d3fb042651579cbdbcf3255398276ebb7b81e58
Author: blueloveTH <blueloveth@foxmail.com>
Date:   Fri May 31 17:28:13 2024 +0800

    deprecate `PK_OBJ_MARK`

commit 3df5f1cf128f157fb3a7aac2ceeeb47c55f5bb3b
Author: blueloveTH <blueloveth@foxmail.com>
Date:   Fri May 31 17:18:34 2024 +0800

    init
2024-06-01 12:50:38 +08:00
blueloveTH
17de5b3024 remove PK_UNREACHABLE() 2024-05-31 15:58:01 +08:00
ykiko
23bacf8b4d
add pybind11. (#254) 2024-05-30 23:14:31 +08:00
Janos
f9ed436d03 Fixes #248: sys.stderr.write() does not use vm->stderr_write (#249)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2024-05-30 00:17:59 +08:00
ykiko
5d73dfc55d
add [[noreturn]] for *Error functions to disable warning. (#247)
* add noreturn for *Error to disable warning.

* fix.
2024-05-29 21:23:39 +08:00
blueloveTH
249aac934b remove deprecated 2024-05-28 14:57:18 +08:00
blueloveTH
fec9a3e621 Update common.h 2024-05-28 13:44:51 +08:00
Vadim Grigoruk
afc0b8c58c wasm build fix (#245)
Thanks for your fix.
2024-05-27 13:33:45 +08:00
blueloveTH
bdece9e80c skip kwargc check on -1 2024-05-26 18:49:42 +08:00
blueloveTH
57b4595c11 refactor frameobject 2024-05-26 18:28:19 +08:00
blueloveTH
51170e4a47 fix a bug 2024-05-26 16:47:34 +08:00
blueloveTH
c157d85de6 Update vm.h 2024-05-26 16:20:49 +08:00
blueloveTH
c680da3154 fix bugs 2024-05-26 16:17:18 +08:00
blueloveTH
360efc0805 fix exception 2024-05-26 14:34:54 +08:00
blueloveTH
0d4bab9098 Update pocketpy.cpp 2024-05-26 13:47:10 +08:00
blueloveTH
bb94e595d1 more op__iter__ 2024-05-26 13:42:57 +08:00
blueloveTH
8f34024833 bug fix 2024-05-26 13:33:23 +08:00
blueloveTH
1de9c1f639 support stack object 2024-05-26 12:21:27 +08:00
blueloveTH
2d77622476 make array iter smaller 2024-05-26 02:14:39 +08:00
blueloveTH
4c15f278d0 add _get and _set 2024-05-26 01:53:21 +08:00
blueloveTH
70b536ea1b add more tests 2024-05-26 01:38:56 +08:00
blueloveTH
370e3e5e11 fix inplace op 2024-05-25 20:27:20 +08:00
blueloveTH
0da5644db5 Update obj.h 2024-05-25 15:06:40 +08:00
blueloveTH
d2410e12b1 add vec test v2.0 2024-05-25 14:51:15 +08:00
blueloveTH
23b3c07c51 Create vec.py 2024-05-25 14:46:42 +08:00
blueloveTH
e30a060344 Update array2d.cpp 2024-05-25 14:37:56 +08:00
blueloveTH
9a5ff3440a make range faster 2024-05-25 14:35:56 +08:00
blueloveTH
52d7133e1b cache nlocals 2024-05-25 00:31:12 +08:00
blueloveTH
1132a6ecff Update vm.cpp 2024-05-25 00:12:54 +08:00
blueloveTH
70f2a92b9f use memset 2024-05-25 00:10:00 +08:00
blueloveTH
30d968dea5 Update frame.h 2024-05-24 23:33:54 +08:00
blueloveTH
098dab4707 Revert "some fix"
This reverts commit 1b2fae94ebff1aac5bc300eb512f620d0105fc94.
2024-05-24 23:21:06 +08:00
blueloveTH
1b2fae94eb some fix 2024-05-24 23:18:36 +08:00
blueloveTH
6099e62314 change PY_NULL into nullptr 2024-05-24 23:16:29 +08:00
blueloveTH
617ff4fc77 some fix 2024-05-24 23:08:37 +08:00
blueloveTH
698566a8a7 remove co_codes 2024-05-24 22:09:08 +08:00
blueloveTH
8677538a29 Create loop_0_if.py 2024-05-24 22:06:27 +08:00
blueloveTH
ea8dd3f0e8 use relative jump 2024-05-24 22:01:48 +08:00
blueloveTH
2868a955bb some fix 2024-05-20 18:20:41 +08:00
blueloveTH
ff52c52349 merge iblock 2024-05-20 12:47:20 +08:00
blueloveTH
4c2f475671 Update retype.yml 2024-05-20 12:04:15 +08:00
blueloveTH
3edbe7cdf5 some fix 2024-05-20 11:14:09 +08:00