1976 Commits

Author SHA1 Message Date
blueloveTH
5e54967903 Update codeobject.h v1.3.0 2023-11-10 16:18:03 +08:00
blueloveTH
1d8662118b Update box2d.md 2023-11-10 14:56:03 +08:00
blueloveTH
63fff364e3 Update box2d.md 2023-11-10 14:50:51 +08:00
blueloveTH
12f6617bee update box2d 2023-11-10 14:47:12 +08:00
blueloveTH
bfc5e82e0e Update box2d.md 2023-11-10 14:22:22 +08:00
blueloveTH
7ed1dcfcdf ... 2023-11-10 13:29:06 +08:00
blueloveTH
27f8d6be28 some refactor 2023-11-09 15:46:49 +08:00
blueloveTH
641a1711cf fix https://github.com/blueloveTH/pocketpy/issues/177 2023-11-07 05:05:03 +08:00
blueloveTH
0c46f21c19 Update ceval.cpp 2023-11-07 04:52:37 +08:00
blueloveTH
e124f635c1 support @property.setter 2023-11-07 04:50:06 +08:00
blueloveTH
e8ad5b5784 Update cheatsheet.md 2023-11-05 10:23:08 +08:00
Non
418f373a1b
Fix typo 'trackback' -> 'traceback' (#176)
https://discord.com/channels/1048978026131640390/1137746847771938847/1169558439278678016
2023-11-02 17:26:32 +08:00
blueloveTH
a7448b7fa0 make json.loads accept bytes 2023-10-31 21:34:30 +08:00
blueloveTH
2f3017ebfd ... 2023-10-31 00:28:36 +08:00
blueloveTH
4b00846861 Update datetime.py 2023-10-30 23:58:43 +08:00
blueloveTH
905defb534 fix a bug of datetime and localtime 2023-10-30 23:55:06 +08:00
blueloveTH
49f70318d9 ... 2023-10-29 22:44:14 +08:00
blueloveTH
61f837ac2c doc fix 2023-10-29 22:22:22 +08:00
blueloveTH
f2d5fbbb94 add module operator and add split for single char 2023-10-29 22:16:49 +08:00
blueloveTH
04df1dbe5b fix https://github.com/blueloveTH/pocketpy/issues/172 v1.2.9 2023-10-28 15:10:58 +08:00
blueloveTH
a12eb4c8bc ... 2023-10-28 15:00:53 +08:00
blueloveTH
7916bb035f some cleanup 2023-10-28 11:08:27 +08:00
blueloveTH
40281a8d94 Merge branch 'main' of https://github.com/blueloveTH/pocketpy 2023-10-25 10:27:27 +08:00
blueloveTH
1b7ab37f01 fix a doc issue 2023-10-25 10:27:21 +08:00
Mahbub Alam
6f8bf82e9a
Examples for beginners (#169)
* Add examples folder

* Draft change

* Add draft changes

* Add examples

* Refactor examples

---------

Co-authored-by: Mahbub Alam <alam.mahbub214@gmail.com>
2023-10-24 17:59:58 +08:00
blueloveTH
a98e710fe7 delete old deque 2023-10-21 08:06:00 +08:00
S Mahmudul Hasan
c82bfb5455
Implement deque in C++ as required by #139 (#155)
* Initial integration of deque in collections

* some fix

* WIP: Implemented a int-only deque with limited capabilities

* WIP: added some more functionality -> changed int to arbitrary objects

* WIP: Added more functionalities in deque

* WIP: switched to std::deque

* WIP: added more functionalities

* WIP: minor fix

* WIP: added constructor

* WIP: added deque iterator

* WIP: added more functionalities

* Cleaned up and added more functionalities

* minor fix, std::min

* minor fix, rotate, n=0 case

* fix `collections` module

* support pickle

* refactored collections module

* Added some tests, more to follow

* Fixed the tests, more to follow

* Fixed some functionalities and added more tests

* added more tests, called __init__ from pickle, added reverse iterator option

* added the tests

* dropped support for __init__ for now

* moved deque iterator to collections.cpp

* undo unnecessary changes

* Cleaned up and added __str__() support

---------

Co-authored-by: blueloveTH <blueloveTH@foxmail.com>
2023-10-21 07:47:11 +08:00
blueloveTH
27be56fceb ... 2023-10-19 01:29:04 +08:00
blueloveTH
901f702f00 rename emit into emit_ to make QT happy v1.2.7 2023-10-16 13:56:07 +08:00
blueloveTH
f3acafe44c rename METHOD() macro 2023-10-16 10:57:06 +08:00
blueloveTH
541ad57d97 ... 2023-10-16 00:15:45 +08:00
blueloveTH
e8b1449979 ... 2023-10-16 00:08:26 +08:00
blueloveTH
5f6c7f3f23 Create cjson.pyi 2023-10-15 23:57:13 +08:00
blueloveTH
f66c031fa9 Update 80_json.py 2023-10-15 22:39:10 +08:00
blueloveTH
020bd7bd26 ... 2023-10-15 22:34:43 +08:00
blueloveTH
57e1ec1637 ... 2023-10-15 22:25:04 +08:00
blueloveTH
ab53927019 ... 2023-10-15 22:14:34 +08:00
blueloveTH
f41368afbb ... 2023-10-15 22:08:41 +08:00
blueloveTH
5e3572b32c replace std::stringstream with SStream 2023-10-15 21:58:33 +08:00
blueloveTH
e4b6d566a7 add SStream 2023-10-15 21:36:30 +08:00
blueloveTH
3f7435263a Update amalgamate.py 2023-10-15 16:57:56 +08:00
blueloveTH
cdcdded9a3 some fix 2023-10-15 16:47:53 +08:00
blueloveTH
acdab59d94 Update cJSONw.cpp 2023-10-15 16:06:49 +08:00
blueloveTH
7922513255 Update cJSONw.cpp 2023-10-15 16:03:44 +08:00
blueloveTH
852123d6d3 docs update 2023-10-15 15:46:38 +08:00
blueloveTH
b9ad9f18c2 docs update 2023-10-15 15:43:00 +08:00
blueloveTH
4c13c5480d ... 2023-10-15 15:30:53 +08:00
blueloveTH
ac5bc5ea0e Update cJSONw.cpp 2023-10-15 15:26:56 +08:00
blueloveTH
b3e77cdb51 ... 2023-10-15 15:20:22 +08:00
blueloveTH
3c6e4b4e76 ... 2023-10-15 15:15:44 +08:00