From e0fb187a7cbc0ee5c2ae8fa62c9c0ea5b1188d05 Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Wed, 24 Dec 2025 22:04:03 +1100 Subject: [PATCH] Update docs --- docs/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index ece8f11..077d54b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -58,9 +58,8 @@ puts "You can print out anything with puts!"
x = 5
puts x

Types are automatically inferred by Solstice.

Maths

-

Note: math is currently in beta. Order of Operations is harder to implement than I thought lol

You can use + (add), - (subtract), * (multiply), and / (divide) to do math.

-

Math operations take two values on either side, and perform the operation.

+

Math operations take two values on either side, and perform the operation. Order of operations is supported.

x = 5 + 3
y = 10
puts x + y

Control Flow and Equalities

Solstice supports if and while statements, as well as the ==, !=, >, >=, <, and <= operations.