|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .github | %!s(int64=3) %!d(string=hai) anos | |
| docs | %!s(int64=3) %!d(string=hai) anos | |
| plugins | %!s(int64=3) %!d(string=hai) anos | |
| scripts | %!s(int64=3) %!d(string=hai) anos | |
| src | %!s(int64=3) %!d(string=hai) anos | |
| tests | %!s(int64=3) %!d(string=hai) anos | |
| web | %!s(int64=3) %!d(string=hai) anos | |
| .gitattributes | %!s(int64=3) %!d(string=hai) anos | |
| .gitignore | %!s(int64=3) %!d(string=hai) anos | |
| .gitmodules | %!s(int64=3) %!d(string=hai) anos | |
| LICENSE | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=3) %!d(string=hai) anos | |
| amalgamate.py | %!s(int64=3) %!d(string=hai) anos | |
| build_cpp.sh | %!s(int64=3) %!d(string=hai) anos | |
| build_wasm.sh | %!s(int64=3) %!d(string=hai) anos | |
| test_cpp.sh | %!s(int64=3) %!d(string=hai) anos |
This project is undergoing a major reconstruction!!!
Advanced features such as exception, yield/coroutine and complete C bindings support will be added.
Interfaces will be changed a lot. Be cautious!
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.