ArkScript v4.0.0-rc6 #480
Closed
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.
-
Added
$reprmacro to get a string representation of a given nodearkscript -f|--formatVM::forceReloadPlugins, to be used by the REPL to force reload the plugins and be sure that their symbols are all definehelp,save(save history to disk),history(print history),reset(reset vm and code) commands to the REPL>to:)typelist,concat,appendand friends to only push valid nodes (that produces a value)Changed
(= closure1 closure2)will work only if they have the same fields (name) and if the values match($ name value)/($ name (args args args) body)/($if cond then else)(import package.sub.file)arkscript --versionandarkscript --helpnow output ArkScript version with the commit hashvoid Value::toString(std::ostream&, VM&)now becomesstd::string Value::toString(VM&)Node::operator<<to replace it withNode::debugPrintlet,mutorset, resulting in a compiler crashargcountand crash the processor(fun)as the argument block, resulting in a crashlet/mut/setnodes($ test (@ [1 2 3] -5))(concat! lst lst)(print nil?)(+)whilenodesfunnodeslet,mutorsetnodes inside macros with an invalid node typeRemoved
NodeType::ClosureUtils::digPlacesandUtils::decPlacesgot removed as they were no longer neededlist:removeAt,arkexecutable now replaced byarkscript)VM::getUserPointerandVM::setUserPointerARK_PROFILER_COUNTdefine\0escape in stringsThis discussion was created from the release ArkScript v4.0.0-rc6.
Beta Was this translation helpful? Give feedback.
All reactions