4 ms·
That is impressive, but it also looks like a babelfish language. The |> seems to have been inspired by Elixir? But this is like a mish-mash of javascript-like e
by shevy-java 11mo ago
That is impressive, but it also looks like a babelfish language. The |> seems to have been inspired by Elixir? But this is like a mish-mash of javascript-like entities; and then Rust is also used? It also seems rather verbose. I mean it's great that it did not require a lot of effort, but why would people favour this over less verbose DSL?
- williamcotton 11mo ago> babelfish language Yes, exactly! It's more akin to a bash pipeline, but instead of plain text flowing through sed/grep/awk/perl it uses json flowing through jq/lua/handlebars. > The |> seems to have been inspired by Elixir For me, F#! > and then Rust is also used Rust is what the runtime is written in. > It also seems rather verbose. IMO, it's rather terse, especially because it is more of a configuration of a web application runtime. > why would people favour this I dunno why anyone would use this but it's just plain fun to write your own blog in your own DSL! The BDD-style testing framework being part of the language itself does allow for some pretty interesting features for a language server, eg, the LSP knows if a route that is trying to be tested has been defined. So who knows, maybe someone finds parts of it inspiring.
- travisjungroth 11mo ago> it's just plain fun to write your own blog in your own DSL! It’s the perfect thing for skill development, too. Stakes are low compared to a project at work, even one that’s not “mission critical”.
- AdieuToLogic 11mo ago> The |> seems to have been inspired by Elixir? This is an infix operator commonly used to define the Thrush combinator, which transcends Elixir (or any other programming language). It is effectively: f (g (x)) = g (x) |> f