pocketpy is a lightweight(~10000 LOC) Python interpreter for game scripting, built on C++17 with STL.
It aims to be an alternative to lua for game scripting, with elegant syntax, powerful features and competitive performance. pocketpy is extremely easy to embed via a single header file pocketpy.h
, without external dependencies.
See https://pocketpy.dev for details or try Live Demo.