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
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
53e4043e0e
fix a bug of _class
in Function
2023-10-15 04:44:10 +08:00
blueloveTH
c3f10ae4d1
fix a bug of type.__class__
2023-10-15 04:31:16 +08:00
blueloveTH
0157025097
disable code serialization impl
2023-10-14 15:25:07 +08:00
blueloveTH
5ecd59f11c
...
2023-10-13 13:12:05 +08:00
blueloveTH
a5b7a0d1ae
...
2023-10-13 12:59:43 +08:00
blueloveTH
99fbb7c736
refactor NameDict
2023-10-12 21:30:41 +08:00
blueloveTH
3a3b97c070
improve exec
/eval
2023-10-12 00:44:53 +08:00
blueloveTH
dbf7dfe7da
...
2023-10-11 14:46:54 +08:00
blueloveTH
b26dbf08cc
improve number parsing speed
2023-10-11 14:37:43 +08:00
blueloveTH
57beebdfd9
...
2023-10-11 13:05:07 +08:00
blueloveTH
cf7dc098a3
remove windows.h
2023-10-02 06:38:23 +08:00
blueloveTH
724f693761
reimpl bytes
2023-10-02 03:05:21 +08:00
blueloveTH
e6b89a1206
fix box2d
2023-10-01 22:54:08 +08:00
blueloveTH
895b3a8d1d
update bindings
2023-09-29 12:24:34 +08:00
blueloveTH
5a42d35f9d
...
2023-09-27 06:45:18 +08:00
blueloveTH
2ccc1bd6f1
...
2023-09-26 20:42:11 +08:00
blueloveTH
d8f3a53220
...
2023-09-24 19:44:15 +08:00
blueloveTH
71234ae73c
...
2023-09-22 20:08:34 +08:00
BLUELOVETH
c939ad727b
...
2023-09-22 18:32:56 +08:00
blueloveTH
e9b2060276
add ZeroDivisionError
2023-09-22 00:23:22 +08:00
blueloveTH
bb96279e9b
...
...
...
2023-09-22 00:14:09 +08:00
blueloveTH
c9389470bb
...
2023-09-21 23:41:22 +08:00
blueloveTH
8a4045d2a5
...
2023-09-21 23:33:18 +08:00
blueloveTH
43ee77e4b0
make int
always 64-bit
2023-09-21 23:26:12 +08:00
BLUELOVETH
7aa42e85c4
...
2023-09-20 10:51:44 +08:00
BLUELOVETH
8c99ef7356
...
2023-09-20 10:37:36 +08:00
BLUELOVETH
c8d581cfe7
move __repr__
of list and tuple into cpp
2023-09-20 10:33:22 +08:00
blueloveTH
60e666c12e
fix https://github.com/blueloveTH/pocketpy/issues/131
2023-09-18 00:23:37 +08:00
blueloveTH
e107531862
...
2023-09-17 19:59:36 +08:00
BLUELOVETH
393302ae85
isinstance
support tuple
2023-09-15 17:46:05 +08:00
BLUELOVETH
b1df516bf1
add callable
2023-09-15 17:37:07 +08:00
blueloveTH
aaa6d60404
add __module__
for types and fix pickle bugs
2023-09-10 03:22:01 +08:00
blueloveTH
c5858b95db
...
2023-09-06 23:44:18 +08:00
blueloveTH
368f228173
add typing
module
2023-09-04 21:29:13 +08:00
blueloveTH
88c80a2340
...
2023-08-29 23:57:33 +08:00
BLUELOVETH
5888151182
...
2023-08-28 12:04:53 +08:00
BLUELOVETH
0ed2d8f3b1
...
2023-08-28 11:42:40 +08:00
blueloveTH
0c80a626ba
refactor importer
2023-08-28 04:05:24 +08:00
blueloveTH
e21005e5d2
add Str::split
2023-08-28 00:34:13 +08:00
blueloveTH
53ea790caf
reimpl py_hash
2023-08-22 23:34:39 +08:00
BLUELOVETH
ef157946aa
add __signature__
for property
2023-08-14 18:32:26 +08:00
blueloveTH
0bd7b45160
fix an internal bug of dict
2023-08-13 01:39:37 +08:00
blueloveTH
b42a2d5b26
...
2023-08-13 00:42:36 +08:00
blueloveTH
c6b1c1015b
fix a compile bug when PK_ENABLE_OS
is 0
2023-08-12 02:40:48 +08:00