ArkScript v4.3.0 #647
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 change
len,empty?,head,tail,@have been renamed to$len,$empty?,$head,$tailand$at. Those versions only work inside macros too, inside of having a weird dichotomy where they sometimes got applied and sometimes notAdded
applyfunction:(apply func [args...]), to call a function with a set of arguments stored in a list. Works with functions, closures and builtins+,-,*,/and many other operators can now be passed around, like builtins. This now works:(list:reduce [1 2 3] +), where before we would get a compile time error about a "freestanding operator '+'"builtin__slicebuiltin, for strings and lists:(builtin__slice data start end [step=1]); this is an experimentation and may be removed in future versions-fno-cachecli option to disable the creation of the bytecode cache folder__arkscript__filecan be-to read code from stdinChanged
-fdump-ir, the IR is dumped in the cache folderThis discussion was created from the release ArkScript v4.3.0.
Beta Was this translation helpful? Give feedback.
All reactions