Skip to content

ArkScript v3.0.3

Compare
Choose a tag to compare
@SuperFola SuperFola released this 23 Aug 21:20
· 2243 commits to dev since this release

3.0.3

Added

  • should be able to compare lists
  • chained operators: (+ 1 2 3) is automatically expanded (at compile time) into (+ (+ 1 2) 3) by the compiler

Changed

  • some functions playing with list should also be able to play with Strings: headof, tailof, firstof, len, empty?, @
  • firstof should segfault when the list/String is empty
  • fixing type of nil to be "Nil" instead of nil when using (type nil)
  • uniformised names of builtins: pascal case (impacted functions are firstOf, headOf and tailOf, as well as hasField)
  • fixing bug with writeFile when sending a mode: the mode was also the content of the file, it no longer is