Skip to content

ArkScript v4.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:52
· 5 commits to dev since this release
Immutable release. Only release title and notes can be modified.

Added

  • sha256 sums of release artefacts in the releases
  • the debugger now display the instruction and page pointers in the traces
  • checking that we can properly create error messages when code is run from a string
  • add support for raw strings: r"string...", backslashes do not have to be escaped in them
    • quotes (") can be used in raw strings, but they have to be escaped: r"hello\"world\" will produce hello"world"
  • stdlib:
    • new draft module re, using google/re2 as the regex engine
  • cli:
    • new flag --stats when compiling code, outputting a JSON of compilation stats

Changed

  • @ can be used with dictionaries: (@ dict key) will behave the same as (dict:get dict key)
  • @= can be used with dictionaries: (@= dict key new_value) will behave the same as (dict:add dict key new_value)
  • ArkScript's formatter always returns exit code 0 when in dry run
  • upgrade docker images to alpine 3.24 (from 3.23)
  • stdlib:
    • math:countDigits can work with any base, higher or equal to 2

Removed

  • removed std.Range which had been deprecated in 4.6.0