update readme and doc

This commit is contained in:
blueloveTH 2025-02-07 16:32:03 +08:00
parent d9890968e3
commit d86475026c
2 changed files with 8 additions and 10 deletions

View File

@ -23,14 +23,13 @@
<a href="https://hellogithub.com/repository/dd9c509d72a64caca03d99d5b1991a33" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=dd9c509d72a64caca03d99d5b1991a33&claim_uid=jhOYmWGE75AL0Bp&theme=small" alt="FeaturedHelloGitHub" /></a> <a href="https://hellogithub.com/repository/dd9c509d72a64caca03d99d5b1991a33" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=dd9c509d72a64caca03d99d5b1991a33&claim_uid=jhOYmWGE75AL0Bp&theme=small" alt="FeaturedHelloGitHub" /></a>
</p> </p>
pkpy is a lightweight(~15K LOC) Python 3.x interpreter for game scripting, written in C11. pocketpy is a portable Python 3.x interpreter, written in C11.
It aims to be an alternative to Lua for game scripting, with elegant syntax, powerful features and competitive performance.
It aims to be an alternative to lua for game scripting, with elegant syntax, powerful features and competitive performance. pocketpy has no dependencies other than the C standard library, which can be easily integrated into your C/C++ project.
pkpy is extremely easy to embed via a single header file `pocketpy.h`, without external dependencies. Developers are able to write Python bindings via C-API or pybind11 compatible interfaces.
Please see https://pocketpy.dev for details and try the following resources. Please see https://pocketpy.dev for details and try the following resources.
+ [Live Python Demo](https://pocketpy.dev/static/web/): Run Python code in your browser + [Live Python Demo](https://pocketpy.dev/static/web/): Run Python code in your browser
<!-- + [Live C++ Examples](https://pocketpy.github.io/examples/): Common usage of pkpy in C++ -->
## Supported Platforms ## Supported Platforms

View File

@ -5,11 +5,10 @@ label: Welcome
# Welcome to pocketpy # Welcome to pocketpy
pkpy is a lightweight(~15K LOC) Python 3.x interpreter for game scripting, written in C11. pocketpy is a portable Python 3.x interpreter, written in C11.
It aims to be an alternative to Lua for game scripting, with elegant syntax, powerful features and competitive performance.
It aims to be an alternative to lua for game scripting, with elegant syntax, powerful features and competitive performance. pocketpy has no dependencies other than the C standard library, which can be easily integrated into your C/C++ project.
pkpy is extremely easy to embed via a single header file `pocketpy.h`, without external dependencies. Developers are able to write Python bindings via C-API or pybind11 compatible interfaces.
## What it looks like ## What it looks like