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

CLI утилита

clii by James O'Beirne - микро-обёртка над argparse (встроена в пакет сразу, немного изменена чтобы покрыть свои нужды)

ТЕХ ДОЛГ

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

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.12.tar.gz (80.9 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.12-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylovegmod_reader-0.0.12.tar.gz
  • Upload date:
  • Size: 80.9 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.12.tar.gz
Algorithm Hash digest
SHA256 b7aa7ddaf3921b962ebf05f17e197278ad1027f6d6fc88ce436a43636a82b587
MD5 2f89caa132ea83da1d5d9bd96c31bd36
BLAKE2b-256 3e4f413ff9c3fbd6a4494e3b7d3228bff3c5846b0aed8416a16db86dc714c1bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylovegmod_reader-0.0.12.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.12-py3-none-any.whl.

File metadata

File hashes

Hashes for pylovegmod_reader-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3dad7a2f05375dc1b641aecaf94202b4a4e2470b729a544450a1cc962d40cb
MD5 e12537a2440adebbad6d75577eb62b61
BLAKE2b-256 da03c5e15ed3cae4a3a39551c67ceea898c6dff2d3bc445b7b2ce9391ae17735

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylovegmod_reader-0.0.12-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