Sem descrição

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

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