Skip to main content

Read and process Python subset

Project description

PLG-READER

PLG-READER - это парсер и конвертор в IR для компилятора py2glua. Он читает файлы разных типов и превращает их в единый список IR-токенов.

Библиотека не выполняет код который парсит.

Зачем нужна эта библиотека?

Чтобы компилятор мог единообразно читать все четыре типа файлов и сразу получать IR с правильными метками.

Поддерживаемые типы файлов

Расширение Что это на самом деле
.py Обычный Python-код
.pyi Файл-описатель (stub)

Бинарный дампер

Бинарный дампер BinaryRW для стандартных типов python

ТЕХ ДОЛГ

  • Выписать ошибки более человеческим языком
  • Нормально пинпоинтеть позицию ошибок (наверное имеет смысл сделать чё-то типо как в питоне?)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylovegmod_reader-0.0.6.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylovegmod_reader-0.0.6-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

Details for the file pylovegmod_reader-0.0.6.tar.gz.

File metadata

  • Download URL: pylovegmod_reader-0.0.6.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pylovegmod_reader-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1cb4fb4089753ea5fcbed2b8f4d94374b98d7aea58a40e1befb32ddf020550e4
MD5 04e4043ae63e5bd320d9b04e6333d5d0
BLAKE2b-256 4e29f7d1d4c5f65e3a5f80a0c6696e718295ad290fd4a5495e4f2d49f6a2cdab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylovegmod_reader-0.0.6.tar.gz:

Publisher: publish.yml on py-love-gmod/plg-reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylovegmod_reader-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pylovegmod_reader-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0258cf14ce47e099f8474f89fc8a9e64b3984e4b39b77b840daca8ea1a186303
MD5 b197b77cc59530859d64f4b2a8a9496e
BLAKE2b-256 a17f2e44c0f0b4e6dae8f00a356e78de43febdc6cb3e86179e97bb0c04dbd4a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylovegmod_reader-0.0.6-py3-none-any.whl:

Publisher: publish.yml on py-love-gmod/plg-reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page