This commit is contained in:
blueloveTH 2024-04-24 16:07:03 +08:00
parent 372446c1d2
commit ba09567e08
7 changed files with 9 additions and 15 deletions

View File

@ -45,7 +45,7 @@ You have two options to integrate pkpy into your project.
#### Use the single header file
Download the `pocketpy.h` on our [GitHub Release](https://github.com/pocketpy/pocketpy/releases) page.
And `#include` it in your project. It is recommended to use the latest dev version.
And `#include` it in your project. The header can only be included once.
#### Use CMake

View File

@ -3,8 +3,11 @@ icon: dot
title: Debugging
---
After `v1.4.5`, you can invoke `breakpoint()` in your python code
to start a PDB-like session.
!!!
This feature is available in `v1.4.5` or higher.
!!!
You can invoke `breakpoint()` in your python code to start a PDB-like session.
The following commands are supported:

View File

@ -5,10 +5,6 @@ title: Goto Statement
pkpy supports goto/label just like C. You are allowed to **change the control flow unconditionally**.
!!!
This feature is stable after v1.2.2.
!!!
## Define a label
```

View File

@ -8,11 +8,6 @@ Unlike cpython, pkpy's `int` is of limited precision (64-bit).
For arbitrary sized integers, we provide a builtin `long` type, just like python2's `long`.
`long` is implemented via pure python in [_long.py](https://github.com/pocketpy/pocketpy/blob/main/python/_long.py).
!!!
This feature is still under development.
Some operations are missing, and some operations are not optimized.
!!!
### Create a long object
You can use `L` suffix to create a `long` literal from a decimal literal.

View File

@ -9,7 +9,7 @@ You have two options to integrate pkpy into your project.
#### Use the single header file
Download the `pocketpy.h` on our [GitHub Release](https://github.com/pocketpy/pocketpy/releases) page.
And `#include` it in your project. It is recommended to use the latest dev version.
And `#include` it in your project. The header can only be included once.
#### Use CMake

View File

@ -3,7 +3,7 @@ output: .retype
url: https://pocketpy.dev
branding:
title: pocketpy
label: v1.4.5
label: v1.4.6
logo: "./static/logo.png"
favicon: "./static/logo.png"
meta: