It's a shame that they provided such weird syntax for the most important thing you tend to do in a bash script, while providing fairly nice syntax for everything else.
Amber: Programming language compiled to Bash
11–20 of 330 posts
Re: Amber: Programming language compiled to Bash
#12Maybe this is still early in development, but I don't see anything for pipes or redirection. Is this a planned feature? That's an essential feature of any shell and I can't see myself getting much done in Amber without it, especially pipes.
I suggest adding more examples to the home page, especially side by side comparisons with Bash. The home page is somewhat lacking in content right now.
Re: Amber: Programming language compiled to Bash
#13I don't love the $...$ syntax for executing commands. Using $ as a string delimiter is very strange to my bash-accustomed eyes. It's a shame that they provided such weird syntax for the most important thing you tend to do in a bash script, while providing fairly nice syntax for everything else.
Overall, it is cute and neat, but i find that if you are looking to write bash scripts that require this level of programming, you'd be better off writing it in python, or perl. Only in very austere environments can this be utilized, but the requirement of having `bc` installed means you must also have the ability to run package installation, so might as well run the package installation for a full on programming language!
Re: Amber: Programming language compiled to Bash
#14Re: Amber: Programming language compiled to Bash
#15That said, very interesting syntax. I agree with others about the $...$ being kind of odd, but other than that this is really cool.
Re: Amber: Programming language compiled to Bash
#16I don't love the $...$ syntax for executing commands. Using $ as a string delimiter is very strange to my bash-accustomed eyes. It's a shame that they provided such weird syntax for the most important thing you tend to do in a bash script, while providing fairly nice syntax for everything else.
and i dont like how it's inconsistent that echo is not using the $ syntax (which makes sense internally, as it's a built-in, rather than executing the $echo command). Overall, it is cute and neat, but i find that if you are looking to write bash scripts that require this level of programming, you'd be better off writing it in python, or perl. Only in very austere environments can this be utilized, but the requirement…
Re: Amber: Programming language compiled to Bash
#17This is equal parts horrifying and impressive and useful. I'm unsure how to feel.
Re: Amber: Programming language compiled to Bash
#18Quick note to the creators: the website looks almost exactly like every other "here try this cool command-line utility so we can hook you and start charging a service fee for it" startup website and I instantly distrusted it. The design communicates that you're selling a product , not providing an open-source utility. That said, very interesting syntax. I agree with others about the $...$ being kind of odd, but other…
Re: Amber: Programming language compiled to Bash
#19I was confused by Amber Smalltalk's pivot. Turns out it is just a newer language deciding to use the same name as an existing one. The domain is almost exactly the same as well. https://amber-lang.net/
Re: Amber: Programming language compiled to Bash
#20Odd that (on desktop) the actual install URL is obscured by a gradient.
curl -s "https://raw.githubusercontent.com/Ph0enixKM/AmberNative/mast..." | $(echo /bin/bash)
I guess it would be too long to fit (aesthetically) on the page. The "copy" icon off to the left copies that line to your clipboard.