2025-12-23 10:56:22 +11:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2025-12-23 21:28:40 +11:00
< meta name = "description" content " Solstice is a programming language focused on ease of use . " >
2025-12-23 10:56:22 +11:00
< link rel = "stylesheet" href = "index.css?v=1" >
< title > Solstice< / title >
< / head >
< body >
< div class = "main" >
< div class = "box" id = "main" >
< div class = "hero-content" >
2025-12-23 21:28:40 +11:00
< img src = "https://sols.dev/solstice.svg" width = "200" height = "200" alt = "Solstice logo" > < / img >
2025-12-23 10:56:22 +11:00
< h1 > Solstice< / h1 >
< p class = "big" > A programming language focused on ease of use.< / p >
2026-01-20 12:15:50 +11:00
< button onclick = "window.location.href = 'https://chookspace.com/max/solstice'" > View Code< / button >
2025-12-23 10:56:22 +11:00
< button onclick = "window.location.href = '#installing'" > Install< / button >
2025-12-23 21:28:40 +11:00
< button onclick = "window.location.href = '/playground'" > Try Online< / button >
2025-12-23 23:42:59 +11:00
< button onclick = "window.location.href = '/docs'" > View Docs< / button >
2025-12-23 10:56:22 +11:00
< / div >
< / div >
< div class = "box" >
< h2 > Features< / h2 >
< div class = "feature-row" >
< div class = "feature" >
< h3 > Small and fast< / h3 >
2025-12-28 14:12:47 +11:00
< p > Solstice's compiler is 1833 lines of C++, and compiles code at lightning speed.< / p >
2025-12-23 10:56:22 +11:00
< / div >
< div class = "feature" >
< h3 > Built on Ground< / h3 >
2026-01-27 14:32:05 +11:00
< p > Solstice compiles for the Ground VM, a speedy, light platform. It can even compile to a native executable.< / p >
2025-12-23 10:56:22 +11:00
< / div >
< div class = "feature" >
< h3 > Simple syntax< / h3 >
< p > Solstice feels familiar, but light. There's no quirks in the syntax, just pure bliss.< / p >
< / div >
< / div >
< / div >
< div class = "box" >
< h2 > Examples< / h2 >
< div class = "feature-row" >
< div class = "feature" >
< h3 > 92nd Fibonacci Number< / h3 >
< pre class = "code" >
< code > a = 0
b = 1
n = 92
i = 0
while i != n {
temp = a + b
a = b
b = temp
i = i + 1
}
puts a< / code > < / pre >
< / div >
< div class = "feature" >
< h3 > Guess The Password< / h3 >
< pre class = "code" >
< code > accessNotGranted = true
while accessNotGranted {
password = input("Password: ")
if password == "dingus" {
accessNotGranted = false
}
if password != "dingus" {
puts "Incorrect password!"
}
}
puts "Welcome!"< / code > < / pre >
< / div >
< div class = "feature" >
< h3 > Count to 100,000< / h3 >
< pre class = "code" >
< code > number = 0
while number < 100000 {
number = number + 1
puts number
}< / code > < / pre >
< / div >
< / div >
< / div >
< div class = "box" id = "installing" >
< h2 > Getting Solstice< / h2 >
2026-01-20 12:15:50 +11:00
< p > Solstice is an in-development language, and you can find the latest code on the < a href = "https://chookspace.com/max/solstice" > Git repository< / a > . At present, the stability of Solstice is questionable, so don't trust it to handle your nuclear codes or anything like that yet.< / p >
2025-12-23 10:56:22 +11:00
< p > This script will automatically build and install Solstice and Ground from source for you, or update them if they are already installed.< / p >
< pre class = "code" style = "overflow-y: auto" >
< code > bash -c "$(curl -fsSL https://sols.dev/install.sh)"< / code > < / pre >
2026-01-20 12:15:50 +11:00
< p > If you find any issues while trying Solstice, please report them < a href = "https://chookspace.com/max/solstice/issues" > here< / a > ! Solstice needs all the help it can get.< / p >
< p > Stable-ish builds are avaliable in < a href = "https://chookspace.com/max/solstice/releases" > the releases tab< / a > of the Git repository. These builds are likely to be more stable, but don't treat them as a stable branch yet.< / p >
2025-12-23 23:42:59 +11:00
< p > Once you've installed, < a href = "/docs" > read the docs< / a > to get started.< / p >
2025-12-23 10:56:22 +11:00
< / div >
< / div >
< / body >
< / html >