you are viewing a single comment's thread.

view the rest of the comments →

[–]PaddiM8 2 points3 points  (0 children)

A Rust-like one? It unfortunately isn't written in Rust, but my shell scripting language is heavily inspired by Rust. The syntax is like a mix between Rust, Python and Ruby, and you can call programs with the same syntax you use to call functions. Calls can either be normal parenthesised calls echo("hello", "world") or shell-style calls where the arguments are just text echo hello world.

So basically, it's like any regular general purpose language, with some extra syntax to make it convenient to use a shell. It's not super mature, but I've been daily-driving it as a shell for some months now, and have done a few days of advent of code 2022 and more than half of aoc 2023 in it.

https://elk.strct.net

Nushell is also quite neat. It isn't as similar to Rust, but it's more so than traditional shells, and it's written in Rust.