macOS
brew install melodylocal Homebrew formula metadata
brew
Language that compiles to regular expressions. Version 0.20.0 via Homebrew; verified from local package data.
install
brew install melodylocal Homebrew formula metadata
nix profile install nixpkgs#melodynixpkgs package indexes · pkgs/by-name/me/melody/package.nix · source: api.github.com
sudo zypper install playmymusicopenSUSE Tumbleweed package metadata · playmymusic · source: download.opensuse.org
overview
Language that compiles to regular expressions
history
Melody is a small language that compiles to ECMAScript regular expressions. Its README says the goal is to make regular expressions more readable and maintainable, with a CLI, compiler crate, WebAssembly bindings, playground, book, editor extensions, and package integrations.
The project is organized as a Rust workspace with crates for the compiler, CLI, and WASM bindings. The README shows Melody source examples compiling into ordinary regular expressions, along with syntax for quantifiers, symbols, literals, groups, assertions, variables, comments, and file extensions .mdy and .melody.
Melody evolved rapidly during 2022, as reflected in the changelog: early releases added the REPL, raw sequences, lookahead/lookbehind assertions, cleaner CLI output, a Pest grammar and AST, lazy quantifiers, negative symbols, variables, shell completions, Deno support, stdin support, CLI testing, file-based testing, and unicode-category support.
The project reached v0.20.0 in November 2024, when the changelog notes an MSRV bump to Rust 1.74.0 and removal of the unmaintained atty dependency.
Melody is a niche developer tool rather than a large infrastructure package, but it has visible interest for a DSL project: the GitHub repository shows thousands of stars, a crates.io-published CLI/compiler path, a browser playground, documentation book, Homebrew installation, Nix packaging, and community-maintained Arch packaging.
Its adoption is tied to developers who want regex readability without abandoning regular expressions as the runtime artifact. That gives package managers a compact CLI and compiler tool whose output remains portable JavaScript-compatible regex.
Users can install melody_cli with cargo, install from source, download macOS binaries from GitHub releases, or use Homebrew. The CLI reads a file or stdin, writes compiled regex to stdout or an output file, can test against strings or files, generates shell completions, and offers a REPL.
The book and README document syntax that maps readable constructs such as some of <word>, <start>, capture blocks, and either blocks to regular-expression primitives.
Melody is significant as a packaged regex DSL: it is not a runtime service, but a compiler that turns readable source into a ubiquitous target. That makes it easy to package and easy to evaluate, while still touching language tooling, WASM, editor extensions, and JavaScript ecosystem integrations.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
melody | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/yoav-lavi/melody
install metadata
| Package key | brew:melody |
|---|---|
| Version | 0.20.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/melody |
| Homepage | https://yoav-lavi.github.io/melody/book |
| Repository | https://github.com/yoav-lavi/melody |
| Upstream docs | https://github.com/yoav-lavi/melody#readme |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/yoav-lavi/melody/archive/refs/tags/v0.20.0.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | melody |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
melody
nix profile install nixpkgs#melodyplaymymusic 2.2.1-1.6
A music player for local files and remote streams
https://github.com/artemanufrij/playmymusic
sudo zypper install playmymusicsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.