This release is a pre-release and may not be stable for production use.
tiferet-ly
A Lex/Yacc Wrapper built with Tiferet
Overview
tiferet-ly lets you describe a small language — its words and the sentence patterns it accepts — as a declared list instead of hand-written code. Hand tiferet-ly that declaration and get back a working reader for text written in that language, built on Python's well-established Lex/Yacc engine (PLY). Adding a new keyword or sentence pattern becomes an edit to the declaration rather than a new function buried in a growing file, and the pieces around it can be tested without invoking the real parsing engine at all.
How it works
tiferet-ly runs every declared language through the same four-step
journey: declare a language's words and sentence patterns as YAML
catalogues (tokens, productions, grammars); translate each
declared rule into the literal function or string PLY's own conventions
require; assemble a lexer and parser for one grammar's effective rule
set; read text written in that language and hand back a structured
result — optionally a small, generic AstNode tree, rendered as a string
on request.
See Quick Start for a runnable, worked example (a
small calculator language) that walks through all four steps against the
checked-in configs/ example application.
Documentation
- Quick Start — a runnable, end-to-end example.
- Domain Vision Statement — what tiferet-ly is for and the value it aims to provide.
- Core Domain Distillation — the technical breakdown of its intended vocabulary, behaviors, and design commitments.
- AGENTS.md — orientation for contributors and AI agents working in this repository.
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 tiferet_ly-1.0.0b1.tar.gz.
File metadata
- Download URL: tiferet_ly-1.0.0b1.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d69bc219ebfa9f481e496cdddc8d5d835eb1ef1fd175e2eb1c6719c149dbf2d8
|
|
| MD5 |
aa81cfddf2533d4f848973d0a52501fa
|
|
| BLAKE2b-256 |
fb9a5a2b7edd1cff25a773da1402b838629efe0f778c5b4a3a3c3b9429adcd60
|
Provenance
The following attestation bundles were made for tiferet_ly-1.0.0b1.tar.gz:
Publisher:
python-publish.yml on greatstrength/tiferet-ly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiferet_ly-1.0.0b1.tar.gz -
Subject digest:
d69bc219ebfa9f481e496cdddc8d5d835eb1ef1fd175e2eb1c6719c149dbf2d8 - Sigstore transparency entry: 2536402743
- Sigstore integration time:
-
Permalink:
greatstrength/tiferet-ly@7027834d3699afa77bcb99e5a41d17445ecb73d0 -
Branch / Tag:
refs/tags/v1.0.0b1 - Owner: https://github.com/greatstrength
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7027834d3699afa77bcb99e5a41d17445ecb73d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tiferet_ly-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: tiferet_ly-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21ae0dba849f30bf434f33304299570a5f5b2223ce34f038c4218aae808f75f1
|
|
| MD5 |
d0c753550dcffa3ec622c63bc706260d
|
|
| BLAKE2b-256 |
47caf0e013e3daf4958c6b2ca41c6075178a7b8f566961dfdc03a0524458bb7a
|
Provenance
The following attestation bundles were made for tiferet_ly-1.0.0b1-py3-none-any.whl:
Publisher:
python-publish.yml on greatstrength/tiferet-ly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiferet_ly-1.0.0b1-py3-none-any.whl -
Subject digest:
21ae0dba849f30bf434f33304299570a5f5b2223ce34f038c4218aae808f75f1 - Sigstore transparency entry: 2536402777
- Sigstore integration time:
-
Permalink:
greatstrength/tiferet-ly@7027834d3699afa77bcb99e5a41d17445ecb73d0 -
Branch / Tag:
refs/tags/v1.0.0b1 - Owner: https://github.com/greatstrength
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7027834d3699afa77bcb99e5a41d17445ecb73d0 -
Trigger Event:
release
-
Statement type: