Aucune description

blueloveTH c3dc23dc64 up il y a 3 ans
.github 43f99dde5d bug fix il y a 3 ans
docs 24b2140959 update readme il y a 3 ans
scripts e9fc527aff add ArgList il y a 3 ans
src c3dc23dc64 up il y a 3 ans
tests 3d84156a19 add with and from import il y a 3 ans
web 054a2a6873 add RecursionError il y a 3 ans
.gitattributes 0891000a46 init il y a 3 ans
.gitignore ca4039a52f add global kw il y a 3 ans
LICENSE 0891000a46 init il y a 3 ans
README.md 24b2140959 update readme il y a 3 ans
amalgamate.py b13009dc8b more safe!! il y a 3 ans
build_cpp.sh 0b1ba59024 remove some useless code il y a 3 ans
build_wasm.sh 2060b7ba7a fix _c il y a 3 ans
test_cpp.sh b05594ce58 optimize il y a 3 ans

README.md

pocketpy

build

C++17 single-file header-only cross platform Python Interpreter.

pocketpy is being heavy development now.

You can try our demo on your browser or download a prebuilt windows binary.

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.

Flutter Plugin

https://github.com/blueloveTH/pocketpy-flutter

Reference