<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reference on ArkScript</title><link>https://arkscript-lang.dev/docs/reference/</link><description>Recent content in Reference on ArkScript</description><generator>Hugo</generator><language>en</language><copyright>Copyright (c) Lexy Plt</copyright><lastBuildDate>Thu, 01 Jan 2026 16:52:54 +0200</lastBuildDate><atom:link href="https://arkscript-lang.dev/docs/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Bytecode specification</title><link>https://arkscript-lang.dev/docs/reference/bytecode/</link><pubDate>Mon, 14 Jul 2025 18:00:50 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/bytecode/</guid><description>&lt;p>You will find ArkScript bytecode specification on page, if you are interested in implementing your own virtual machine for ArkScript, or just want to learn more.&lt;/p></description></item><item><title>Builtins in ArkScript</title><link>https://arkscript-lang.dev/docs/reference/builtins/</link><pubDate>Mon, 14 Jul 2025 19:08:19 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/builtins/</guid><description>&lt;p>Those are C++ functions, using the ArkScript virtual machine API to communicate with it. They can be used as any other function in ArkScript code.&lt;/p></description></item><item><title>Documenting code using ArkDoc</title><link>https://arkscript-lang.dev/docs/reference/arkdoc/</link><pubDate>Mon, 14 Jul 2025 19:29:13 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/arkdoc/</guid><description>&lt;script src="https://arkscript-lang.dev/js/rainbow.min.js">&lt;/script>
&lt;script src="https://arkscript-lang.dev/js/arkscript.js">&lt;/script>


&lt;p>ArkDoc is a documentation generator for ArkScript, based on comments.&lt;/p>
&lt;h2 id="syntax">Syntax&lt;/h2>
&lt;div class="expressive-code">
 &lt;figure class="frame not-content">
 &lt;div class="highlight">
 &lt;pre class="chroma">&lt;code class="rainbowjs" data-language="arkscript"># @brief Iterate over a given list and run a given function on every element.
# @param _L the list to iterate over
# @param _func the function to call on each element
# @details The original list is left unmodified.
# @deprecated This function is deprecated because I felt like it
# @changed 1.0.0 `forEach` is now a function instead of a macro
# @changed 2.0.0 `forEach` does not modify the list
# =begin
# (import std.List)
# (let collection [1 2 5 12])
# (list:forEach collection (fun (element)
# (print element)))
# =end
# @author https://github.com/SuperFola
(let list:forEach (fun (_L _func) {
 (mut _index 0)
 (while (&amp;lt; _index (len _L)) {
 (mut _element (@ _L _index))
 (_func _element)
 (set _index (&amp;#43; 1 _index)) })}))
&lt;/code>&lt;/pre>
 &lt;/div>
 &lt;/figure>
&lt;/div>


&lt;h2 id="installing-arkdoc">Installing ArkDoc&lt;/h2>
&lt;p>ArkDoc is a Python 3.9 module.&lt;/p></description></item><item><title>Testing ArkScript</title><link>https://arkscript-lang.dev/docs/reference/testing_arkscript/</link><pubDate>Thu, 07 Sep 2023 16:33:54 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/testing_arkscript/</guid><description>&lt;p>This page guides you through enabling and running ArkScript test suites, which is important when developing features for the language, to ensure it still works as intended.&lt;/p></description></item><item><title>Running ArkScript code on CIs</title><link>https://arkscript-lang.dev/docs/reference/running_arkscript_on_ci/</link><pubDate>Tue, 16 Sep 2025 18:33:54 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/running_arkscript_on_ci/</guid><description>&lt;p>When coding in any language, it is always good to test our code. First on our machine, then in CIs (continuous integration environment, like GitHub CI, GitLab CI, Drone CI&amp;hellip;).&lt;/p></description></item><item><title>REPL</title><link>https://arkscript-lang.dev/docs/reference/repl/</link><pubDate>Thu, 01 Jan 2026 16:52:54 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/repl/</guid><description>&lt;p>ArkScript REPL can be launched by calling &lt;code>arkscript&lt;/code> without any file argument.&lt;/p>
&lt;p>It will look for the &lt;code>ARKSCRIPT_REPL_STARTUP&lt;/code> environment variable to optionally preload code. See &lt;a href="https://arkscript-lang.dev/docs/prologue/building/#environment-var-setup">the getting started guide&lt;/a> to configure it.&lt;/p></description></item><item><title>Creating a release</title><link>https://arkscript-lang.dev/docs/reference/creating_release/</link><pubDate>Wed, 06 Aug 2025 20:46:40 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/creating_release/</guid><description>&lt;p>&lt;em>This page is for ArkScript contributors and release managers&lt;/em>&lt;/p>
&lt;h2 id="releasing-a-new-version-of-the-language">Releasing a new version of the language&lt;/h2>
&lt;ol>
&lt;li>Make sure every feature, bug fix and edit has been pushed to the &lt;code>dev&lt;/code> branch
&lt;ul>
&lt;li>check that the stdlib submodule is up to date!&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Make sure the CI passes on &lt;code>dev&lt;/code>&lt;/li>
&lt;li>Update the &lt;code>CHANGELOG.md&lt;/code> to name the current version and add the date of the day: &lt;code>## [X.Y.Z] - YYYY-MM-DD&lt;/code>&lt;/li>
&lt;li>Update the &lt;code>CMakeLists.txt&lt;/code> to use the new version&lt;/li>
&lt;li>Create a tag on the CLI: &lt;code>git tag vX.Y.Z &amp;amp;&amp;amp; git push --tags&lt;/code>&lt;/li>
&lt;li>This will trigger the &lt;code>release.yml&lt;/code> workflow on &lt;strong>ArkScript-lang/Ark&lt;/strong>, which will:
&lt;ul>
&lt;li>create binaries for Linux, macOS, and Windows&lt;/li>
&lt;li>create an InnoSetup installer for Windows&lt;/li>
&lt;li>create &lt;code>.deb&lt;/code> and &lt;code>.rpm&lt;/code> packages for Linux&lt;/li>
&lt;li>create a draft release with the release notes from the changelog&lt;/li>
&lt;li>update ArkScript packages on the AUR (both the source and binary ones)&lt;/li>
&lt;li>update ArkScript homebrew tap&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Publish the release as &lt;strong>latest&lt;/strong> and create a discussion for it in &lt;strong>Show and tell&lt;/strong>&lt;/li>
&lt;/ol></description></item><item><title>Editing the documentation</title><link>https://arkscript-lang.dev/docs/reference/editing_docs/</link><pubDate>Tue, 15 Jul 2025 14:20:40 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/editing_docs/</guid><description>&lt;p>This page covers how you should edit pages on this website.&lt;/p>
&lt;h2 id="setup">Setup&lt;/h2>
&lt;p>Fork &lt;a href="https://github.com/ArkScript-lang/website/fork">the repository&lt;/a>, then:&lt;/p>



&lt;div class="expressive-code">
 &lt;figure class="frame is-terminal not-content">
 &lt;figcaption class="header">
 &lt;span class="title">&lt;/span>
 &lt;/figcaption>
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">git clone https://github.com/USERNAME/website.git
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> website
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">npm i&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/figure>
&lt;/div>
&lt;p>You will need to install &lt;a href="https://gohugo.io">Hugo&lt;/a>, version 0.145.0, to be able to run the static site generator and see your changes:&lt;/p></description></item><item><title>Module error handling</title><link>https://arkscript-lang.dev/docs/reference/module_error_handling/</link><pubDate>Mon, 14 Jul 2025 19:29:24 +0200</pubDate><guid>https://arkscript-lang.dev/docs/reference/module_error_handling/</guid><description>&lt;h2 id="definitions">Definitions&lt;/h2>
&lt;ul>
&lt;li>&lt;em>error&lt;/em>: a C++ exception, &lt;code>std::runtime_error&lt;/code> or &lt;code>Ark::TypeError&lt;/code> in this project&lt;/li>
&lt;/ul>
&lt;h2 id="precisions">Precisions&lt;/h2>
&lt;p>We need to have something uniform between all the modules to avoid inconsistencies.&lt;/p></description></item></channel></rss>