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.1.37.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.37-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syncraft-0.1.37.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.37.tar.gz
Algorithm Hash digest
SHA256 7c6080a6ee728781c9091592a8bb58cff0fc70ddbff085b2fb7d67b2c4dba0b0
MD5 966b7f1fc260956d92fc504d639c0661
BLAKE2b-256 92da0afbb2d577c6e518e5377419a38813b6cabfa60c9b38edf739b0e357a5c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syncraft-0.1.37-py3-none-any.whl
  • Upload date:
  • Size: 30.8 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.37-py3-none-any.whl
Algorithm Hash digest
SHA256 40fa1db5d4c4c3773002a09bcf46c26f9e1657f5072328dcf4dd7d83b9650b6a
MD5 42fe817290b8b73566714820f83b89e3
BLAKE2b-256 aa6e06ddc913906669c65f540faf2c64b13ccfa773a4d160c2cef905fffd242a

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