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

  • 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.2.2.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.2.2-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncraft-0.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 fcd14acd65acbe762544a86a2d55ec0666f03f8c6b13e2747b8b11dba9e7aa89
MD5 00e447b8c7a654ab29ac95e1efa3a3cd
BLAKE2b-256 f97f88f5fb80e8b5dffe636e8a9d38c8d91f1d9cfc15748857f920c08135224d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncraft-0.2.2-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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95a8cf9b01551b55bcc0e23de70790164fa77754301fed6c124731c4017fe438
MD5 4f48749598543c6949a2284fdf596ff1
BLAKE2b-256 58d22bf0d7288c022de9fc85bea01c9e97f0184a2fddaffa47f07835fd25da67

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