Skip to content

Samarium 0.6.0

Compare
Choose a tag to compare
@trag1c trag1c released this 14 Jun 21:26
· 15 commits to master since this release
80d6ca8

Added

  • =>! now accepts strings
  • Added an exception note for string.split
  • Allowed adding notes for !!!
  • Command system for the REPL
  • Data classes
  • Function composition
  • Made the semicolon optional for !, !!!, *, **
  • math.max and math.min now work with varargs
  • String+
  • -String
  • ~Table
  • The REPL now automatically displays most expressions

Changed

  • String ++ -Number now throws a type error (ambiguous operation)

Fixed

  • Fixed function conversion when @exporting
  • Fixed internal name of math.round
  • Fixed math.sqrt using an incorrect variable name
  • Fixed multiline string handling in the REPL
  • Fixed REPL quitting on syntax error
  • math.round now correctly provides a default value for ndigits
  • The transpiler now correctly disallows literals around identifiers
  • types.Boolean should now correctly interract with external types
  • Various minor fixes to the transpiler