Sen descrición

blueloveTH c8acb10698 add android build %!s(int64=3) %!d(string=hai) anos
.github c8acb10698 add android build %!s(int64=3) %!d(string=hai) anos
docs 24b2140959 update readme %!s(int64=3) %!d(string=hai) anos
plugins c8acb10698 add android build %!s(int64=3) %!d(string=hai) anos
scripts e9fc527aff add ArgList %!s(int64=3) %!d(string=hai) anos
src 94bfc2336a optimize %!s(int64=3) %!d(string=hai) anos
tests b35e46265b fix a bug %!s(int64=3) %!d(string=hai) anos
web 054a2a6873 add RecursionError %!s(int64=3) %!d(string=hai) anos
.gitattributes 0891000a46 init %!s(int64=3) %!d(string=hai) anos
.gitignore 5fe61c2e11 up %!s(int64=3) %!d(string=hai) anos
.gitmodules b247723b80 up %!s(int64=3) %!d(string=hai) anos
LICENSE 5fe61c2e11 up %!s(int64=3) %!d(string=hai) anos
README.md 1bfbe97e6e Update README.md %!s(int64=3) %!d(string=hai) anos
amalgamate.py c8acb10698 add android build %!s(int64=3) %!d(string=hai) anos
build_cpp.sh 29c2618c9e some fix %!s(int64=3) %!d(string=hai) anos
build_wasm.sh 2060b7ba7a fix _c %!s(int64=3) %!d(string=hai) anos
test_cpp.sh b05594ce58 optimize %!s(int64=3) %!d(string=hai) anos

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