mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
update readme
This commit is contained in:
parent
c7bab88587
commit
49c68d16cd
@ -43,6 +43,7 @@ Please see https://pocketpy.dev for details or try [Live Demo](https://bluelovet
|
|||||||
| Context Block | `with <expr> as <id>:` | YES |
|
| Context Block | `with <expr> as <id>:` | YES |
|
||||||
| Type Annotation | `def f(a:int, b:float=1)` | YES |
|
| Type Annotation | `def f(a:int, b:float=1)` | YES |
|
||||||
| Generator | `yield i` | YES |
|
| Generator | `yield i` | YES |
|
||||||
|
| Decorator | `@cache` | YES |
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
@ -175,13 +176,7 @@ Check our [Coding Style Guide](https://pocketpy.dev/coding_style_guide/) if you
|
|||||||
|
|
||||||
An excellent learning material. It illustrates how Python's virtual machine works.
|
An excellent learning material. It illustrates how Python's virtual machine works.
|
||||||
|
|
||||||
+ [emhash](https://github.com/ktprime/emhash)
|
|
||||||
|
|
||||||
A very fast and memory efficient c++ flat hash map/set. In our test case, it is 40% faster than `std::unordered_map`.
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
PocketPy is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
PocketPy is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
PocketPy uses [emhash](https://github.com/ktprime/emhash)(MIT License) to implement Python's internal `__dict__` object.
|
|
||||||
|
@ -39,6 +39,7 @@ PocketPy是一个轻量级的Python解释器,为嵌入至游戏引擎而设计
|
|||||||
| 上下文管理器 | `with <expr> as <id>:` | YES |
|
| 上下文管理器 | `with <expr> as <id>:` | YES |
|
||||||
| 类型标注 | `def f(a:int, b:float=1)` | YES |
|
| 类型标注 | `def f(a:int, b:float=1)` | YES |
|
||||||
| 生成器 | `yield i` | YES |
|
| 生成器 | `yield i` | YES |
|
||||||
|
| 装饰器 | `@cache` | YES |
|
||||||
|
|
||||||
## 快速上手
|
## 快速上手
|
||||||
|
|
||||||
@ -149,11 +150,8 @@ flutter pub add pocketpy
|
|||||||
## 参考
|
## 参考
|
||||||
|
|
||||||
+ [cpython](https://github.com/python/cpython)
|
+ [cpython](https://github.com/python/cpython)
|
||||||
|
|
||||||
+ [byterun](http://qingyunha.github.io/taotao/)
|
+ [byterun](http://qingyunha.github.io/taotao/)
|
||||||
|
|
||||||
+ [emhash](https://github.com/ktprime/emhash)
|
|
||||||
|
|
||||||
## 开源协议
|
## 开源协议
|
||||||
|
|
||||||
MIT License
|
MIT License
|
Loading…
x
Reference in New Issue
Block a user