Skip to content

ArkScript v4.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 13:20
· 57 commits to dev since this release
Immutable release. Only release title and notes can be modified.
704d407

Deprecations

  • list:permutations is deprecated in favor of list:combinations
  • list:permutationsWithReplacement is deprecated in favor of list:combinationsWithReplacement

Added

  • new debugger commands: stack <n> and locals <n> to print the values on the stack and in the current locals scope
  • custom format specifiers for lists:
    • :n to remove surrounding brackets,
    • :c / :nc to use , as a separator instead of ,
    • :l / :nl to use \n as a separator,
    • :?s to format as an escaped quoted string,
    • :s to format as a quoted string
  • format can use format specifiers for integers: b, #b, B, #B, c, d, o, x, #x, X, and #X if the argument is an integer
  • display a warning to stderr when using a deprecated function/value (checks for @deprecated inside the attached comment of functions / values)

Changed

  • pop! can return the removed value
  • @= and @@= return the inserted value
  • append! and concat! return the modified list
  • let, mut and set can return the assigned value
  • fix formatter: when the condition of a while loop is on multiple lines, add the right amount of indentation before it