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
  • SQLite syntax support included

Installation

pip install syncraft

TODO

  • convert to dict/dataclass via bimap in syntax
  • define DSL over Variable to construct predicates
  • Try the parsing, generation, and data processing machinery on SQLite3 syntax. So that I can have direct feedback on the usability of this library and a fully functional SQLite3 library.
  • Make the library as fast as possible and feasible.

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.34.tar.gz (30.3 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.34-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncraft-0.1.34.tar.gz
  • Upload date:
  • Size: 30.3 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.34.tar.gz
Algorithm Hash digest
SHA256 a47db9d48576af637d2c31638e4bbf77b2e0495ff3e003fe5f6f673e6b07c9f7
MD5 64f21c00053cd693f1b0f12e38a349ee
BLAKE2b-256 99901858d34edb825e77214664b9864ad3c0ed05a9f275b7a0ec5052da0a4c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncraft-0.1.34-py3-none-any.whl
  • Upload date:
  • Size: 30.7 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.34-py3-none-any.whl
Algorithm Hash digest
SHA256 c1eed5c220ca555557fc63dc772f20743d3711b766378d6c18df0a9debefbcae
MD5 2198f7be39f65ec2ac09a90d98df91e1
BLAKE2b-256 f354a1a0a3c98be3a66a96ce38691be63fa098faa4e69c43b9248ae4cd65cf1b

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