DyLan, the Dynamic Syntax parser in Python
Project description
dynamicsyntax
dynamicsyntax is the python implementation of DyLan the Dynamic Syntax parser. It has been (vibe) translated from Java to Python by @incrementaliser, and is still under development.
Installation
You need uv and a Python that satisfies >=3.11.
- Create a virtual environment with a fixed Python version (run this in the directory where you want
.venv, e.g. the repo root for a clone):
uv venv --python 3.11 # or 3.12 or 3.13
- Activate it. On Linux or macOS:
source .venv/bin/activate
On Windows, use .venv\Scripts\activate (cmd) or .\.venv\Scripts\Activate.ps1 (PowerShell).
3. Install into that environment, using the published package from PyPI:
uv pip install dynamicsyntax
Examples
For some code examples of the parser in action, check out this notebook:
Get Involved
Contributions (issues, PRs, donations (spent on coffee/LLM credits!)) are very welcome! Please see CONTRIBUTING.md for more details.
Note Since this project has been translated using Cursor and tested only on Windows, there is a small chance errors exist. I would be grateful if you could report them to me through the above channels. Although, it is important to mention that some of the most critical methods here have been verified via unit tests, so there is a high chance the migration from Java has been correct so far.
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
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
File details
Details for the file dynamicsyntax-0.2.4.tar.gz.
File metadata
- Download URL: dynamicsyntax-0.2.4.tar.gz
- Upload date:
- Size: 351.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53d7b78f8db77723e6afac9fa9a32444ba6404987a71719308e3e31bcfad3afa
|
|
| MD5 |
c38b76ab79fce2781cd4f1bfa55b6377
|
|
| BLAKE2b-256 |
72dec0c62a8ec36852f89bf0b3d9e33bad7ba00aae0ff655336b4a7702ca6aab
|
Provenance
The following attestation bundles were made for dynamicsyntax-0.2.4.tar.gz:
Publisher:
release.yml on incrementaliser/DynamicSyntax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamicsyntax-0.2.4.tar.gz -
Subject digest:
53d7b78f8db77723e6afac9fa9a32444ba6404987a71719308e3e31bcfad3afa - Sigstore transparency entry: 1479623174
- Sigstore integration time:
-
Permalink:
incrementaliser/DynamicSyntax@3675379dbaba0ba0a96c363ac3e0a75ab9694bbb -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/incrementaliser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3675379dbaba0ba0a96c363ac3e0a75ab9694bbb -
Trigger Event:
push
-
Statement type:
File details
Details for the file dynamicsyntax-0.2.4-py3-none-any.whl.
File metadata
- Download URL: dynamicsyntax-0.2.4-py3-none-any.whl
- Upload date:
- Size: 213.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5711c6e526c9e83f2613b0b53bbe686f44056cc463e5742423d1d51760a13d91
|
|
| MD5 |
86070bb5894ee6fe5fb27d5975c9e74c
|
|
| BLAKE2b-256 |
0e8f9ce22ce167ad4faebc5854f413949be046875705a9f94e3f1ba61cc4126a
|
Provenance
The following attestation bundles were made for dynamicsyntax-0.2.4-py3-none-any.whl:
Publisher:
release.yml on incrementaliser/DynamicSyntax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamicsyntax-0.2.4-py3-none-any.whl -
Subject digest:
5711c6e526c9e83f2613b0b53bbe686f44056cc463e5742423d1d51760a13d91 - Sigstore transparency entry: 1479623235
- Sigstore integration time:
-
Permalink:
incrementaliser/DynamicSyntax@3675379dbaba0ba0a96c363ac3e0a75ab9694bbb -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/incrementaliser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3675379dbaba0ba0a96c363ac3e0a75ab9694bbb -
Trigger Event:
push
-
Statement type: