Read and process Python subset
Project description
PLG-READER
PLG-READER - это токенизатор (лексер) для компилятора py2glua. Он читает файлы разных типов и превращает их в единый список IR-токенов.
Библиотека не выполняет код.
Зачем нужна эта библиотека?
Чтобы компилятор мог единообразно читать все четыре типа файлов и сразу получать IR с правильными метками.
Поддерживаемые типы файлов
| Расширение | Что это на самом деле |
|---|---|
.py |
Обычный Python-код |
.pyi |
Файл-описатель (stub) |
.plg-d |
Алиас на внешний аддон (динамическая ссылка) |
.plg-s |
Код, компилируемый внутрь аддона (статический) |
ТЕХ ДОЛГ
- Выписать ошибки более человеческим языком
- Нормально пинпоинтеть позицию ошибок (наверное имеет смысл сделать чё-то типо как в питоне?)
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
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 pylovegmod_reader-0.0.1.tar.gz.
File metadata
- Download URL: pylovegmod_reader-0.0.1.tar.gz
- Upload date:
- Size: 65.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85c57c6a318335df0c8709b8b5e7aca3b727d9342cd0660091de9da468caaa67
|
|
| MD5 |
f6201d3966b1ea985cf4d6a86bf58b8a
|
|
| BLAKE2b-256 |
65cd7e592a02f25b804336e170ea7da5201be3db6111b6a179f3b6a8ce74db92
|
Provenance
The following attestation bundles were made for pylovegmod_reader-0.0.1.tar.gz:
Publisher:
publish.yml on py-love-gmod/plg-reader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylovegmod_reader-0.0.1.tar.gz -
Subject digest:
85c57c6a318335df0c8709b8b5e7aca3b727d9342cd0660091de9da468caaa67 - Sigstore transparency entry: 1562831687
- Sigstore integration time:
-
Permalink:
py-love-gmod/plg-reader@af890b3184baf553c64ac5b0f8cc13e08716b91d -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/py-love-gmod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@af890b3184baf553c64ac5b0f8cc13e08716b91d -
Trigger Event:
release
-
Statement type:
File details
Details for the file pylovegmod_reader-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pylovegmod_reader-0.0.1-py3-none-any.whl
- Upload date:
- Size: 70.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
052829bc1735cb2ab0f8f91684bb7be1fdfdf0495b0dd43e2e1105781b0b03ec
|
|
| MD5 |
e5be544652d0e48a81dca468847add9b
|
|
| BLAKE2b-256 |
c178fca9508707b96599fa2e95fb874c46297eb74e250bbeb1c71146cd53630f
|
Provenance
The following attestation bundles were made for pylovegmod_reader-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on py-love-gmod/plg-reader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylovegmod_reader-0.0.1-py3-none-any.whl -
Subject digest:
052829bc1735cb2ab0f8f91684bb7be1fdfdf0495b0dd43e2e1105781b0b03ec - Sigstore transparency entry: 1562831698
- Sigstore integration time:
-
Permalink:
py-love-gmod/plg-reader@af890b3184baf553c64ac5b0f8cc13e08716b91d -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/py-love-gmod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@af890b3184baf553c64ac5b0f8cc13e08716b91d -
Trigger Event:
release
-
Statement type: