Нема описа

blueloveTH c0180efe84 up пре 3 година
.github af776bb4aa disable rtti пре 3 година
docs 24b2140959 update readme пре 3 година
plugins c0180efe84 up пре 3 година
scripts e9fc527aff add ArgList пре 3 година
src 16f46dec82 impl kwargs пре 3 година
tests 16f46dec82 impl kwargs пре 3 година
web 054a2a6873 add RecursionError пре 3 година
.gitattributes 0891000a46 init пре 3 година
.gitignore 5fe61c2e11 up пре 3 година
.gitmodules b247723b80 up пре 3 година
LICENSE 5fe61c2e11 up пре 3 година
README.md 1bfbe97e6e Update README.md пре 3 година
amalgamate.py bfcec88871 add 0xFFF support and fix a bug of int() пре 3 година
build_cpp.sh af776bb4aa disable rtti пре 3 година
build_wasm.sh af776bb4aa disable rtti пре 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