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.0b3.tar.gz (37.3 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.0b3-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tiferet_ly-1.0.0b3.tar.gz
  • Upload date:
  • Size: 37.3 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.0b3.tar.gz
Algorithm Hash digest
SHA256 37e96d482ec0795c8d7428239ab18e3f240caee03a360d4668475bb02a3b468c
MD5 2074f6eb86ba71737e4cb59cee521e54
BLAKE2b-256 7d2c92a59b965e59f2086fbc63224c9e548b6f87ecf991c749697ba04c160f09

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_ly-1.0.0b3.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.0b3-py3-none-any.whl.

File metadata

  • Download URL: tiferet_ly-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 57.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.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 9453252d9d142d453ce37cd3e1525e105957f1fa7a9fd851bb6273f517f52ccc
MD5 d93742f35ff782193e17b80377fb33fa
BLAKE2b-256 97a14443fe389db0829ea798d692e903b40a4cd925fc2f8ea8b47900eea32e77

See more details on using hashes here.

Provenance

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