Skip to content

Commit

Permalink
Deploying to gh-pages from @ 605f724 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah629 committed Jul 13, 2023
1 parent e6aa74c commit 444e6fe
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 42 deletions.
4 changes: 2 additions & 2 deletions conditional-branching.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ <h1 id="conditional-branching"><a class="header" href="#conditional-branching">C
# Code
}
</code></pre>
<p>The else keyword is <code>isnt</code>.</p>
<p>The else keyword is <code>isn't</code>.</p>
<p>Standard form:</p>
<pre><code class="language-redditlang">is &lt;EXPR&gt; {
# Code
} isnt {
} isn't {
# Code
}
</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ <h1 class="menu-title">The RedditLang Reference</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<div style="text-align:center">
<div style="text-align:center" align="center">
<picture>
<source srcset="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-light.png?raw=true" media="(prefers-color-scheme: dark)" width="450"/>
<img src="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-dark.png?raw=true" width="450"/>
</picture>
</div>
<hr />
<div style="text-align:center">
<div style="text-align:center" align="center">
<p><img src="https://img.shields.io/github/contributors/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub contributors" />
<img src="https://img.shields.io/github/license/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub" />
<img src="https://img.shields.io/visual-studio-marketplace/last-updated/elijah629.redditlang?style=for-the-badge&amp;logo=visualstudiocode&amp;logoColor=007ACC&amp;labelColor=000&amp;color=007ACC" alt="Visual Studio Marketplace Last Updated" />
Expand Down
4 changes: 2 additions & 2 deletions introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ <h1 class="menu-title">The RedditLang Reference</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<div style="text-align:center">
<div style="text-align:center" align="center">
<picture>
<source srcset="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-light.png?raw=true" media="(prefers-color-scheme: dark)" width="450"/>
<img src="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-dark.png?raw=true" width="450"/>
</picture>
</div>
<hr />
<div style="text-align:center">
<div style="text-align:center" align="center">
<p><img src="https://img.shields.io/github/contributors/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub contributors" />
<img src="https://img.shields.io/github/license/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub" />
<img src="https://img.shields.io/visual-studio-marketplace/last-updated/elijah629.redditlang?style=for-the-badge&amp;logo=visualstudiocode&amp;logoColor=007ACC&amp;labelColor=000&amp;color=007ACC" alt="Visual Studio Marketplace Last Updated" />
Expand Down
5 changes: 3 additions & 2 deletions primitive-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,12 @@ <h2 id="foolean"><a class="header" href="#foolean">Foolean</a></h2>
</div>
<h2 id="string"><a class="header" href="#string">String</a></h2>
<ul>
<li>An array of characters.</li>
<li>An array of characters, denoted with two double quotes ( &quot; )</li>
<li>You can use escape sequences inside of strings</li>
</ul>
<h2 id="number"><a class="header" href="#number">Number</a></h2>
<ul>
<li>f64s' or doubles</li>
<li>Decimal support</li>
<li>Positive by default</li>
<li>Doesn't require a <code>&lt;SIGN&gt;</code></li>
<li>Standard form:</li>
Expand Down
56 changes: 37 additions & 19 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ <h1 class="menu-title">The RedditLang Reference</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<div style="text-align:center">
<div style="text-align:center" align="center">
<picture>
<source srcset="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-light.png?raw=true" media="(prefers-color-scheme: dark)" width="450"/>
<img src="https://github.com/elijah629/redditlang/blob/main/assets/redditLang-dark.png?raw=true" width="450"/>
</picture>
</div>
<hr />
<div style="text-align:center">
<div style="text-align:center" align="center">
<p><img src="https://img.shields.io/github/contributors/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub contributors" />
<img src="https://img.shields.io/github/license/elijah629/redditlang?style=for-the-badge&amp;logo=github&amp;labelColor=1c2128&amp;color=22272e" alt="GitHub" />
<img src="https://img.shields.io/visual-studio-marketplace/last-updated/elijah629.redditlang?style=for-the-badge&amp;logo=visualstudiocode&amp;logoColor=007ACC&amp;labelColor=000&amp;color=007ACC" alt="Visual Studio Marketplace Last Updated" />
Expand Down Expand Up @@ -366,11 +366,11 @@ <h2 id="license"><a class="header" href="#license">License</a></h2>
# Code
}
</code></pre>
<p>The else keyword is <code>isnt</code>.</p>
<p>The else keyword is <code>isn't</code>.</p>
<p>Standard form:</p>
<pre><code class="language-redditlang">is &lt;EXPR&gt; {
# Code
} isnt {
} isn't {
# Code
}
</code></pre>
Expand Down Expand Up @@ -554,11 +554,12 @@ <h2 id="foolean"><a class="header" href="#foolean">Foolean</a></h2>
</div>
<h2 id="string"><a class="header" href="#string">String</a></h2>
<ul>
<li>An array of characters.</li>
<li>An array of characters, denoted with two double quotes ( &quot; )</li>
<li>You can use escape sequences inside of strings</li>
</ul>
<h2 id="number"><a class="header" href="#number">Number</a></h2>
<ul>
<li>f64s' or doubles</li>
<li>Decimal support</li>
<li>Positive by default</li>
<li>Doesn't require a <code>&lt;SIGN&gt;</code></li>
<li>Standard form:</li>
Expand Down Expand Up @@ -674,10 +675,10 @@ <h2 id="feilds"><a class="header" href="#feilds">Feilds</a></h2>
<p>The build system is <code>walter</code>.<br />
The standard debugger is <code>jesse</code>.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="walter"><a class="header" href="#walter">Walter</a></h1>
<p>How to create a new project</p>
<h2 id="how-to-create-a-new-project"><a class="header" href="#how-to-create-a-new-project">How to create a new project</a></h2>
<ol>
<li>Navigate to your project folder in your command line.</li>
<li>Run <code>walter new &lt;PACKAGE_NAME&gt;</code> to initialize a new project, if you don't specify a name it is created in the current directory with the current directories name if it is empty.</li>
<li>Run <code>walter rise &lt;PACKAGE_NAME&gt;</code> to initialize a new project, if you don't specify a name it is created in the current directory with the current directories name if it is empty.</li>
</ol>
<p>Default project structure</p>
<ul>
Expand All @@ -691,26 +692,43 @@ <h2 id="feilds"><a class="header" href="#feilds">Feilds</a></h2>
<pre><code class="language-redditlang">name: &lt;NAME&gt;
version: &lt;SEMVER_VERSION_NUMBER&gt;
</code></pre>
<p>Building</p>
<h2 id="cli-documentation"><a class="header" href="#cli-documentation">CLI Documentation</a></h2>
<p>You can also run <code>walter help &lt;COMMAND&gt;</code> to see info about a specific command, or to see info about the entire program. You can add <code>--help</code> or <code>-h</code> to get help aswell.
To print the version run <code>walter -V</code> or <code>walter --version</code></p>
<p>walter <code>&lt;COMMAND&gt;</code></p>
<ul>
<li>
<p>The command to build a project is <code>cook</code>.</p>
<p><code>cook [OPTIONS]</code> <strong>Builds a program</strong></p>
<p><strong>Options</strong></p>
<ul>
<li><code>-r</code>, <code>--release</code> Enables release mode, longer build but more optimizations</li>
<li><code>-a</code>, <code>--assembly</code> Compiles LLVM to an assembly file instead of an object file before linking</li>
<li><code>-n</code>, <code>--no-std</code> Does not link the standard library</li>
</ul>
</li>
<li>
<p>Standard form:</p>
<pre><code class="language-redditlang">walter cook
</code></pre>
</li>
<p><code>serve [OPTIONS] [ARGS]...</code> <strong>Builds and runs a program</strong></p>
<p><strong>Arguments</strong></p>
<ul>
<li><code>[ARGS]...</code> Optional arguments to pass to the program</li>
</ul>
<p>Cleaning</p>
<p><strong>Options</strong></p>
<ul>
<li><code>-r</code>, <code>--release</code> Enables release mode, longer build but more optimizations</li>
<li><code>-a</code>, <code>--assembly</code> Compiles LLVM to an assembly file instead of an object file before linking</li>
<li><code>-n</code>, <code>--no-std</code> Does not link the standard library</li>
<li><code>-s</code>, <code>--show-ir</code> Shows the LLVM IR when compiling</li>
</ul>
</li>
<li>
<p>The command to remove build directory is <code>clean</code>.</p>
<p><code>clean</code> <strong>Removes build dir</strong></p>
</li>
<li>
<p>Standard form:</p>
<pre><code class="language-redditlang">walter clean
</code></pre>
<p><code>rise [NAME]</code> <strong>Creates a new walter project</strong></p>
<p><strong>Arguments</strong></p>
<ol>
<li><code>[NAME]</code> If you don't specify a name it is created in the current directory with the current directories name if it is empty</li>
</ol>
</li>
</ul>
<div style="break-before: page; page-break-before: always;"></div><h1 id="jesse"><a class="header" href="#jesse">Jesse</a></h1>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

43 changes: 30 additions & 13 deletions walter.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ <h1 class="menu-title">The RedditLang Reference</h1>
<div id="content" class="content">
<main>
<h1 id="walter"><a class="header" href="#walter">Walter</a></h1>
<p>How to create a new project</p>
<h2 id="how-to-create-a-new-project"><a class="header" href="#how-to-create-a-new-project">How to create a new project</a></h2>
<ol>
<li>Navigate to your project folder in your command line.</li>
<li>Run <code>walter new &lt;PACKAGE_NAME&gt;</code> to initialize a new project, if you don't specify a name it is created in the current directory with the current directories name if it is empty.</li>
<li>Run <code>walter rise &lt;PACKAGE_NAME&gt;</code> to initialize a new project, if you don't specify a name it is created in the current directory with the current directories name if it is empty.</li>
</ol>
<p>Default project structure</p>
<ul>
Expand All @@ -184,26 +184,43 @@ <h1 id="walter"><a class="header" href="#walter">Walter</a></h1>
<pre><code class="language-redditlang">name: &lt;NAME&gt;
version: &lt;SEMVER_VERSION_NUMBER&gt;
</code></pre>
<p>Building</p>
<h2 id="cli-documentation"><a class="header" href="#cli-documentation">CLI Documentation</a></h2>
<p>You can also run <code>walter help &lt;COMMAND&gt;</code> to see info about a specific command, or to see info about the entire program. You can add <code>--help</code> or <code>-h</code> to get help aswell.
To print the version run <code>walter -V</code> or <code>walter --version</code></p>
<p>walter <code>&lt;COMMAND&gt;</code></p>
<ul>
<li>
<p>The command to build a project is <code>cook</code>.</p>
<p><code>cook [OPTIONS]</code> <strong>Builds a program</strong></p>
<p><strong>Options</strong></p>
<ul>
<li><code>-r</code>, <code>--release</code> Enables release mode, longer build but more optimizations</li>
<li><code>-a</code>, <code>--assembly</code> Compiles LLVM to an assembly file instead of an object file before linking</li>
<li><code>-n</code>, <code>--no-std</code> Does not link the standard library</li>
</ul>
</li>
<li>
<p>Standard form:</p>
<pre><code class="language-redditlang">walter cook
</code></pre>
</li>
<p><code>serve [OPTIONS] [ARGS]...</code> <strong>Builds and runs a program</strong></p>
<p><strong>Arguments</strong></p>
<ul>
<li><code>[ARGS]...</code> Optional arguments to pass to the program</li>
</ul>
<p>Cleaning</p>
<p><strong>Options</strong></p>
<ul>
<li><code>-r</code>, <code>--release</code> Enables release mode, longer build but more optimizations</li>
<li><code>-a</code>, <code>--assembly</code> Compiles LLVM to an assembly file instead of an object file before linking</li>
<li><code>-n</code>, <code>--no-std</code> Does not link the standard library</li>
<li><code>-s</code>, <code>--show-ir</code> Shows the LLVM IR when compiling</li>
</ul>
</li>
<li>
<p>The command to remove build directory is <code>clean</code>.</p>
<p><code>clean</code> <strong>Removes build dir</strong></p>
</li>
<li>
<p>Standard form:</p>
<pre><code class="language-redditlang">walter clean
</code></pre>
<p><code>rise [NAME]</code> <strong>Creates a new walter project</strong></p>
<p><strong>Arguments</strong></p>
<ol>
<li><code>[NAME]</code> If you don't specify a name it is created in the current directory with the current directories name if it is empty</li>
</ol>
</li>
</ul>

Expand Down

0 comments on commit 444e6fe

Please sign in to comment.