Không có mô tả

blueloveTH 90ae5edac2 up 3 năm trước cách đây
.github 4e40487df7 up 3 năm trước cách đây
docs 24b2140959 update readme 3 năm trước cách đây
plugins 90ae5edac2 up 3 năm trước cách đây
scripts 9a64870f89 up 3 năm trước cách đây
src 90ae5edac2 up 3 năm trước cách đây
tests 0e56b25b0d Update _listcomp.py 3 năm trước cách đây
web 1dee1991a3 up 3 năm trước cách đây
.gitattributes 0891000a46 init 3 năm trước cách đây
.gitignore 4ccb124eec Update .gitignore 3 năm trước cách đây
.gitmodules b247723b80 up 3 năm trước cách đây
LICENSE 5fe61c2e11 up 3 năm trước cách đây
README.md 609d7e68d8 up 3 năm trước cách đây
amalgamate.py a324d7e099 up 3 năm trước cách đây
build_cpp.sh af776bb4aa disable rtti 3 năm trước cách đây
build_wasm.sh 4e40487df7 up 3 năm trước cách đây
test_cpp.sh 85bbdeaf9c up 3 năm trước cách đây

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