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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncraft-0.2.1.tar.gz
  • Upload date:
  • Size: 30.0 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.1.tar.gz
Algorithm Hash digest
SHA256 341ffcc106649fe1e805bbf0b4c64394592b0339cead0ad1ed6e9fd2ad5e03f1
MD5 39cfba4c4f4d703a3b6b77283e938381
BLAKE2b-256 051e84f25194bd7222e6bd4862c613f3614e47f4eba25b566fa872e12d6cb0ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncraft-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 30.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 111aa51930b4ed9dbf0f81d0bdbbf35eb7cd97c3d4333b3a13b149c274b481bd
MD5 07ea731c198bb1962bd1d54c1efa98df
BLAKE2b-256 ba88714a2cdbd301f0e4392c50248938b8e9d7ea16467dea845202e095514b1d

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