119 Commits

Author SHA1 Message Date
blueloveTH
0c1abd3b5c fix https://github.com/pocketpy/pocketpy/issues/315 2024-11-03 14:57:17 +08:00
blueloveTH
f22f61ac80 add flutter plugin 2024-10-17 17:43:41 +08:00
blueloveTH
ac8f4a1c2d some fix 2024-08-28 02:05:39 +08:00
blueloveTH
be417ea528 ... 2024-08-22 17:33:08 +08:00
blueloveTH
71dca71ead update amalgamate.py 2024-08-20 13:04:55 +08:00
blueloveTH
e50761364d some fix 2024-06-15 19:17:57 +08:00
blueloveTH
426993552c some fix 2024-06-02 23:05:34 +08:00
blueloveTH
7d3bb3480a some fix 2024-06-02 18:22:36 +08:00
blueloveTH
097a7fe94f some fix 2024-06-02 18:14:04 +08:00
blueloveTH
2f96712371 refactor deque 2024-06-01 21:47:27 +08:00
blueloveTH
182177482f change any APIs 2024-05-08 20:34:51 +08:00
blueloveTH
4a1cf10e74 add pkpy::any 2024-05-08 14:45:42 +08:00
blueloveTH
a08efc0a6a move op_names 2024-04-20 12:25:51 +08:00
blueloveTH
ef521c4cd4 Update amalgamate.py 2024-04-14 20:59:30 +08:00
blueloveTH
2153113240 some fix 2024-03-24 18:16:09 +08:00
blueloveTH
a2e7846662 enable rtti 2024-02-29 10:57:15 +08:00
blueloveTH
0599130c0d fix https://github.com/pocketpy/pocketpy/issues/211 2024-02-23 01:27:48 +08:00
blueloveTH
c3b050c77a fix a bug of line_profiler 2024-02-17 22:32:30 +08:00
blueloveTH
8a2ee65301 refactor 2 2024-02-07 11:47:41 +08:00
blueloveTH
b0dc1e4a69 refactor 2024-02-07 11:40:21 +08:00
blueloveTH
209b7f6831 add boilerplate for line_profiler 2024-02-07 10:50:53 +08:00
blueloveTH
dcb784a7a8 add array2d module 2024-02-06 23:25:40 +08:00
blueloveTH
2c8a8732f0 fix docs with pocketpy 2024-02-05 16:15:00 +08:00
blueloveTH
7bd99279e5 fix https://github.com/pocketpy/pocketpy/issues/196 2024-02-04 17:53:31 +08:00
blueloveTH
d9c3f6c146 random refactor 2024-01-25 00:48:46 +08:00
blueloveTH
ec75972d92 some cleanup 2024-01-19 13:26:51 +08:00
blueloveTH
c6ec028730 support real exceptions 2024-01-02 16:42:08 +08:00
blueloveTH
641b9a9e27 some cleanup 2023-12-26 21:35:51 +08:00
blueloveTH
a62943568f add csv module 2023-11-28 22:40:37 +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
3f7435263a Update amalgamate.py 2023-10-15 16:57:56 +08:00
Mahbub Alam
2950d88545
Add cjson module (#151)
* Add cjson module

* Create structure for cjson module

* Implemenet loads function

* Convert cJsonBool to python boolean

* Implement dumps function

* Convert json bool and null to python Bool and None

* necessary changes of project structure

* Update amalgamate.py

* Support non-dictionary json objects (list, tuple, string, number, bool, null)

* Fix tests

* fix CI

* fix CI

* Convert python to cJson and then to string

* Delete cJSON object after use

---------

Co-authored-by: Mahbub Alam <alam.mahbub214@gmail.com>
Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2023-10-15 13:32:20 +08:00
blueloveTH
e6b89a1206 fix box2d 2023-10-01 22:54:08 +08:00
BLUELOVETH
0644c403ee ... 2023-08-03 12:53:10 +08:00
blueloveTH
b0361b801a Revert "..."
This reverts commit d9b83fbeb70ed75079a538b77887269ed0cb58ef.
2023-07-22 22:44:27 +08:00
blueloveTH
d9b83fbeb7 ...
...
2023-07-22 22:44:23 +08:00
BLUELOVETH
0ee5c5add6 ... 2023-07-14 17:37:26 +08:00
blueloveTH
85a9588459 ... 2023-07-09 16:10:15 +08:00
blueloveTH
e6c5ace927 ... 2023-07-09 03:02:10 +08:00
blueloveTH
0e736b2f71 ... 2023-07-09 01:11:43 +08:00
blueloveTH
a06a8918ce ... 2023-07-09 00:55:30 +08:00
blueloveTH
53d272ce2f ... 2023-07-08 19:43:17 +08:00
BLUELOVETH
549ed0c5f1 ... 2023-07-07 16:54:34 +08:00
blueloveTH
656d1d7291 ... 2023-07-02 03:52:44 +08:00
blueloveTH
f3ac21ccc2 ... 2023-07-02 01:39:24 +08:00
blueloveTH
3c64f59fd3 remove requests 2023-07-01 01:58:53 +08:00
blueloveTH
af95fa24e0 ... 2023-06-24 02:59:50 +08:00
blueloveTH
d23401f77b ... 2023-06-11 21:16:13 +08:00
blueloveTH
28c8f68d8d add config.h 2023-06-11 13:57:07 +08:00
blueloveTH
7669c67c38 ... 2023-06-10 13:16:35 +08:00