Update site

This commit is contained in:
2026-03-01 16:11:52 +11:00
parent 6f9a630a7a
commit fdf7f5d2bf
2 changed files with 6 additions and 2 deletions

View File

@@ -38,6 +38,7 @@
<p>Solstice is a high level programming language. It compiles to Ground's bytecode.</p> <p>Solstice is a high level programming language. It compiles to Ground's bytecode.</p>
<h3>The <code>solstice</code> command</h3> <h3>The <code>solstice</code> command</h3>
<p>Solstice's compiler is invoked via the <code>solstice</code> command. It provides some options:</p> <p>Solstice's compiler is invoked via the <code>solstice</code> command. It provides some options:</p>
<p>Note: For now, as we transition to the C-based compiler, Solstice does not support extra flags, and can only run and print code (printing with the -p flag)</p>
<ul> <ul>
<li><code>-o</code> or <code>--output</code>: Tells Solstice where to output a compiled file.</li> <li><code>-o</code> or <code>--output</code>: Tells Solstice where to output a compiled file.</li>
<li><code>-t</code> or <code>--type</code>: Tells Solstice the type of file to output. <li><code>-t</code> or <code>--type</code>: Tells Solstice the type of file to output.

View File

@@ -25,7 +25,7 @@
<div class="feature-row"> <div class="feature-row">
<div class="feature"> <div class="feature">
<h3>Small and fast</h3> <h3>Small and fast</h3>
<p>Solstice's compiler is 1833 lines of C++, and compiles code at lightning speed.</p> <p>Solstice's compiler is ~3500 lines of C, and compiles code at lightning speed.</p>
</div> </div>
<div class="feature"> <div class="feature">
<h3>Built on Ground</h3> <h3>Built on Ground</h3>
@@ -62,7 +62,10 @@ puts a</code></pre>
<div class="feature"> <div class="feature">
<h3>Guess The Password</h3> <h3>Guess The Password</h3>
<pre class="code"> <pre class="code">
<code>accessNotGranted = true <code>
use io
accessNotGranted = true
while accessNotGranted { while accessNotGranted {
password = input("Password: ") password = input("Password: ")