Skip to main content
Pre-release

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

tiferet_ly-1.0.0b2.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiferet_ly-1.0.0b2-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file tiferet_ly-1.0.0b2.tar.gz.

File metadata

  • Download URL: tiferet_ly-1.0.0b2.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tiferet_ly-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 631e68abbde2511e351169091b7889f76e08dfa22b9e612a391a951184abf61f
MD5 c867a8b4bc6413dd69540f46f7abe402
BLAKE2b-256 2babb403d79da6934b130a77d9f059dfeca184e1bbf74bfa69e9b4df7e8b8897

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_ly-1.0.0b2.tar.gz:

Publisher: python-publish.yml on greatstrength/tiferet-ly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tiferet_ly-1.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: tiferet_ly-1.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tiferet_ly-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c48e1666344678eea17b6f6d79b822ca7232c390b37d9caa7c98874844081e1
MD5 b060b433d73cf28287c9d3aa9449de5a
BLAKE2b-256 ca747cad826ec1c296ada589830d2108b2c8e1a5bc683fc66c6af56bc39bba7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_ly-1.0.0b2-py3-none-any.whl:

Publisher: python-publish.yml on greatstrength/tiferet-ly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.0b2 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page