Skip to content

harlock v0.5.0

Compare
Choose a tag to compare
@Abathargh Abathargh released this 25 May 19:23
· 10 commits to master since this release

New Features

  • The set bultin function can now accept other sets as an arguments.
  • The array.map builtin method can now take builtin functions as an argument.
  • Adding runtime errors to the language, which do not exit the application and can be handler by users.
  • Adding the error() builtin function to let user create custom errors.
  • Adding the int() builtin function that converts strings to integers.
  • Adding the as_array() builtin function that converts integers into their byte array representation.
  • Moving the hex parser to /pkg/hex.

Fixes and QoL

  • Runtime errors and type check errors now carry line information with them.
  • Try expressions only intercept runtime expressions.
  • Fixed a bug that prevented try expression from throwing errors in global scope.
  • Better help messages and formatting in prompts, better error messages when using the embed flag.

Attached to this release, you can find pre-compiled binaries and .deb packages for version 0.5.0 of the harlock language.