Bez popisu

blueloveTH 26b065c1fb up před 3 roky
.github af776bb4aa disable rtti před 3 roky
docs 24b2140959 update readme před 3 roky
plugins 26b065c1fb up před 3 roky
scripts e9fc527aff add ArgList před 3 roky
src 26b065c1fb up před 3 roky
tests 26b065c1fb up před 3 roky
web 054a2a6873 add RecursionError před 3 roky
.gitattributes 0891000a46 init před 3 roky
.gitignore 8a99b0779b up před 3 roky
.gitmodules b247723b80 up před 3 roky
LICENSE 5fe61c2e11 up před 3 roky
README.md 609d7e68d8 up před 3 roky
amalgamate.py bfcec88871 add 0xFFF support and fix a bug of int() před 3 roky
build_cpp.sh af776bb4aa disable rtti před 3 roky
build_wasm.sh af776bb4aa disable rtti před 3 roky
test_cpp.sh b05594ce58 optimize před 3 roky

README.md

pocketpy

C++17 header-only Python interpreter for game engines.

Please see https://pocketpy.dev for detailed documentations.

sample_img

Build From Source (Linux)

First clone the repository

git clone https://github.com/blueloveTH/pocketpy
cd pocketpy

Then run

python3 amalgamate.py

It will generate pocketpy.h and main.cpp in amalgamated/ directory. You can use main.cpp to build a REPL console or use pocketpy.h to embed it to your game engine.

Reference