yoav-lavi/melody
Melody is a language that compiles to regular expressions and aims to be more readable and maintainable observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1662
- days_rel: 647
- days_push: 647
- n_releases_24m: 1
Adoption not part of the score
4743 stars · 58 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Melody is a domain-specific language that compiles to ECMAScript regular expressions, designed to be more readable and maintainable than raw regex. It includes a Rust compiler crate, a CLI, and a web playground.
Use cases
- write readable regex alternatives
- compile a dsl to regular expressions
- maintain complex regex patterns in a codebase
- teach regex concepts with friendlier syntax
- convert melody source to ecmascript regex
When to choose
- you find raw regex hard to read or maintain
- you want a dsl that compiles to standard regex
- you work in a Rust or CLI-based toolchain
When to avoid
- you need regex features beyond ECMAScript regex
- you only need simple patterns where regex is already clear
- you need a mature, widely-adopted tool
Facets
library · maturity active
compiler parser developer-tools programming-languages parsers developer-tools rust cli cross-platform regex regular-expressions dsl readability compiler-to-regex
2 sources
- readme: https://github.com/yoav-lavi/melody · fetched 2026-08-28 · d28ab662b0d9
- homepage: https://yoav-lavi.github.io/melody/book/ · fetched 2026-08-29 · 972138ac0d4a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yoav-lavi/melody | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="yoav-lavi/melody")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem