abs
abs copied to clipboard
Home of the ABS programming language: the joy of shell scripting.
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1. Changelog Sourced from eventsource's changelog. 1.1.1 Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal) Commits aa7a408 1.1.1...
`go` calls a function with the arguments passed: ``` bash multiplier = f(x, y) { x * y } multiplier.go([10, 2]) # 20 ```
NOTE: the command need to be executed in the background. ``` for line in `tail -f /tmp/log &` { echo(line) } ``` Also combines the stdout and stderr of executed...
from @omissis maybe we should try using https://vuepress.vuejs.org/plugin/official/plugin-search.html#install? I'm not a frontend wizard so help's definitely appreciated :slightly_smiling_face:
Now you can do ``curl '$url'``, but it's faster to have a function for GETting built into ABS : ``` import "github.com/valyala/fasthttp" // httpGET(string:"https://www.example.com") func httpGETFn(tok token.Token, env *object.Environment, args...
```ruby #!/usr/bin/env abs f foo() { for t=2; t>0; t=t-1 { if arg(2) != "ok" { sleep(100) continue } return [0, "ok"] } return [1, "ng"] } f bar() {...
We have 2 choices: * introduce a new print function that doesn't print new lines * change echo, and never print a new lin by default I'm leaning towards a...
`installer.sh` didn't detect Darwin properly and I was going to check it and maybe provide a PR but where is it?
```lua #!/usr/bin/env abs cli = require('@cli') @cli.cmd("foo", "opts", {"s": 1 }) f foo(argv, flags) { echo("flags: %s", flags.str()) } @cli.cmd("bar", "opts", {"ss":1 }) f bar(argv, flags) { echo("flags: %s", flags.str())...