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.0b1.tar.gz (31.4 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.0b1-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

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

Hashes for tiferet_ly-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 d69bc219ebfa9f481e496cdddc8d5d835eb1ef1fd175e2eb1c6719c149dbf2d8
MD5 aa81cfddf2533d4f848973d0a52501fa
BLAKE2b-256 fb9a5a2b7edd1cff25a773da1402b838629efe0f778c5b4a3a3c3b9429adcd60

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_ly-1.0.0b1.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.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

Hashes for tiferet_ly-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 21ae0dba849f30bf434f33304299570a5f5b2223ce34f038c4218aae808f75f1
MD5 d0c753550dcffa3ec622c63bc706260d
BLAKE2b-256 47caf0e013e3daf4958c6b2ca41c6075178a7b8f566961dfdc03a0524458bb7a

See more details on using hashes here.

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

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.0b1 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