Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 30 Dec 23:04
· 93 commits to main since this release

Feature

  • Support literal floating numbers on score multiplication/division (eea20d4)
a, b = obj["$a", "$b"]

a = b * 1.5
# a = (b * 3)/2

a = b / 3.14
# a = (b*50)/157

Fix

  • Make wrapped min/max functions behave more like the builtin ones (7e3b400)
storage = Data.storage(example:temp)
a, b, c = obj["$a", "$b", "$c"]

# variadic arguments
m = min(a, b, c)

# nested min/max calls
n = max(0, min(a, 100))

# iterable
values = (a, b, c, storage.value, *obj["$j", "$k"])
o = max(values)
  • Remove commands that multiply/divide by 1, add/subtract by 0 (6d8cf88)