MiraScript 的 Python 绑定允许在 Python 中使用 MiraScript 编译器。它提供了一个简单的接口来编译 MiraScript 脚本,并返回编译结果和诊断信息。
Project description
MiraScript Python Bindings
MiraScript 的 Python 绑定允许在 Python 中使用 MiraScript 编译器。它提供了一个简单的接口来编译 MiraScript 脚本,并返回编译结果和诊断信息。
开发
-
初始化虚拟环境
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate
-
安装依赖
pip install -r requirements.txt
-
编译并安装 bindings
maturin develop
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mirascript-0.1.2.tar.gz
(170.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mirascript-0.1.2.tar.gz.
File metadata
- Download URL: mirascript-0.1.2.tar.gz
- Upload date:
- Size: 170.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd84a8d4958ff6f1a068a8639b4ee0398db378a936c80b6ac5104aa78fef3159
|
|
| MD5 |
f9ca1d991b7bf1fccca14db670be69ea
|
|
| BLAKE2b-256 |
0ea173b9e9214cb9661d2ee8d936990e720e03ba9b8b38db6f2b7e9fb3828cdf
|
File details
Details for the file mirascript-0.1.2-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: mirascript-0.1.2-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 455.4 kB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b4bcf39155241c2a17f3d02d542b9a2d3fe7db3caf20ad5df8b94c78c71149e
|
|
| MD5 |
996d535f4ba55226e08f3401f08c1344
|
|
| BLAKE2b-256 |
422ad5b50f6d5321e5c1ffae42bcf7d67352f6e30d34bae931d524ad64e08fb3
|