ds-lang-ast
Desert Sage (DS) programs as syntax trees, shaped like Python's ast.
Contents
The package ds_ast: a node class for every construct of the DS syntax tree, parse from source to a tree, unparse from a tree back to source, compile from a tree to a .dsc artefact, and Python's ast helpers under their own names (walk, dump, NodeVisitor, NodeTransformer and the rest).
Install
pip install ds-lang-ast
It runs on Python 3.11 or later, and needs no other package. It contains no parser of its own: parse and compile run the DS compiler, dsc, which it does not bundle. It runs the first of $DS_AST_DSC, $DS_MERCURY_DSC and dsc on PATH. The dsc of the same DS release writes the trees it reads.
Reference
The API is ds_ast in The DS Bindings Reference.
Project
Licence
BSD-4-Clause OR AGPL-3.0-or-later: either licence, at the user's choice. LICENSE holds both texts.
Metadata
Release files for ds-lang-ast 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ds_lang_ast-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for ds_lang_ast-1.1.1-py3-none-any.whl |
Release files / ds_lang_ast-1.1.1-py3-none-any.whl
| Download URL | ds_lang_ast-1.1.1-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f6522b3b2cd0199d88d2a4986259138254fd44cd12c2c2b5db660a4fe57fceb
|
|
BLAKE2b-256 checksum How to use checksums |
995aad150340ea2972e21e1e7182cc612609a098e9f33b093de8116c858dc5cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.14
|
Security for ds-lang-ast 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.