Solstice
A programming language focused on ease of use.
Features
Small and fast
Solstice's compiler is 1833 lines of C++, and compiles code at lightning speed.
Built on Ground
Solstice compiles for the Ground VM, a speedy, light platform. It can even compile to a native executable.
Simple syntax
Solstice feels familiar, but light. There's no quirks in the syntax, just pure bliss.
Examples
92nd Fibonacci Number
a = 0
b = 1
n = 92
i = 0
while i != n {
temp = a + b
a = b
b = temp
i = i + 1
}
puts a
Guess The Password
accessNotGranted = true
while accessNotGranted {
password = input("Password: ")
if password == "dingus" {
accessNotGranted = false
}
if password != "dingus" {
puts "Incorrect password!"
}
}
puts "Welcome!"
Count to 100,000
number = 0
while number < 100000 {
number = number + 1
puts number
}
Getting Solstice
Solstice is an in-development language, and you can find the latest code on the Git repository. At present, the stability of Solstice is questionable, so don't trust it to handle your nuclear codes or anything like that yet.
This script will automatically build and install Solstice and Ground from source for you, or update them if they are already installed.
bash -c "$(curl -fsSL https://sols.dev/install.sh)"
If you find any issues while trying Solstice, please report them here! Solstice needs all the help it can get.
Stable-ish builds are avaliable in the releases tab of the Git repository. These builds are likely to be more stable, but don't treat them as a stable branch yet.
Once you've installed, read the docs to get started.