mirror of
https://github.com/pocketpy/pocketpy
synced 2026-08-05 05:37:10 +08:00
bump to v2.2.0
This commit is contained in:
parent
4e2b40db2d
commit
beb1557d00
14
README.md
14
README.md
@ -195,6 +195,7 @@ And these are the results of the primes benchmark on Intel i5-12400F, WSL (Ubunt
|
|||||||
|
|
||||||
| | Description |
|
| | Description |
|
||||||
|-----------------------------------------------------------------|--------------------------------------------------------------------------|
|
|-----------------------------------------------------------------|--------------------------------------------------------------------------|
|
||||||
|
| [Tesselmax.EM](https://fdtd.io) | Distributed electromagnetic field simulator for silicon photonics and RF/interconnect design. |
|
||||||
| [godot-pocketpy](https://github.com/pocketpy/godot-pocketpy) | Godot extension for using pocketpy in Godot Engine. |
|
| [godot-pocketpy](https://github.com/pocketpy/godot-pocketpy) | Godot extension for using pocketpy in Godot Engine. |
|
||||||
| [TIC-80](https://github.com/nesbox/TIC-80) | TIC-80 is a fantasy computer for making, playing and sharing tiny games. |
|
| [TIC-80](https://github.com/nesbox/TIC-80) | TIC-80 is a fantasy computer for making, playing and sharing tiny games. |
|
||||||
| [py-js](https://github.com/shakfu/py-js) | Python3 externals for Max / MSP. |
|
| [py-js](https://github.com/shakfu/py-js) | Python3 externals for Max / MSP. |
|
||||||
@ -215,7 +216,7 @@ All kinds of contributions are welcome. Please read [CONTRIBUTING.md](CONTRIBUTI
|
|||||||
- any suggestions
|
- any suggestions
|
||||||
- any questions
|
- any questions
|
||||||
|
|
||||||
If you find pkpy useful, consider star this repository (●'◡'●)
|
If you find pkpy useful, consider star this repository.
|
||||||
|
|
||||||
## Sponsor this project
|
## Sponsor this project
|
||||||
|
|
||||||
@ -226,6 +227,17 @@ You can sponsor this project via these ways.
|
|||||||
|
|
||||||
Your sponsorship will help us develop pkpy continuously.
|
Your sponsorship will help us develop pkpy continuously.
|
||||||
|
|
||||||
|
## Premium Supporter
|
||||||
|
|
||||||
|
Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy.
|
||||||
|
|
||||||
|
Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon
|
||||||
|
photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters).
|
||||||
|
Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive
|
||||||
|
geometry, materials, sources, and post-processing.
|
||||||
|
|
||||||
|
Website: [https://fdtd.io](https://fdtd.io)
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
|
|
||||||
+ [cpython](https://github.com/python/cpython)
|
+ [cpython](https://github.com/python/cpython)
|
||||||
|
|||||||
@ -51,7 +51,7 @@ On Windows platform, only MSVC compiler is officially supported.
|
|||||||
|
|
||||||
## Star the repo
|
## Star the repo
|
||||||
|
|
||||||
If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy) (●'◡'●)
|
If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy).
|
||||||
|
|
||||||
## Sponsor this project
|
## Sponsor this project
|
||||||
|
|
||||||
@ -62,6 +62,17 @@ You can sponsor this project via these ways.
|
|||||||
|
|
||||||
Your sponsorship will help us develop pkpy continuously.
|
Your sponsorship will help us develop pkpy continuously.
|
||||||
|
|
||||||
|
## Premium Supporter
|
||||||
|
|
||||||
|
Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy.
|
||||||
|
|
||||||
|
Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon
|
||||||
|
photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters).
|
||||||
|
Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive
|
||||||
|
geometry, materials, sources, and post-processing.
|
||||||
|
|
||||||
|
Website: [https://fdtd.io](https://fdtd.io)
|
||||||
|
|
||||||
## Upgrade to v2.0
|
## Upgrade to v2.0
|
||||||
|
|
||||||
pkpy v2.0 is a C11 project instead of C++17. All your existing code for v1.x won't work anymore.
|
pkpy v2.0 is a C11 project instead of C++17. All your existing code for v1.x won't work anymore.
|
||||||
|
|||||||
@ -3,7 +3,7 @@ output: .retype
|
|||||||
url: https://pocketpy.dev
|
url: https://pocketpy.dev
|
||||||
branding:
|
branding:
|
||||||
title: pocketpy
|
title: pocketpy
|
||||||
label: v2.1.9
|
label: v2.2.0
|
||||||
logo: "./static/logo.png"
|
logo: "./static/logo.png"
|
||||||
favicon: "./static/logo.png"
|
favicon: "./static/logo.png"
|
||||||
meta:
|
meta:
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
#define PK_VERSION "2.1.9"
|
#define PK_VERSION "2.2.0"
|
||||||
#define PK_VERSION_MAJOR 2
|
#define PK_VERSION_MAJOR 2
|
||||||
#define PK_VERSION_MINOR 1
|
#define PK_VERSION_MINOR 2
|
||||||
#define PK_VERSION_PATCH 9
|
#define PK_VERSION_PATCH 0
|
||||||
|
|
||||||
/*************** feature settings ***************/
|
/*************** feature settings ***************/
|
||||||
#ifndef PK_ENABLE_OS // can be overridden by cmake
|
#ifndef PK_ENABLE_OS // can be overridden by cmake
|
||||||
|
|||||||
@ -35,7 +35,7 @@ A new Flutter FFI plugin project.
|
|||||||
|
|
||||||
s.prepare_command = <<-CMD
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
rm -rf pocketpy
|
||||||
git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git
|
git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||||
cd pocketpy
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_ios_libs.sh
|
bash build_ios_libs.sh
|
||||||
|
|||||||
@ -32,7 +32,7 @@ A new Flutter FFI plugin project.
|
|||||||
|
|
||||||
s.prepare_command = <<-CMD
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
rm -rf pocketpy
|
||||||
git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git
|
git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||||
cd pocketpy
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_darwin_libs.sh
|
bash build_darwin_libs.sh
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
name: pocketpy
|
name: pocketpy
|
||||||
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
||||||
version: 2.1.9
|
version: 2.2.0
|
||||||
homepage: https://pocketpy.dev
|
homepage: https://pocketpy.dev
|
||||||
repository: https://github.com/pocketpy/pocketpy
|
repository: https://github.com/pocketpy/pocketpy
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
pocketpy
|
pocketpy
|
||||||
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
||||||
GIT_TAG v2.1.9
|
GIT_TAG v2.2.0
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(pocketpy)
|
FetchContent_MakeAvailable(pocketpy)
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
// Magic number for CodeObject serialization: "CO" = 0x434F
|
// Magic number for CodeObject serialization: "CO" = 0x434F
|
||||||
#define CODEOBJECT_MAGIC 0x434F
|
#define CODEOBJECT_MAGIC 0x434F
|
||||||
#define CODEOBJECT_VER_MAJOR 1
|
#define CODEOBJECT_VER_MAJOR 1
|
||||||
#define CODEOBJECT_VER_MINOR 0
|
#define CODEOBJECT_VER_MINOR 1
|
||||||
#define CODEOBJECT_VER_MINOR_MIN 0
|
#define CODEOBJECT_VER_MINOR_MIN 1
|
||||||
|
|
||||||
// Forward declarations
|
// Forward declarations
|
||||||
static void FuncDecl__serialize(c11_serializer* s,
|
static void FuncDecl__serialize(c11_serializer* s,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user