- 10 Posts
- 6 Comments
yoavlavi@programming.devOPto Rust@programming.dev•Announcing August! An Emmet-like language that produces JSON, TOML, or YAML, written in Rust5·2 years agoNickel looks like something akin to Nix (JSON with functions), whereas August’s goal is to allow you to quickly write a snippet that expands to your target document (e.g. via an editor extension) like Emmet. You can think of August like a snippet or shortcut to typing (or editing) a document rather than its own configuration language
yoavlavi@programming.devOPto Programming@programming.dev•Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainableEnglish1·2 years agoIt’s more readable and maintainable than ECMAScript regular expressions, which it compiles into
yoavlavi@programming.devOPto Programming@programming.dev•Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainableEnglish123·2 years agoI 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.
yoavlavi@programming.devOPto Programming@programming.dev•Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainableEnglish91·2 years agoAwesome 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
yoavlavi@programming.devOPto Programming@programming.dev•Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainableEnglish19·2 years agoThat’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