mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
27 lines
893 B
Markdown
27 lines
893 B
Markdown
# pocketpy
|
|
|
|
<p>
|
|
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
|
<a title="Pub" href="https://pub.dev/packages/pocketpy" ><img src="https://img.shields.io/pub/v/pocketpy" /></a>
|
|
</p>
|
|
|
|
PocketPy is a lightweight(~5000 LOC) Python interpreter for game engines.
|
|
|
|
It is extremely easy to embed. Including a compiler, optimizer and bytecode virtual machine. All of them are available in a single header file `pocketpy.h`, without external dependencies.
|
|
|
|
Please see https://pocketpy.dev for details or try [Live Demo](https://blueloveth.github.io/pocketpy).
|
|
|
|

|
|
|
|
## Reference
|
|
|
|
+ [cpython](https://github.com/python/cpython)
|
|
|
|
+ [byterun](http://qingyunha.github.io/taotao/)
|
|
|
|
+ [emhash](https://github.com/ktprime/emhash)
|
|
|
|
## License
|
|
|
|
MIT License
|