Sin descripción

blueloveTH f3ccd1c7d1 replace hash fn hace 3 años
.github eb58389945 re hace 3 años
docs 24b2140959 update readme hace 3 años
plugins fcdff94be3 up hace 3 años
scripts 9a64870f89 up hace 3 años
src f3ccd1c7d1 replace hash fn hace 3 años
tests f227c61f2a impl re.match | re.search | re.split | re.sub hace 3 años
web addd9d6feb up hace 3 años
.gitattributes 0891000a46 init hace 3 años
.gitignore 4ccb124eec Update .gitignore hace 3 años
.gitmodules b247723b80 up hace 3 años
LICENSE 5fe61c2e11 up hace 3 años
README.md 609d7e68d8 up hace 3 años
amalgamate.py e6bf164008 up hace 3 años
build_cpp.sh af776bb4aa disable rtti hace 3 años
build_wasm.sh eb58389945 re hace 3 años
test_cpp.sh b05594ce58 optimize hace 3 años

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