|
|
3 years ago | |
|---|---|---|
| .github | 3 years ago | |
| docs | 3 years ago | |
| plugins | 3 years ago | |
| scripts | 3 years ago | |
| src | 3 years ago | |
| tests | 3 years ago | |
| web | 3 years ago | |
| .gitattributes | 3 years ago | |
| .gitignore | 3 years ago | |
| .gitmodules | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| amalgamate.py | 3 years ago | |
| build_cpp.sh | 3 years ago | |
| build_wasm.sh | 3 years ago | |
| test_cpp.sh | 3 years ago |
C++17 header-only Python interpreter for game engines.
Please see https://pocketpy.dev for detailed documentations.
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.