5 ms·
The Bash compatible syntax is just one representation of an underlying cross-language API. You can also write code in your preferred language, provided there's
by vito 2y ago
The Bash compatible syntax is just one representation of an underlying cross-language API. You can also write code in your preferred language, provided there's an SDK for it. (Currently: Python, TypeScript, Go, PHP, Java, Elixir, Rust, .NET)
But if you're talking specifically about shell or a "native" REPL in a safer language - I also want to scratch that itch. Some day I'll dust off https://github.com/vito/dash https://github.com/vito/dash :)
- esafak 2y agoThey even supported CUE at one point. https://dagger.io/blog/ending-cue-support https://dagger.io/blog/ending-cue-support
- verdverm 2y agoI worked with the Dagger team on that. It was super hard to marry two DAG engines that work in opposite directions. The team eventually heard from users they wanted to write in the language of their choice, so there are now a bunch of SDKs. I think one could wrap the Go SDK with CUE, and have oft considered doing it, but the work has not migrated from the backlog yet. I've been toying with a CUE powered monorepo DX CLI that is more akin to BuildPacks, using Dagger as the containerization layer.
- riedel 2y agoI feel this is much more powershell like than bash. The container thing looks much more than a typed object than a plain character device/pipe. Also what is the bourne again part?
- levlaz 2y agoIt’s def closer to powershell in all the best ways IMO. But the key point is that the container thing is actually a typed object. So is every other primitive in there including once you make yourself.
- ledauphin 2y agookay, I think what I ultimately missed is that this is just a new language for the existing engine. I may not be the world's most careful reader.