Skip to content

Releases: ArkScript-lang/std

Better testing library

12 Jul 19:15
9ec80d6
Compare
Choose a tag to compare

What's Changed

  • feat: using $paste in Testing.ark to stop recursive macro evaluation by @SuperFola in #39

Full Changelog: v1.0.0...v1.1.0

Standard library for ArkScript v4

08 Mar 14:16
9107dc2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v1.0.0

ArkScript standard library for Ark 3.1.0

29 Jun 21:41
f529a73
Compare
Choose a tag to compare

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

ArkScript standard library - 0.0.1

01 Oct 14:32
727aa99
Compare
Choose a tag to compare

Finally adding documentation!