Skip to content

ArkScript v4.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Apr 18:04
· 3 commits to dev since this release
Immutable release. Only release title and notes can be modified.
1f54076

Breaking changes

  • removed list:permutationsWithReplacement (deprecated in 4.4.0)
  • list:permutations now produces real permutations and not combinations (deprecated in 4.4.0)

Added

  • added new macro $gensym, to generate a unique symbol identifier to use in macros
  • append, concat, and pop can be used as values
  • new ptr command for the debugger, printing the VM pointers (ip, pp, sp)
  • compile time arity check when performing a tail call
  • string:utf8len to compute the number of codepoints in a string
  • new trace command for the debugger, printing the last executed instructions
  • ability to build ArkScript statically via CMake using -DARK_STATIC=On

Changed

  • all paths inside if should return a value, when used as an expression. If an else branch is missing, nil will be returned
  • new compile time error when trying to use append!, concat!, pop!, @= and @@= as values
  • arguments in tail calls are loaded by value and not by reference
  • string:ord checks that it get only 1 utf8 character