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.30.tar.gz
(29.4 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.30-py3-none-any.whl
(30.4 kB
view details)
File details
Details for the file syncraft-0.1.30.tar.gz.
File metadata
- Download URL: syncraft-0.1.30.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382b211110e3513d414c45d6a6996f2927072eec6852c221703122f2e2bb3cc4
|
|
| MD5 |
c4e1b6e4012a65a451c4669c5ddb0989
|
|
| BLAKE2b-256 |
ba325751284ca34a90a03d9b7c14943f9f37d388a6a09fc12f86fd42a09170a9
|
File details
Details for the file syncraft-0.1.30-py3-none-any.whl.
File metadata
- Download URL: syncraft-0.1.30-py3-none-any.whl
- Upload date:
- Size: 30.4 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 |
312ca7baf7fe78687a17b075a6d87a43cb355148820ce82c38ceda7adb91ac4d
|
|
| MD5 |
d4a0ac7320c09a971aede36ea4b8891f
|
|
| BLAKE2b-256 |
13af41c67630b8cc73368381314d2a60de00fff3323e567a6868c9cef538a225
|