37 Commits

Author SHA1 Message Date
blueloveTH
2b43cbd25c some optimize 2024-03-17 17:48:57 +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
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
97c923e514 use pod_vector for small vectors 2024-02-18 17:51:35 +08:00
blueloveTH
6ed8a262a8 some fix 2024-02-18 10:58:48 +08:00
blueloveTH
1558e5b40f fix a bug 2024-02-18 00:44:57 +08:00
blueloveTH
8079b82813 ... 2024-01-19 18:09:42 +08:00
blueloveTH
664fc07dcd fix https://github.com/blueloveTH/pocketpy/issues/187 2024-01-14 22:59:08 +08:00
blueloveTH
b28ea2c35b ... 2024-01-07 15:52:33 +08:00
blueloveTH
2cd22d40c5 some optimize 2024-01-07 01:49:33 +08:00
blueloveTH
f2ea8e28ec ... 2024-01-07 01:37:40 +08:00
blueloveTH
17cdeffbf5 fix a bug 2024-01-07 01:36:17 +08:00
blueloveTH
42a7d02286 ... 2024-01-05 22:49:42 +08:00
blueloveTH
866abe2c63 ... 2024-01-05 22:47:35 +08:00
blueloveTH
02a25de8e5 warn return with arg inside generator function 2024-01-05 22:02:23 +08:00
blueloveTH
e150ffae5e rename UNREACHABLE() to PK_UNREACHABLE() 2024-01-04 13:01:26 +08:00
blueloveTH
315cbe5d1a rename FATAL_ERROR to PK_FATAL_ERROR 2024-01-04 12:37:28 +08:00
blueloveTH
1e178caf6e add cmath module 2023-12-30 13:57:51 +08:00
blueloveTH
0419eb5bb0 temp fix a bug of f"{stack[2:]}" 2023-12-19 20:21:17 +08:00
blueloveTH
9af3434f06 improve f-string performance 2023-12-08 22:29:22 +08:00
blueloveTH
b8100bcce5 add EVAL_CONST 2023-12-08 22:10:18 +08:00
blueloveTH
2698040f52 improve f-string 2023-11-22 06:16:05 +08:00
blueloveTH
e124f635c1 support @property.setter 2023-11-07 04:50:06 +08:00
blueloveTH
901f702f00 rename emit into emit_ to make QT happy 2023-10-16 13:56:07 +08:00
blueloveTH
5e3572b32c replace std::stringstream with SStream 2023-10-15 21:58:33 +08:00
blueloveTH
227e76e3e4 cjson cleanup 2023-10-15 15:00:25 +08:00
blueloveTH
1afef9dcb9 reduce bytecode size 2023-10-14 14:30:15 +08:00
blueloveTH
ffde186dfa change opcode to uint8_t 2023-10-14 12:43:10 +08:00
blueloveTH
eb5be9ba41 import can be used in local scope now 2023-10-12 01:02:46 +08:00
blueloveTH
85efbd0b1d fix https://github.com/blueloveTH/pocketpy/issues/130 2023-09-09 14:06:14 +08:00
BLUELOVETH
449c0c36f9 support for..else and while..else 2023-08-18 16:17:01 +08:00
blueloveTH
604ca77e48 fix https://github.com/blueloveTH/pocketpy/issues/121 2023-07-29 22:18:39 +08:00
BLUELOVETH
db321abdae ... 2023-07-19 13:30:14 +08:00
BLUELOVETH
fc70cd4b08 ... 2023-07-18 18:17:33 +08:00
blueloveTH
9732828e85 support bytes literal, e.g. b'\xff\12' 2023-07-16 23:39:04 +08:00
BLUELOVETH
d5fc2c8686 add ~ operator 2023-07-07 18:43:50 +08:00
blueloveTH
efb7fce3c1 ... 2023-07-02 15:24:32 +08:00