No Description

blueloveTH 4622638abf update README.md 3 years ago
.github 0891000a46 init 3 years ago
docs 4622638abf update README.md 3 years ago
scripts 0891000a46 init 3 years ago
src 0891000a46 init 3 years ago
tests 0891000a46 init 3 years ago
.gitattributes 0891000a46 init 3 years ago
.gitignore 0891000a46 init 3 years ago
LICENSE 0891000a46 init 3 years ago
README.md 4622638abf update README.md 3 years ago
amalgamate.py 0891000a46 init 3 years ago
build_cpp.sh 0891000a46 init 3 years ago
test_cpp.sh 0891000a46 init 3 years ago

README.md

pocketpy

build

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

sample_img

CURRENTLY IN DEVELOPMENT!!

Prebuilt Windows Binaries

Go to https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml to get an artifact.

Build From Source

First clone the repository

git clone https://github.com/blueloveTH/pocketpy
cd pocketpy

If you want to get a single header file:

python3 amalgamate.py

It will generate pocketpy.h and main.cpp in amalgamate/ directory. You can use main.cpp to build a REPL console or use pocketpy.h only to embed it to your game engine.

If you want to do development:

bash build_cpp.sh

Reference