Sem descrição

blueloveTH c0180efe84 up há 3 anos atrás
.github af776bb4aa disable rtti há 3 anos atrás
docs 24b2140959 update readme há 3 anos atrás
plugins c0180efe84 up há 3 anos atrás
scripts e9fc527aff add ArgList há 3 anos atrás
src 16f46dec82 impl kwargs há 3 anos atrás
tests 16f46dec82 impl kwargs há 3 anos atrás
web 054a2a6873 add RecursionError há 3 anos atrás
.gitattributes 0891000a46 init há 3 anos atrás
.gitignore 5fe61c2e11 up há 3 anos atrás
.gitmodules b247723b80 up há 3 anos atrás
LICENSE 5fe61c2e11 up há 3 anos atrás
README.md 1bfbe97e6e Update README.md há 3 anos atrás
amalgamate.py bfcec88871 add 0xFFF support and fix a bug of int() há 3 anos atrás
build_cpp.sh af776bb4aa disable rtti há 3 anos atrás
build_wasm.sh af776bb4aa disable rtti há 3 anos atrás
test_cpp.sh b05594ce58 optimize há 3 anos atrás

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