Multiple, they don’t have to accept input but they can like in the DuckDuckGo example. The idea is to set up easy to type commands you can execute quickly
It’s more readable and maintainable than ECMAScript regular expressions, which it compiles into
I wouldn’t consider Melody a new flavour of regex as it compiles to ECMAScript regular expressions.
I’d consider being more verbose than regular expressions as a great thing for what this project aims to do, regular expressions are very write optimized which is the wrong (IMO) tradeoff to make in a shared codebase (or even your personal code that’s more than a few days old) where code is read much more often.
Awesome idea, will definitely take it into consideration when that feature is available. Melody actually has a VSCode extension with highlighting and snippets, could be added to that
That’s not supported yet but is planned (see the “reverse compiler” feature in the README)
Quickly creating or editing objects. The main target would be editor extensions, image a snippet that expands to an object on tab for instance