Releases: LeadRDRK/aiscript-dart
Releases · LeadRDRK/aiscript-dart
Release list
v0.6.0
Core:v=0.16.0- Added support for modules. This is an unofficial extension and can be disabled.
- Added
ModuleResolver,FileModuleResolverandDummyModuleResolver. - Added script execution context. It can be used to change the execution scope.
Interpreter.exec()now executes the script in a child scope of the root scope by default.Interpreter.call()now uses named parameters.RuntimeErrornow includes the execution context.- New built-in functions:
Str:from_codepoint(), primitivestr.codepoint_at(),require() - Allow object property referencing with index syntax (e.g.
object['key']) - Variables defined with
letare now immutable. NumValue's value property is now marked as final.- Mutable variables are now disallowed in namespaces.
- Added support for nested namespaces.
- Added
existsexpression for checking whether a variable exists. - Improved and rectified the behavior of
Scope. - Added
Errorvalue type. Json:parsenow returns anErrorvalue on failure.
v0.5.0
v0.4.1
v0.4.0
v0.3.0
- Added
Interpreter.addTimerFuture()andInterpreter.runTimers() - Properly implemented Async functions (timeout, interval). Note that to run the timer of these functions, you must await for
Interpreter.runTimers() - Fixed
ArrValue.toJson(). It now returns aList<dynamic>