From d16d6bd809edf735680c436dee9f6b21e3c69b07 Mon Sep 17 00:00:00 2001
From: Maxwell Jeffress
Date: Sun, 28 Dec 2025 14:12:47 +1100
Subject: [PATCH] updates
---
docs/index.html | 19 ++++++++++++++-----
docs/node_modules/.mf/cf.json | 1 +
index.html | 2 +-
playground/index.html | 3 +--
4 files changed, 17 insertions(+), 8 deletions(-)
create mode 100644 docs/node_modules/.mf/cf.json
diff --git a/docs/index.html b/docs/index.html
index e9e6990..4b520ca 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -85,11 +85,20 @@ while number < 10 {
number = number + 1
puts number
}
-
-
Calling Functions
-
Function calling is done like in most other programming languages, with the syntax function(arg1, arg2, arg3).
-
That's it!
-
You now know everything you need to know about Solstice to start programming! You can continue reading for more information.
+
+
Functions
+
Note: Functions in Solstice are currently in beta. Type checking for functions is currently experimental, and arguments may not work as intended. Be warned!
+
In Solstice, function definitions have a syntax like this:
def functionName(type arg1, type arg2, type arg3) returnType { // code goes here }
+
Your types can be int, double, string, bool, or char (see the "Type System" section for more details)
+
Return a value (which must be the same type as your returnType) with return value.
+
Here's an example function:
+
def add(int a, int b) int {
+ return a + b
+}
+
Calling Functions
+
Function calling is done like in most other programming languages, with the syntax function(arg1, arg2, arg3).
+
That's it!
+
You now know everything you need to know about Solstice to start programming! You can continue reading for more information.
Type System
diff --git a/docs/node_modules/.mf/cf.json b/docs/node_modules/.mf/cf.json
new file mode 100644
index 0000000..cdc6361
--- /dev/null
+++ b/docs/node_modules/.mf/cf.json
@@ -0,0 +1 @@
+{"httpProtocol":"HTTP/1.1","clientAcceptEncoding":"gzip, deflate, br","requestPriority":"","edgeRequestKeepAliveStatus":1,"requestHeaderNames":{},"clientTcpRtt":12,"colo":"SYD","asn":9443,"asOrganization":"Vocus","country":"AU","isEUCountry":false,"city":"Sydney","continent":"OC","region":"New South Wales","regionCode":"NSW","timezone":"Australia/Sydney","longitude":"151.20732","latitude":"-33.86785","postalCode":"1001","tlsVersion":"TLSv1.3","tlsCipher":"AEAD-AES256-GCM-SHA384","tlsClientRandom":"daX8oL41wKEGQv5d7pl4Gz+FvxZY9qRPz8AwU1lq8WE=","tlsClientCiphersSha1":"kXrN3VEKDdzz2cPKTQaKzpxVTxQ=","tlsClientExtensionsSha1":"1eY97BUYYO8vDaTfHQywB1pcNdM=","tlsClientExtensionsSha1Le":"u4wtEMFQBY18l3BzHAvORm+KGRw=","tlsExportedAuthenticator":{"clientHandshake":"a677c57d6ea9007a40767d4e57b68c110114325d39d60b2863517e495f5fedb47b6d65db6b0b732420c3a845ebb9b7b7","serverHandshake":"290d01a7b75e9b8739f14abab625c4d18a458ef4c344c21deb141ecffdff506b7c06bd96ce86ac94b6600c255d8d6daa","clientFinished":"0635e92b7ba2caac307410878e7c35778b416890d460bf90703cc6c5ce869e41c1a62fe172c6ceffb734bbc20b41f426","serverFinished":"43843c9f186775a525ccd2c5e0769602e4572abca8075253c01eb26cb908e0c5281c55dbb3a93302a2304a7a45546e73"},"tlsClientHelloLength":"1603","tlsClientAuth":{"certPresented":"0","certVerified":"NONE","certRevoked":"0","certIssuerDN":"","certSubjectDN":"","certIssuerDNRFC2253":"","certSubjectDNRFC2253":"","certIssuerDNLegacy":"","certSubjectDNLegacy":"","certSerial":"","certIssuerSerial":"","certSKI":"","certIssuerSKI":"","certFingerprintSHA1":"","certFingerprintSHA256":"","certNotBefore":"","certNotAfter":""},"verifiedBotCategory":"","botManagement":{"corporateProxy":false,"verifiedBot":false,"jsDetection":{"passed":false},"staticResource":false,"detectionIds":{},"score":99}}
\ No newline at end of file
diff --git a/index.html b/index.html
index c7f4eff..8350d93 100644
--- a/index.html
+++ b/index.html
@@ -25,7 +25,7 @@
Small and fast
-
Solstice's compiler is 1216 lines of C++, and compiles code at lightning speed.
+
Solstice's compiler is 1833 lines of C++, and compiles code at lightning speed.