abs
abs copied to clipboard
Home of the ABS programming language: the joy of shell scripting.
At least reduce the number of cases for Go's dreaded `%!d(string=5)` to appear when the user applies `printf` format tags, as shown in https://github.com/abs-lang/abs/issues/374#issuecomment-669694631
``` ⧐ x = 1 ⧐ f test() { x = x + 1 } f test() {x = (x + 1);} ⧐ test() ⧐ test() ⧐ test() ⧐ x...
The first argument of a script is `arg(2)`, not the expected `arg(1)` (or `arg(0)`). This is unlike the shell, where the first argument is `$1` not `$2`, creating slight confusion...
Currently, we're limited to bash, so for example win is out of the picture. ABS executes programs with `bash -c` which can definitely be improved.
Let say I have this shell command : `grep mycookie /tmp/cookies | awk '{print $5}` When using abs, I have to escape the "$" command, like this : (\`grep mycookie...
I would like to start thinking about concurrent primitives in ABS. Given Go's primitives, it's not that hard for us to implement the same exact behaviors (eg. `go func()`) but...
The odd circumstances for this to be triggered are: 1. Function is assigned to a variable 2. Function is defined on a single line 3. The function makes use of...