ArkScript v4.2.0 #639
SuperFola
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking changes
assertis no longer an instruction but a builtin<,>,<=,>=and=, the result will always befalse(it used to rely on the type index)Added
BREAKPOINTinstruction(breakpoint)and(breakpoint condition)-fdebuggerto the CLI (see the docs for the debugger)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 keysChanged
arkscriptto look forlibArkReactorunder its (arkscript's) directory, {arkscript}/bin, {arkscript}/lib, and {arkscript}/../libandandorrequire 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 emptyThis discussion was created from the release ArkScript v4.2.0.
Beta Was this translation helpful? Give feedback.
All reactions