Skip to content

Homescript v3.0.1

Latest
Compare
Choose a tag to compare
@MikMuellerDev MikMuellerDev released this 10 Aug 17:58
· 254 commits to singletons since this release

Changelog

Features

  • Added the to_string method to values of type { ? }
  • Added the match expression
  • Integer literals can now be converted to floats when the f character follows
    the integer immediately: 42f
  • The keywords on and off can now be used like true and false
  • When arguments of a function call are missing, their names are now shown in
    the error message
  • Added the unwrap_or method to values of type ?any

Bug fixes

  • Fixed various bugs related to type-checking and casting
  • Fixed various bugs related to the display of error messages
  • Values of type { ? } can now be marshaled to JSON using the to_json and
    to_json_indent methods