mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
up
This commit is contained in:
parent
382b65476d
commit
bcedb2f6d7
10
README.md
10
README.md
@ -1,12 +1,18 @@
|
||||
# pocketpy
|
||||
# PocketPy
|
||||
|
||||
<p>
|
||||
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
||||
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
||||
<a href="https://github.com/blueloveth/pocketpy/releases">
|
||||
<img alt="GitHub release" src="https://img.shields.io/github/release/blueloveth/pocketpy.svg"></a>
|
||||
<a title="Pub" href="https://pub.dev/packages/pocketpy" ><img src="https://img.shields.io/pub/v/pocketpy" /></a>
|
||||
<a title="Discord" href="https://discord.gg/WWaq72GzXv" ><img src="https://img.shields.io/discord/1048978026131640390" /></a>
|
||||
</p>
|
||||
|
||||
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).
|
||||
|
30
README_zh.md
Normal file
30
README_zh.md
Normal file
@ -0,0 +1,30 @@
|
||||
# PocketPy
|
||||
|
||||
<p>
|
||||
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
||||
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
||||
<a href="https://github.com/blueloveth/pocketpy/releases">
|
||||
<img alt="GitHub release" src="https://img.shields.io/github/release/blueloveth/pocketpy.svg"></a>
|
||||
<a title="Pub" href="https://pub.dev/packages/pocketpy" ><img src="https://img.shields.io/pub/v/pocketpy" /></a>
|
||||
<a title="Discord" href="https://discord.gg/WWaq72GzXv" ><img src="https://img.shields.io/discord/1048978026131640390" /></a>
|
||||
</p>
|
||||
PocketPy 是一个轻量级的Python解释器,为嵌入至游戏引擎而设计。
|
||||
|
||||
它包含一个编译器和基于字节码的虚拟机,以及交互式命令窗的实现。所有功能均集成在单个头文件`pocketpy.h`中,不包含外部依赖项,能很方便地嵌入至你的应用。
|
||||
|
||||
请查阅 https://pocketpy.dev 获取更多细节,或者尝试 [在线Demo](https://blueloveth.github.io/pocketpy)。
|
||||
|
||||

|
||||
|
||||
## 参考
|
||||
|
||||
+ [cpython](https://github.com/python/cpython)
|
||||
|
||||
+ [byterun](http://qingyunha.github.io/taotao/)
|
||||
|
||||
+ [emhash](https://github.com/ktprime/emhash)
|
||||
|
||||
## 开源协议
|
||||
|
||||
MIT License
|
Loading…
x
Reference in New Issue
Block a user