ArkScript v4.0.0-rc7 #481
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
-
Added
$repr
macro to get a string representation of a given nodearkscript -f|--format
VM::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:
)type
list
,concat
,append
and friends to only push valid nodes (that produces a value)$paste
to paste a node inside a maro without evaluating it further ; useful to stop recursive evaluation of nodes inside function macrosChanged
(= 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 --version
andarkscript --help
now output ArkScript version with the commit hashvoid Value::toString(std::ostream&, VM&)
now becomesstd::string Value::toString(VM&)
Node::operator<<
to replace it withNode::debugPrint
let
,mut
orset
, resulting in a compiler crashargcount
and crash the processor(fun)
as the argument block, resulting in a crashlet
/mut
/set
nodes($ test (@ [1 2 3] -5))
(concat! lst lst)
(print nil?)
(+)
while
nodesfun
nodeslet
,mut
orset
nodes inside macros with an invalid node typeRemoved
NodeType::Closure
Utils::digPlaces
andUtils::decPlaces
got removed as they were no longer neededlist:removeAt
,ark
executable now replaced byarkscript
)VM::getUserPointer
andVM::setUserPointer
ARK_PROFILER_COUNT
define\0
escape in stringsThis discussion was created from the release ArkScript v4.0.0-rc7.
Beta Was this translation helpful? Give feedback.
All reactions