Skip to content

Commit

Permalink
fix: CI/CD for deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 31, 2024
1 parent 292fe5a commit 9f689c6
Show file tree
Hide file tree
Showing 26 changed files with 3,403 additions and 265 deletions.
42 changes: 42 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,48 @@



<li class="md-nav__item">
<a href="/exceptions.html" class="md-nav__link">


<span class="md-ellipsis">
Exceptions
</span>


</a>
</li>










<li class="md-nav__item">
<a href="/file-handling.html" class="md-nav__link">


<span class="md-ellipsis">
File Handling
</span>


</a>
</li>










<li class="md-nav__item">
<a href="/strings.html" class="md-nav__link">

Expand Down
64 changes: 55 additions & 9 deletions arrays.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,48 @@



<li class="md-nav__item">
<a href="exceptions.html" class="md-nav__link">


<span class="md-ellipsis">
Exceptions
</span>


</a>
</li>










<li class="md-nav__item">
<a href="file-handling.html" class="md-nav__link">


<span class="md-ellipsis">
File Handling
</span>


</a>
</li>










<li class="md-nav__item">
<a href="strings.html" class="md-nav__link">

Expand Down Expand Up @@ -866,6 +908,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">

<link rel="stylesheet" href="../stylesheets/extra.css">



Expand All @@ -880,9 +923,11 @@ <h2 id="array-methods">Array methods<a class="headerlink" href="#array-methods"
<li><code>arr_push(array, item)</code> - adds an item to the end of the array</li>
<li><code>arr_pop(array, index)</code> - removes an item from the end of the array</li>
<li><code>arr_append(array, item)</code> - adds an item to the end of the array</li>
<li><code>arr_extend(array1, array2)</code> - adds all the items of an array to the end of the array</li>
<li><code>arr_extend(array1, array2)</code> - adds all the items of an array to
the end of the array</li>
<li><code>arr_find(array, index)</code> - returns the item at the specified index</li>
<li><code>arr_slice(array, start, end)</code> - returns the items from the specified start index to the specified end index</li>
<li><code>arr_slice(array, start, end)</code> - returns the items from the specified
start index to the specified end index</li>
</ul>
<div class="language-py highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">methods.rn</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-0-1"> 1</a></span>
<span class="normal"><a href="#__codelineno-0-2"> 2</a></span>
Expand All @@ -902,7 +947,7 @@ <h2 id="array-methods">Array methods<a class="headerlink" href="#array-methods"
<span class="normal"><a href="#__codelineno-0-16">16</a></span>
<span class="normal"><a href="#__codelineno-0-17">17</a></span>
<span class="normal"><a href="#__codelineno-0-18">18</a></span>
<span class="normal"><a href="#__codelineno-0-19">19</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1"></a><span class="n">var</span> <span class="n">arr</span> <span class="o">=</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">]</span>
<span class="normal"><a href="#__codelineno-0-19">19</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1"></a><span class="n">arr</span> <span class="o">=</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">]</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2"></a><span class="nb">print</span><span class="p">(</span><span class="n">arr_len</span><span class="p">(</span><span class="n">arr</span><span class="p">))</span> <span class="c1"># 5</span>
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3"></a>
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4"></a><span class="n">arr_push</span><span class="p">(</span><span class="n">arr</span><span class="p">,</span> <span class="mi">6</span><span class="p">)</span>
Expand Down Expand Up @@ -931,20 +976,22 @@ <h2 id="array-operators-development">Array operators (Development)<a class="head
<span class="normal"><a href="#__codelineno-1-2">2</a></span>
<span class="normal"><a href="#__codelineno-1-3">3</a></span>
<span class="normal"><a href="#__codelineno-1-4">4</a></span>
<span class="normal"><a href="#__codelineno-1-5">5</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="n">var</span> <span class="n">arr1</span> <span class="o">=</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">]</span>
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2"></a><span class="n">var</span> <span class="n">arr2</span> <span class="o">=</span> <span class="p">[</span><span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">6</span><span class="p">]</span>
<span class="normal"><a href="#__codelineno-1-5">5</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="n">arr1</span> <span class="o">=</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">]</span>
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2"></a><span class="n">arr2</span> <span class="o">=</span> <span class="p">[</span><span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">6</span><span class="p">]</span>
</span><span id="__span-1-3"><a id="__codelineno-1-3" name="__codelineno-1-3"></a>
</span><span id="__span-1-4"><a id="__codelineno-1-4" name="__codelineno-1-4"></a><span class="nb">print</span><span class="p">(</span><span class="n">arr1</span> <span class="o">+</span> <span class="n">arr2</span><span class="p">)</span> <span class="c1"># [1, 2, 3, 4, 5, 6]</span>
</span><span id="__span-1-5"><a id="__codelineno-1-5" name="__codelineno-1-5"></a><span class="nb">print</span><span class="p">(</span><span class="n">arr1</span> <span class="o">*</span> <span class="mi">2</span><span class="p">)</span> <span class="c1"># [1, 2, 3, 1, 2, 3]</span>
</span></code></pre></div></td></tr></table></div>
<h2 id="array-standard-library">Array standard library<a class="headerlink" href="#array-standard-library" title="Permanent link">&para;</a></h2>
<ul>
<li><code>map(func)</code> - returns a new array with the result of calling the specified function on each item of the array</li>
<li><code>map(func)</code> - returns a new array with the result of calling the specified
function on each item of the array</li>
<li><code>append(item)</code> - adds an item to the end of the array</li>
<li><code>pop(index)</code> - removes an item from the end of the array</li>
<li><code>extend(list)</code> - adds all the items of an array to the end of the array</li>
<li><code>find(index)</code> - returns the item at the specified index</li>
<li><code>slice(start, end)</code> - returns the items from the specified start index to the specified end index</li>
<li><code>slice(start, end)</code> - returns the items from the specified start index to
the specified end index</li>
<li><code>len()</code> - returns the length of the array</li>
<li><code>is_empty()</code> - returns <code>true</code> if the array is empty, otherwise <code>false</code></li>
<li><code>to_string()</code> - returns the string representation of the array</li>
Expand Down Expand Up @@ -974,7 +1021,7 @@ <h2 id="array-standard-library">Array standard library<a class="headerlink" href
<span class="normal"><a href="#__codelineno-2-22">22</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1"></a><span class="n">include</span> <span class="n">Array</span> <span class="c1"># Include the Array standard library</span>
</span><span id="__span-2-2"><a id="__codelineno-2-2" name="__codelineno-2-2"></a>
</span><span id="__span-2-3"><a id="__codelineno-2-3" name="__codelineno-2-3"></a><span class="c1"># Create an array instance using the Array class</span>
</span><span id="__span-2-4"><a id="__codelineno-2-4" name="__codelineno-2-4"></a><span class="n">var</span> <span class="n">arr</span> <span class="o">=</span> <span class="n">Array</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">])</span>
</span><span id="__span-2-4"><a id="__codelineno-2-4" name="__codelineno-2-4"></a><span class="n">arr</span> <span class="o">=</span> <span class="n">Array</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">])</span>
</span><span id="__span-2-5"><a id="__codelineno-2-5" name="__codelineno-2-5"></a>
</span><span id="__span-2-6"><a id="__codelineno-2-6" name="__codelineno-2-6"></a><span class="nb">print</span><span class="p">(</span><span class="n">arr</span><span class="o">.</span><span class="n">len</span><span class="p">())</span> <span class="c1"># 5</span>
</span><span id="__span-2-7"><a id="__codelineno-2-7" name="__codelineno-2-7"></a><span class="nb">print</span><span class="p">(</span><span class="n">arr</span><span class="o">.</span><span class="n">is_empty</span><span class="p">())</span> <span class="c1"># false</span>
Expand Down Expand Up @@ -1009,7 +1056,6 @@ <h2 id="array-standard-library">Array standard library<a class="headerlink" href



<script src="/flarelytics/client.js"></script>

</article>
</div>
Expand Down
62 changes: 57 additions & 5 deletions blog/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,48 @@



<li class="md-nav__item">
<a href="../exceptions.html" class="md-nav__link">


<span class="md-ellipsis">
Exceptions
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../file-handling.html" class="md-nav__link">


<span class="md-ellipsis">
File Handling
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../strings.html" class="md-nav__link">

Expand Down Expand Up @@ -848,6 +890,7 @@
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">

<link rel="stylesheet" href="../stylesheets/extra.css">



Expand All @@ -856,12 +899,22 @@


<h1 id="hello-world">Hello World<a class="headerlink" href="#hello-world" title="Permanent link">&para;</a></h1>
<p><em>Date: 12 Sep 2023</em></p>
<p><em>Time: 2:39 AM (GMT+6)</em></p>
<h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">&para;</a></h2>
<p>We are excited to announce the launch <strong>Radon</strong> - a new open source programming language for the modern world. The language is designed to be simple, fast, and safe while incorporating modern language features such as type inference, pattern matching, and more. A key goal of the language is to be easy to learn and use, while still being powerful enough to build complex applications. It is also designed to be easy to embed in other applications, and to be used as a scripting language. The language is currently in the early stages of development, and we are looking for contributors to help us build the language.</p>
<p>We are excited to announce the launch <strong>Radon</strong> -
a new open source programming language for the modern world.
The language is designed to be simple, fast, and safe while incorporating modern
language features such as type inference, pattern matching, and more.
A key goal of the language is to be easy to learn and use, while still being
powerful enough to build complex applications. It is also designed to be easy
to embed in other applications, and to be used as a scripting language.
The language is currently in the early stages of development, and we are
looking for contributors to help us build the language.</p>
<h2 id="about-the-author">About the author<a class="headerlink" href="#about-the-author" title="Permanent link">&para;</a></h2>
<p><a href="https://almasali.net" title="Md. Almas Ali - Software Engineer"><strong>Md. Almas Ali</strong></a> is a software engineer and a programming language enthusiast. He is the creator of the Radon programming language. He has a lot of projects in his GitHub profile. Checkout his <a href="https://github.com/Almas-Ali" title="Md. Almas Ali on GitHub">GitHub profile</a> for more information.</p>
<p><a href="https://almasali.net" title="Md. Almas Ali - Software Engineer"><strong>Md. Almas Ali</strong></a> is a software engineer and a programming language
enthusiast. He is the creator of the Radon programming language. He has a lot
of projects in his GitHub profile. Checkout his <a href="https://github.com/Almas-Ali" title="Md. Almas Ali on GitHub">GitHub profile</a>
for more information.</p>
<p>Created on: 12 Sep 2023 - 2:39 AM (GMT+6)</p>



Expand All @@ -877,7 +930,6 @@ <h2 id="about-the-author">About the author<a class="headerlink" href="#about-the



<script src="/flarelytics/client.js"></script>

</article>
</div>
Expand Down
Loading

0 comments on commit 9f689c6

Please sign in to comment.