blueloveTH
0af2855ce5
replace format use of std::stringstream with sprintf
2024-01-20 22:27:32 +08:00
blueloveTH
88c0102e79
fix https://github.com/blueloveTH/pocketpy/issues/192
2024-01-19 20:31:12 +08:00
blueloveTH
8d3bb6faa5
...
2024-01-19 19:13:10 +08:00
blueloveTH
25d06bdb44
remove OBJ_NAME
2024-01-19 14:50:06 +08:00
blueloveTH
ec75972d92
some cleanup
2024-01-19 13:26:51 +08:00
blueloveTH
af58396b04
...
2024-01-17 15:41:39 +08:00
blueloveTH
6455d40900
...
2024-01-17 15:29:35 +08:00
blueloveTH
123c8a6a92
rename to _type_name
2024-01-17 15:01:00 +08:00
blueloveTH
92638781ad
...
2024-01-16 16:20:20 +08:00
blueloveTH
e7f947c987
...
2024-01-16 16:14:13 +08:00
blueloveTH
cd1280d350
...
2024-01-16 01:42:03 +08:00
blueloveTH
d8d25894c7
...
2024-01-15 14:40:24 +08:00
blueloveTH
3362c23e53
some cleanup
2024-01-15 12:55:49 +08:00
blueloveTH
139093df3a
some cleanup
2024-01-15 12:47:52 +08:00
blueloveTH
11fba94c54
remove string-based bind
2024-01-14 20:33:57 +08:00
blueloveTH
bfa073f8e1
remove bind_builtin_func
2024-01-14 20:02:31 +08:00
blueloveTH
7a386fa218
fix https://github.com/blueloveTH/pocketpy/issues/174
2024-01-14 14:19:31 +08:00
blueloveTH
9cea32fe31
remove box2d module
2024-01-08 21:08:12 +08:00
blueloveTH
315cbe5d1a
rename FATAL_ERROR to PK_FATAL_ERROR
2024-01-04 12:37:28 +08:00
blueloveTH
ab458b4af4
some cleanup
2024-01-03 19:15:41 +08:00
blueloveTH
f7c1c956f4
...
2024-01-02 20:41:54 +08:00
blueloveTH
1a8877f28a
fix broken c-api
2024-01-02 20:33:09 +08:00
blueloveTH
5ec1622887
...
2024-01-02 16:52:00 +08:00
blueloveTH
c6ec028730
support real exceptions
2024-01-02 16:42:08 +08:00
blueloveTH
f650f159b4
...
2023-12-30 14:33:04 +08:00
blueloveTH
1e178caf6e
add cmath module
2023-12-30 13:57:51 +08:00
blueloveTH
b89395a1fe
some cleanup
2023-12-26 21:52:05 +08:00
blueloveTH
32b89d45f0
...
2023-12-24 01:24:30 +08:00
blueloveTH
475bce9999
add @dataclass
2023-12-21 23:09:23 +08:00
blueloveTH
3219f588c2
disable users to create module
2023-12-18 16:15:37 +08:00
blueloveTH
c9f93f126c
...
2023-12-09 18:26:53 +08:00
blueloveTH
f6942e0caf
experimental support for try..except..as
2023-12-04 18:09:21 +08:00
blueloveTH
9179c31d6a
some change about mappingproxy
2023-12-02 16:22:08 +08:00
blueloveTH
da12d4b8ff
update PrintFunc
2023-11-29 12:20:38 +08:00
blueloveTH
a62943568f
add csv module
2023-11-28 22:40:37 +08:00
blueloveTH
acbfd11366
remove dylib support
2023-11-22 06:32:34 +08:00
blueloveTH
641a1711cf
fix https://github.com/blueloveTH/pocketpy/issues/177
2023-11-07 05:05:03 +08:00
blueloveTH
e124f635c1
support @property.setter
2023-11-07 04:50:06 +08:00
blueloveTH
a7448b7fa0
make json.loads accept bytes
2023-10-31 21:34:30 +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
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
2023-10-28 15:10:58 +08:00
blueloveTH
a12eb4c8bc
...
2023-10-28 15:00:53 +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
e8b1449979
...
2023-10-16 00:08:26 +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
cdcdded9a3
some fix
2023-10-15 16:47:53 +08:00
blueloveTH
227e76e3e4
cjson cleanup
2023-10-15 15:00:25 +08:00