Skip to main content

Read and process Python subset

Project description

PLG-READER

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

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

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

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

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

Расширение Что это на самом деле
.py Обычный Python-код
.pyi Файл-описатель (stub)
.plg-d Алиас на внешний аддон (динамическая ссылка)
.plg-s Код, компилируемый внутрь аддона (статический)

ТЕХ ДОЛГ

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

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.1.post1.tar.gz (65.2 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.1.post1-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

Details for the file pylovegmod_reader-0.0.1.post1.tar.gz.

File metadata

  • Download URL: pylovegmod_reader-0.0.1.post1.tar.gz
  • Upload date:
  • Size: 65.2 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.1.post1.tar.gz
Algorithm Hash digest
SHA256 7df8ef0c0fc879b5ad884a58594c0c0601cc7e19af571c24a6db4a13aeb11f53
MD5 8dc9c2c967937c2676826c3498611776
BLAKE2b-256 f4b5f09320002f5f19dae9c7001f00fb46715d0445fd800a22625a2dcd874ca2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pylovegmod_reader-0.0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6974b060b5af31adfbe0c56e9e1d7a2a13d673a1e8ef7c889bc6130b25ecf2d
MD5 59cb6c767d9d3ac22faece819a49fbd1
BLAKE2b-256 010bd478e5cb0dd319f5228cd894af14a87e597e55915cb01cfbc79b659b23e4

See more details on using hashes here.

Provenance

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