From ea11f5962e48c725fc7ada8012b4511a6caa66f8 Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Wed, 21 Jan 2026 16:26:54 +1100 Subject: [PATCH] Update docs --- docs/index.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 6fb4129..e786a3b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -23,6 +23,7 @@
  • input(string msg) string
  • print(string msg) string
  • println(string msg) string
  • +
  • Native Compiler
  • @@ -38,7 +39,7 @@

    Example usage:

    solstice fib.sols -o fib.grnd
    @@ -168,6 +169,19 @@ if guess == "password123" {
    println("Hello, World!")
    +
    +

    Native Compiler

    +

    Ground has recently added a Ground->Native compiler which allows much faster execution of Ground programs.

    +

    However, this is quite early in development, and only supports some features:

    + +

    To try the native compiler, use this command:

    +
    solstice program.sols -o program -t native --nostdlib
    +

    Debugging

    +

    Solstice will create a temporary folder in your current directory which you can remove called ".(outputname)_solsbuild". In this folder is the assembly and object file generated by the compiler. If you think that there's a bug with Ground or Solstice, you can use these to find the issue.

    +