Immutable
release. Only release title and notes can be modified.
Breaking changes
assertis no longer an instruction but a builtin- when comparing values of different types using
<,>,<=,>=and=, the result will always befalse(it used to rely on the type index)
Added
- added
BREAKPOINTinstruction - breakpoints can be placed using
(breakpoint)and(breakpoint condition) - added a debugger that can be triggered on error or on breakpoint by passing
-fdebuggerto the CLI (see the docs for the debugger) - diagnostics can now be generated when using
State.doString, usingDiagnostics::generateWithCode(as the original code must be passed to the diagnostics generator) empty?can now take a dict, and returnstrueif it has no key/value pairslencan now work on dictionaries, counting the number of keys
Changed
- changed the runpath of
arkscriptto look forlibArkReactorunder its (arkscript's) directory, {arkscript}/bin, {arkscript}/lib, and {arkscript}/../lib andandorrequire valid expressions, so(or 1 (mut x 3))is no longer valid code, as(mut x 3)doesn't return a value(not (dict "a" 2))now returnsfalse, asnotchecks if the dict is empty