Skip to content

ArkScript standard library for Ark 3.1.0

Compare
Choose a tag to compare
@SuperFola SuperFola released this 29 Jun 21:41
· 57 commits to master since this release
f529a73

Change Log

[0.1.0] - 2021-06-29

Added

  • math:fib to calculate Fibonacci suite
  • math:divs, generating a list of divisors for a given positive number, starting from 1
  • os.ark with OS related functions
  • str:join to join every element in a given list (autoconvert them to string)
  • added a test suite for the std lib
  • added a CI to download the latest ArkScript linux binary and launch the tests
  • .gitattributes files to get a basic coloration of the source code on GitHub
  • list:drop, list:foldLeft, list:flatMap, list:flatten, list:dropWhile
  • added Events.ark to add event listening capabilities (sync)
  • list:forAll and list:any, checking elements in a list against a given condition
  • math:floordiv, returns the euclidean division's quotient

Changed

  • str:split can finally use separators longer than a single char
  • str:toLower and str:toUpper now use str:chr and str:ord instead of a long chain of if
  • fixed os:home_dir to work on Windows and Linux
  • updated the lib tests
  • fixing the list tests