Нема описа

blueloveTH 4ccb124eec Update .gitignore пре 3 година
.github eb58389945 re пре 3 година
docs 24b2140959 update readme пре 3 година
plugins 1515ef277e up пре 3 година
scripts 9a64870f89 up пре 3 година
src eb58389945 re пре 3 година
tests f227c61f2a impl re.match | re.search | re.split | re.sub пре 3 година
web addd9d6feb up пре 3 година
.gitattributes 0891000a46 init пре 3 година
.gitignore 4ccb124eec Update .gitignore пре 3 година
.gitmodules b247723b80 up пре 3 година
LICENSE 5fe61c2e11 up пре 3 година
README.md 609d7e68d8 up пре 3 година
amalgamate.py e6bf164008 up пре 3 година
build_cpp.sh af776bb4aa disable rtti пре 3 година
build_wasm.sh eb58389945 re пре 3 година
test_cpp.sh b05594ce58 optimize пре 3 година

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