github abs-lang/abs 1.6.0
v1.6.0

latest releases: 2.6.0, 2.5.2, 2.5.1...
4 years ago

A new minor release of ABS: always be shipping! 🚢

In this release, we've introduced 2 new features, as well as deprecated some of the initial syntax for executing system commands.

New features

  • index ranges have landed! ✈️ You can now slice strings and arrays just like in Python or Ruby: "string"[0:3] will return str. Negative right index ranges mean take elements up to len() - index, so "string"[:-2] will return "stri" (#255)
  • we now have implicit return values (#219) which default to null: in earlier versions of ABS, you always had to specify a value after a return statement, while right now you don't: if x { return } will, for example, evaluate to null if x is truthy

Misc

  • the initial $(command) syntax for executing bash commands has been deprecated (#254) in favor of backticks `command`. $() can still be used, and it proves useful when nesting commands $(some $(other $(command)))

Don't miss a new abs release

NewReleases is sending notifications on new releases.