Skip to content

1.1.0

Latest

Choose a tag to compare

@LamkasDev LamkasDev released this 19 Jun 12:44
· 17 commits to master since this release
cceb301

Features

  • Added support for functions on non-objects (that would be int/float/string/list)
  • Added 15 string functions, mostly according to Javascript's String object (String Documentation)
  • Added 1 list function aswell (Array Documentation)
  • Improved internals of lists to support mixing of data-types
  • Lists now also support other lists/objects
  • Added back improved trace-back for RuntimeErrors (still needs some work:tm:)
  • print() now supports message passed as int/float
  • Minor performance improvements

List of functions added

  • String: (15) char_at(), concat(), starts_with(), ends_with(), includes(), index_of(), last_index_of(), replace(), replace_all(), substring(), to_lower_case(), to_upper_case(), trim(), trim_start(), trim_end()
  • List (1): concat()

Fixes

  • Fixed loading default packages on Linux (commit e7068e8)
  • Fixed run() in shell outputting wrong error messages (commit 575d356)
  • Fixed run_builtin_function() throwing Function does not exist, rather than the actual error message (commit b5f2e6d)
  • Fixed built-in http_fetch to support paths and parameters (commits c70600f and 443e75f)

Other changes