2151 Commits

Author SHA1 Message Date
blueloveTH
50cde5ff03 some fix 2024-03-24 20:07:28 +08:00
blueloveTH
dc20c56391 some fix 2024-03-24 18:01:03 +08:00
blueloveTH
b6b914e312 Update memory.cpp 2024-03-22 12:33:15 +08:00
blueloveTH
fbd825951c Update memory.cpp 2024-03-22 12:31:10 +08:00
blueloveTH
fc98c526ea add memory info api 2024-03-22 11:45:43 +08:00
blueloveTH
f9f3827d5d remove a tmp var 2024-03-18 12:55:42 +08:00
blueloveTH
6b57c684e4 some optimize 2024-03-17 19:22:17 +08:00
blueloveTH
f48db51d7c some optimize 2024-03-17 19:10:45 +08:00
blueloveTH
0d0261c069 some fix 2024-03-17 19:02:04 +08:00
blueloveTH
150af1b714 some fix 2024-03-17 18:59:58 +08:00
blueloveTH
f9cc2f2f29 some optimize 2024-03-17 18:50:44 +08:00
blueloveTH
fd082c20e6 add some cases 2024-03-17 18:36:08 +08:00
blueloveTH
f62ec6d316 add noexcept 2024-03-17 18:08:54 +08:00
blueloveTH
3aea1647d0 some fix 2024-03-17 18:06:38 +08:00
blueloveTH
92f9b93245 some fix 2024-03-17 17:58:16 +08:00
blueloveTH
3ebc19bf7f fix warnings 2024-03-17 17:53:55 +08:00
blueloveTH
2b43cbd25c some optimize 2024-03-17 17:48:57 +08:00
blueloveTH
beaf05f6c1 some fix 2024-03-17 16:45:20 +08:00
blueloveTH
4db4274882 some optimize 2024-03-17 16:34:57 +08:00
blueloveTH
44c61a8c3a add PREDICT_INT_DIV_OP 2024-03-17 16:33:08 +08:00
blueloveTH
11544b3f7a Update ceval.cpp 2024-03-16 19:30:53 +08:00
blueloveTH
017655c057 add PREDICT_INT_OP 2024-03-16 19:20:29 +08:00
BLUELOVETH
65440c2034
Fix #197 (#227)
* init

* some optimize

* Update frame.h

* remove `LOAD_INTEGER`

* Update vm.cpp

* some optimize

* some fix

* Revert "remove `LOAD_INTEGER`"

This reverts commit c0b965aee2f64fbfae0b20f41d714688649d20cf.

* some fix

* Update expr.cpp

* some fix

* Update retype.yml
2024-03-16 18:37:09 +08:00
blueloveTH
9bfe8c1bad some fix 2024-03-16 15:55:53 +08:00
blueloveTH
63e869df0c Revert "some optimize"
This reverts commit 31dc34663a0a2ffe45552eec7ceaca58759d228d.
2024-03-16 15:54:56 +08:00
blueloveTH
31dc34663a some optimize 2024-03-16 15:42:04 +08:00
blueloveTH
1456fb5e20 remove _s in Frame 2024-03-16 15:32:17 +08:00
blueloveTH
638ce2699a Revert "some fix about emplace"
This reverts commit 3d5b50a527b5992b53708676aee4738effba7707.
2024-03-16 15:20:41 +08:00
blueloveTH
3d5b50a527 some fix about emplace 2024-03-16 15:16:11 +08:00
blueloveTH
fffcd7425d some optimize 2024-03-16 14:54:55 +08:00
blueloveTH
37453a8502 some fix 2024-03-16 14:40:01 +08:00
Anurag Bhat
2ab819a724
Modify string constructor to allow no arguments (#226)
* Modify String Constructor

* Add check to restrict arguments
2024-03-13 00:55:54 +08:00
blueloveTH
1caa9e71c3 fix https://github.com/pocketpy/pocketpy/issues/213 2024-03-04 17:27:13 +08:00
blueloveTH
6cf2f950cd some fix 2024-03-04 17:11:56 +08:00
blueloveTH
7f7e1a14ee raise error on literal ints overflow 2024-03-04 16:48:47 +08:00
blueloveTH
206685a3f6 inline ~PyObject 2024-03-03 01:32:34 +08:00
blueloveTH
3edd4aca67 some refactor 2024-03-03 01:30:09 +08:00
blueloveTH
0fd2c695bf some fix 2024-03-02 16:44:14 +08:00
blueloveTH
e82cad5b25 some fix 2024-03-02 04:22:53 +08:00
blueloveTH
5e01164dac move some methods to header file 2024-03-02 04:06:29 +08:00
blueloveTH
d5c93c666e remove PyVec* 2024-03-01 18:18:41 +08:00
Anurag Bhat
5100f4e454
Floating inputs for round() should return a Floating output when ndigit is 0 (#217)
* Fix round for floating inputs

* Refactor integer inputs

* some fix

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2024-02-27 11:18:21 +08:00
blueloveTH
214395fab6 fix https://github.com/pocketpy/pocketpy/issues/214 2024-02-26 10:40:37 +08:00
blueloveTH
90a9a404e2 some refactor 2024-02-25 13:06:41 +08:00
blueloveTH
51a3c93f69 some refactor 2024-02-25 12:39:09 +08:00
blueloveTH
4af7d5c873 fix https://github.com/pocketpy/pocketpy/issues/212 2024-02-23 15:48:24 +08:00
blueloveTH
0599130c0d fix https://github.com/pocketpy/pocketpy/issues/211 2024-02-23 01:27:48 +08:00
Anurag Bhat
842c415a9f
Fix Typos in the Codebase (#210)
* Fix Typos

* Revert some changes

* Revert ldtk file
2024-02-21 15:40:48 +08:00
blueloveTH
38dceac61b add PK_SLICE_LOOP 2024-02-20 02:13:33 +08:00
blueloveTH
3534492bb6 improve array2d.__setitem__ 2024-02-20 01:56:10 +08:00