Aucune description

blueloveTH a063249832 Update vm.h il y a 3 ans
.github 46350b0964 Update pubspec.yaml il y a 3 ans
docs 24b2140959 update readme il y a 3 ans
plugins 0a90998fe2 up il y a 3 ans
scripts e9fc527aff add ArgList il y a 3 ans
src a063249832 Update vm.h il y a 3 ans
tests c5b263d5a8 Update pocketpy.h il y a 3 ans
web 054a2a6873 add RecursionError il y a 3 ans
.gitattributes 0891000a46 init il y a 3 ans
.gitignore 8a99b0779b up il y a 3 ans
.gitmodules b247723b80 up il y a 3 ans
LICENSE 5fe61c2e11 up il y a 3 ans
README.md 609d7e68d8 up il y a 3 ans
amalgamate.py bfcec88871 add 0xFFF support and fix a bug of int() il y a 3 ans
build_cpp.sh af776bb4aa disable rtti il y a 3 ans
build_wasm.sh af776bb4aa disable rtti il y a 3 ans
test_cpp.sh b05594ce58 optimize il y a 3 ans

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