Нема описа

blueloveTH 040ef62d51 optimize пре 3 година
.github ffd6915de7 v0.4.6 пре 3 година
docs 24b2140959 update readme пре 3 година
scripts e9fc527aff add ArgList пре 3 година
src 040ef62d51 optimize пре 3 година
tests 9c16aefda3 add json пре 3 година
web 054a2a6873 add RecursionError пре 3 година
.gitattributes 0891000a46 init пре 3 година
.gitignore ca4039a52f add global kw пре 3 година
LICENSE 93d16a66e0 up пре 3 година
README.md 1bfbe97e6e Update README.md пре 3 година
amalgamate.py 3b30747fcd up пре 3 година
build_cpp.sh 0b1ba59024 remove some useless code пре 3 година
build_wasm.sh 2060b7ba7a fix _c пре 3 година
test_cpp.sh b05594ce58 optimize пре 3 година

README.md

pocketpy

build

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

sample_img

Documentations

See https://pocketpy.dev

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