A cross-platform C++ application that embeds a Python interpreter, allowing you to run, pause, resume, and inspect Python scripts with a professional GUI.
- Cross-Platform: Runs on Windows, Linux, and macOS.
- Visual Debugging:
- Real-time line highlighting.
- Variable inspection table.
- Control: Play, Pause, Resume, Stop execution.
- Embedded API: Scripts can use
host_apito access file I/O, heavy computation, and system logging from C++. - Zero-Dependency Build: CMake automatically fetches
glfw,imgui, andpybind11.
mkdir build && cd build
cmake ..
make
./demo_guiSee DEPLOY_WINDOWS.md for a step-by-step guide setting up a clean Windows environment.
Load scripts/complex_test.py to see recursion, file I/O, and CPU-intensive tasks in action (proving the UI stays responsive).
- GUI: Dear ImGui (Docking/Tables)
- Binding: Pybind11 (Embedding)
- Windowing: GLFW
- Threading: Python runs in a dedicated worker thread; C++ manages the GIL and Event Loop.