blueloveTH
901f702f00
rename emit
into emit_
to make QT happy
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
ab53927019
...
2023-10-15 22:14:34 +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
37f47b8cee
...
2023-10-14 15:26:50 +08:00
blueloveTH
0157025097
disable code serialization impl
2023-10-14 15:25:07 +08:00
blueloveTH
eb1f8f0a4f
some more optimize
2023-10-14 15:18:45 +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
1879a47597
Update ceval.cpp
2023-10-14 02:07:58 +08:00
blueloveTH
6c821f35ea
...
2023-10-14 01:07:49 +08:00
blueloveTH
31cbb8b652
add bool prediction
2023-10-14 01:04:49 +08:00
blueloveTH
b889acd896
...
2023-10-14 00:54:29 +08:00
blueloveTH
3cae7e6809
inline gc check
2023-10-14 00:50:31 +08:00
blueloveTH
c158e631d1
...
2023-10-14 00:37:16 +08:00
blueloveTH
814ce3e465
add fastpath for simple calls
2023-10-14 00:29:03 +08:00
blueloveTH
8b155ff95c
...
2023-10-13 13:24:52 +08:00
blueloveTH
5ecd59f11c
...
2023-10-13 13:12:05 +08:00
blueloveTH
d30b1de4c9
...
2023-10-13 13:02:24 +08:00
blueloveTH
a5b7a0d1ae
...
2023-10-13 12:59:43 +08:00
blueloveTH
92e4416c4e
some refactor
2023-10-13 12:46:41 +08:00
blueloveTH
9f3d15ca51
...
2023-10-13 12:18:33 +08:00
blueloveTH
99fbb7c736
refactor NameDict
2023-10-12 21:30:41 +08:00
blueloveTH
2cf3bdc097
improve exception performance
2023-10-12 13:20:12 +08:00
blueloveTH
6d6c2935f4
...
2023-10-12 12:45:11 +08:00
blueloveTH
cc512a76e3
...
2023-10-12 11:06:08 +08:00
blueloveTH
9c854662e2
...
2023-10-12 10:54:27 +08:00
blueloveTH
eb5be9ba41
import
can be used in local scope now
2023-10-12 01:02:46 +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
332b4100a5
...
2023-10-11 13:29:43 +08:00
blueloveTH
7c3ac48202
enable LTO
2023-10-11 13:20:48 +08:00
BLUELOVETH
df4e0e329a
Merge pull request #154 from stautonico/main
...
Added support for octal and binary literals
2023-10-11 13:06:08 +08:00
blueloveTH
57beebdfd9
...
2023-10-11 13:05:07 +08:00
blueloveTH
6dad2d612e
...
2023-10-09 00:03:23 +08:00
blueloveTH
0caa14172d
fix ++
for global
names
2023-10-08 20:55:31 +08:00
blueloveTH
e26f389182
fix assert
message won't be evaluated on true cond
2023-10-08 20:09:22 +08:00
Steve Tautonico
23f1c6e941
Fixed issue with binary literal
2023-10-08 04:11:03 -04:00
Steve Tautonico
badc8d44d1
Added binary literal support
2023-10-08 00:20:14 -04:00
blueloveTH
4df6d4fdb1
fix a bug of traceback
2023-10-08 01:36:11 +08:00
Steve Tautonico
4d2b3e59a1
Added octal literal support
2023-10-07 03:53:34 -04:00