Skip to content

ArkScript v3.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Sep 20:30
· 1456 commits to 0f911affe02b2cab756aae4e97456b7dadf4a30d since this release

Added

  • added new async and await builtins
    • they can access the outer scope
  • added methods to create and destroy an execution context and a future in the VM
  • added new CLI option --ast to generate JSON from the generated abstract syntax tree
  • added an AST to JSON compiler
  • added warnings on unused functions/quotes and statements without any effect

Changed

  • printing a closure will now print its fields instead of Closure<1432>
  • macros are always evaluated, even when they aren't any user defined macro
  • argcount works on symbols and anonymous functions

Deprecated

  • deprecating Value VM::resolve(const Value* val, Args&&... args)

Removed

  • removed the std::ostream& operator<< of the Value, now using the .toString(stream, vm reference)
  • removed the global VM lock
  • removed coz and ARK_PROFILER