yoav-lavi/melody
View on GitHub ↗ ★ 4,736 Rust
Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
8 mentions on Hacker News by 5 people: 3 stories, 5 comments · first 2022-02-16 · latest 2026-10-18
20082026
-
Melody ( https://github.com/yoav-lavi/melody ) is very similar in syntax to your example. For example: <start>; option of "v"; capture major { some of <digit>; } "."; capture minor { some of <digit>; } "."; capture patch { some of <digit>;…
comment by yoav_lavi · 2026-10-18 · in Regex visualized as 3D marble run -
…online playground. [1-3 'What is your ' ['name' | 'quest' | 'favourite colour'] '?' [0-1 #space]] - https://github.com/yoav-lavi/melody - More verbose, supports macros, backslash escapes only for quotes. Rust compiler, babel plugin.…
comment by SonOfLilit · 2022-06-10 · in Rulex – A new, portable, regular expression language -
I recommend checking Melody out if you're into readable regex alternatives: https://github.com/yoav-lavi/melody
comment by fathyb · 2022-06-10 · in Rulex – A new, portable, regular expression language -
…multiple people, diffs and so forth, while adding some QOL features. See the repository here: https://github.com/yoav-lavi/melody
comment by yoav_lavi · 2022-04-04 · in Babel Plugin Melody