# PocketPy

GitHub GitHub release

PocketPy is a lightweight(~5000 LOC) Python interpreter for game engines. **English |** [**简体中文**](README_zh.md) It is extremely easy to embed. Including a compiler, optimizer and bytecode virtual machine. All of them are available in a single header file `pocketpy.h`, without external dependencies. Please see https://pocketpy.dev for details or try [Live Demo](https://blueloveth.github.io/pocketpy). ![sample_img](docs/sample.png) ## Reference + [cpython](https://github.com/python/cpython) + [byterun](http://qingyunha.github.io/taotao/) + [emhash](https://github.com/ktprime/emhash) ## License MIT License