Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainable

yoavlavi@programming.dev to Programming@programming.dev – 257 points –
GitHub - yoav-lavi/melody: Melody is a language that compiles to regular expressions and aims to be more easily readable and maintainable
github.com
68

You are viewing a single comment

Sure. I just very rarely need just basic regexes.

And once you go beyond these the syntax gets very obtuse. Which means I'm spending an hour+ googling something close to what I need and then using a sandbox to try and tweak it until it does what I need. Then I paste something into my code that I won't understand anymore 5 minutes into the future - which isn't exactly great for maintainability.

This is a good point too. Just because you don't use regex often doesn't mean your needs are simple. They are probably much the same as someone who uses it often. Which is why readability and less learning curve is a good thing.