Amber: Programming language compiled to Bash
amber-lang.com
Amber: Programming language compiled to Bash
1–10 of 330 posts
Re: Amber: Programming language compiled to Bash
#2This looks similar to a tool I discovered a while back called Batsh. But Amber looks a lot more polished and has some nice safety about it.
Re: Amber: Programming language compiled to Bash
#3I wish nushell had a similar compiler. It would help with using it on servers.
Re: Amber: Programming language compiled to Bash
#4This looks similar to a tool I discovered a while back called Batsh. But Amber looks a lot more polished and has some nice safety about it. https://github.com/batsh-dev-team/Batsh
Both tools look useful (although I lean toward Amber's ECMAscript syntax). I liked this comment from batsh:
> Both Bash and Batch are messy to read and tricky to write due to historical reasons. You have to spend a lot of time learning either of them and write platform-dependent code for each operating system. I have wasted lots of time in my life struggling with bizarre syntaxes and unreasonable behaviors of them, and do not want to waste any more.
Re: Amber: Programming language compiled to Bash
#5the website doesn't seem to render right on Firefox for some reason (works with Chromium tho)
Re: Amber: Programming language compiled to Bash
#6[deleted]
Re: Amber: Programming language compiled to Bash
#7the website doesn't seem to render right on Firefox for some reason (works with Chromium tho)
Seems to render fine on Firefox mobile for me, but maybe I'm just not noticing what's broken.
Re: Amber: Programming language compiled to Bash
#8This is equal parts horrifying and impressive and useful.
I'm unsure how to feel.
Re: Amber: Programming language compiled to Bash
#9Odd that (on desktop) the actual install URL is obscured by a gradient.
Re: Amber: Programming language compiled to Bash
#10Now someone needs to add this to Nix, by providing an alternative to `writeShellApplication`: