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
Release history Release notifications | RSS feed
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.31.tar.gz
(29.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
syncraft-0.1.31-py3-none-any.whl
(30.6 kB
view details)
File details
Details for the file syncraft-0.1.31.tar.gz.
File metadata
- Download URL: syncraft-0.1.31.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72962ba2b709931a49d11bc6643a6da0c2de9b234af5fb13b208e3c511812fd4
|
|
| MD5 |
7ed82f7c135678845f843eb6770396ad
|
|
| BLAKE2b-256 |
5633d564b391d1b7f1fe8c6837f8863a65ddaa7f6cd7131b6479ea4377aafd2a
|
File details
Details for the file syncraft-0.1.31-py3-none-any.whl.
File metadata
- Download URL: syncraft-0.1.31-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adddc1d45b39ccc08239b4b2a6f826add8f421be5d3aa6dfd6db00f601e6741d
|
|
| MD5 |
0782d1b8e97652fe685b33f99a22c95f
|
|
| BLAKE2b-256 |
4898cc02424e2e0dcbc261c7b9973b79de47070f3724ff80be47b843850de7ac
|