Skip to main content

Parser combinator library

Project description

Syncraft

Syncraft is a parser/generator combinator library with full round-trip support:

  • Parse source code into AST or dataclasses
  • Generate source code from dataclasses
  • Bidirectional transformations via lenses
  • Convenience combinators: all, first, last, named
  • SQLite syntax support included

Installation

pip install syncraft

TODO

  • Test Walker.get/set for bidirectional mapping between source code and data class
  • Annotate sqlite3 grammar with named nodes and data classes

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

syncraft-0.1.19.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

syncraft-0.1.19-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file syncraft-0.1.19.tar.gz.

File metadata

  • Download URL: syncraft-0.1.19.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for syncraft-0.1.19.tar.gz
Algorithm Hash digest
SHA256 4a161ffeb14df07106b983ab9bdeb3efee91d1f1281f9fb00308f2bb48ae6a04
MD5 cf62de00274258fdff339b2c69672fea
BLAKE2b-256 bcee45db38816b612bc295cca6530a3d0cf117ae2e402d7cb43824dae7f38999

See more details on using hashes here.

File details

Details for the file syncraft-0.1.19-py3-none-any.whl.

File metadata

  • Download URL: syncraft-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for syncraft-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0665ecf8da93bc4c911d016c2bbd9c00f726c1bf9fea31f12a4268a6c3f7fb
MD5 6ef32909fedaabcf72182daf31e6c39f
BLAKE2b-256 d4bbd74049b7fadd5f4515d44efca74d328ebb79d75519cad5dbf3112ce8501e

See more details on using hashes here.

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