odino
Long way to go but was very happy to see someone wanting a better alternative to bash and trying ABS out!
ip = `curl -s 'https://api.ipify.org?format=json'`.json().ip
total = ip.split('.').map(int).sum()
if total > 100 {
echo("The sum of [$ip] is a large number, $total.")
}
I would suggest implementing decorators in NGS. Not because you will need them, but because they're easily the most fun part I had to write in ABS :) That, and seeing stdin() working for the first time on my terminal!Hash keys need to be string (eg. n -> n.str()), I fixed the example on the homepage.
Feel free :)
I just wanted to say thanks for sharing this, it made my day. I started ABS a couple Christmases ago as I had a week off and the constant thought that there's gotta be a "nicer" way to script things, without the verbosity of higher-level languages...and I'm happy to see folks finding ABS useful.
I haven't updated it in a couple of months as I find it pretty "complete" from my perspective, but I also have some crazy ideas every now and then that I know I'll want to throw into the language.
Again, thanks for giving ABS a try!
PS. I wanted to credit Thorsten Ball for his books, without them I would have never been able to build ABS:
Brings me joy every single day, even if I'm the only user in the world :)
https://www.abs-lang.org/misc/technical-details
Currently, there are binaries for a few different platforms:
https://github.com/abs-lang/abs/releases
Interestingly enough, the releases are built with an ABS script:
https://github.com/abs-lang/abs/blob/master/scripts/release....
:)
This is something I've put together to see how scripting with an elegant language and easy bash commands would look like.
Happy to hear your feedback, both positive and negative!
The ABS programming language
If you get insured.
I think most Europeans are proud to pay taxes to make sure a random fellow living down the street who got cancer can afford his treatments. At least that has been my mentality around taxes for as long as I've lived there.
Sure, taxes don't all go towards nice things :) but at the end of the day I'm proud to be helpful to those who are in need.
Never understood the healthcare system in the US, it just sounds "wrong" to me.
Local development with rkt containers
<3 OSS