News for hackers. Stuff that matters.
Re:Amber – the programming language compiled to Bash by klibertp on Wednesday May 22, 2024 @10:27AM (#40441431)
Rash (https://rash-lang.org/) and Oil (https://www.oilshell.org/release/latest/doc/ysh-tour.html) come to mind. Xonsh, too, as mentioned. Powershell too.

Most high-level languages have packages that implement DSLs for running and connecting subprocesses. Python has both `subprocess` in stdlib and things like plumbum (https://plumbum.readthedocs.io/en/latest/index.html) or fabric as 3rd party packages. Scala has a little DSL ("echo 1" #| "cat" !) for this in stdlib. How lightweight the syntax is depends on how DSL-friendly the language is, so things like Ruby or Raku might be your best bets.

Re:Amber – the programming language compiled to Bash by liampulles on Wednesday May 22, 2024 @12:03PM (#40442578)
Oil/ysh looks very much like what I would like - thanks!