|
|
há 3 anos atrás | |
|---|---|---|
| .github | há 3 anos atrás | |
| docs | há 3 anos atrás | |
| plugins | há 3 anos atrás | |
| scripts | há 3 anos atrás | |
| src | há 3 anos atrás | |
| tests | há 3 anos atrás | |
| web | há 3 anos atrás | |
| .gitattributes | há 3 anos atrás | |
| .gitignore | há 3 anos atrás | |
| .gitmodules | há 3 anos atrás | |
| LICENSE | há 3 anos atrás | |
| README.md | há 3 anos atrás | |
| amalgamate.py | há 3 anos atrás | |
| build_cpp.sh | há 3 anos atrás | |
| build_wasm.sh | há 3 anos atrás | |
| test_cpp.sh | há 3 anos atrás |
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.