2394 Commits

Author SHA1 Message Date
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
07116877b7 Revert "Update main.yml"
This reverts commit 239ed16203cb532548882df1e4553d786bf2a5c8.
2024-03-17 16:26:59 +08:00
blueloveTH
239ed16203 Update main.yml 2024-03-17 16:12:25 +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
blueloveTH
cd0542df96 remove some docs 2024-03-13 01:15:23 +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
b0f6b54600 Update random.md v1.4.2 2024-03-04 19:08:01 +08:00
Anurag Bhat
4a4eade26f
Improve Readability of example (#221) 2024-03-04 17:32:16 +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
d4cf8b8c03 Update 01_int.py 2024-03-04 17:07:32 +08:00
blueloveTH
f95bdd45ac fix https://github.com/pocketpy/pocketpy/issues/223 2024-03-04 17:03:58 +08:00
blueloveTH
7f7e1a14ee raise error on literal ints overflow 2024-03-04 16:48:47 +08:00
blueloveTH
e3fa25d774 Update _generated.h 2024-03-04 00:25:34 +08:00
blueloveTH
a51025f516 some fix 2024-03-04 00:24:43 +08:00
blueloveTH
38114d1555 some fix 2024-03-03 15:52:40 +08:00
blueloveTH
f076ee431f add is_immutable_v 2024-03-03 15:49:56 +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
a51eb5a641 some fix 2024-03-02 16:47:12 +08:00
blueloveTH
0fd2c695bf some fix 2024-03-02 16:44:14 +08:00
blueloveTH
bc640e503c some fix 2024-03-02 16:24:25 +08:00
Anurag Bhat
883f4d9532
Add Division operation for complex number in Cmath (#220)
* Add __truediv__() for cmath

* Some changes

* Remove separate zero division case checks

* Test all binary operators

* Use is_close
2024-03-02 14:34:05 +08:00
blueloveTH
e82cad5b25 some fix 2024-03-02 04:22:53 +08:00
blueloveTH
b99540854e Update common.h 2024-03-02 04:13:41 +08:00
blueloveTH
5e01164dac move some methods to header file 2024-03-02 04:06:29 +08:00
blueloveTH
2055f9cd46 fix CI 2024-03-02 04:01:08 +08:00
blueloveTH
6755c73a58 some fix 2024-03-02 03:40:50 +08:00
blueloveTH
825efaecc6 refactor 2 2024-03-02 03:31:07 +08:00
blueloveTH
ba33b69240 refactor 2024-03-02 02:56:48 +08:00
blueloveTH
39fe442575 fix a bug 2024-03-01 18:32:59 +08:00
blueloveTH
d5c93c666e remove PyVec* 2024-03-01 18:18:41 +08:00
blueloveTH
21c2801f28 Update gc.h 2024-03-01 18:04:36 +08:00
blueloveTH
bbf7304946 fix a common bad usage 2024-03-01 16:52:21 +08:00
blueloveTH
6bb698a020 Update project.pbxproj 2024-02-29 12:36:36 +08:00