Explicit state
Properties say whether a value is constant or mutable. Types are checked at runtime.
A programming language for APIs, CLI tools, automation, and database applications.
property set(const) idea: "bright";
func ship(idea<String>) -> String executes:
returns `Made ${idea}.`;
end;THE LANGUAGE
Write APIs, CLI tools, database applications, and libraries with the same runtime and CLI.
See the syntaxProperties say whether a value is constant or mutable. Types are checked at runtime.
HTTP, JSON, SQLite, validation, auth, configuration, and logging are built in.
Run source files directly or compile them to .sbc bytecode.
RUNNABLE SYNTAX
Each example runs in Spark 5.0.
property set(const) name: "world";
func greet(who<String>) -> String executes:
returns `Hello, ${who}!`;
end;
term::print(greet(name));Hello, world!TOOLCHAIN
Run, check, build, test, format, and debug from the spark command.
Interpreter and bytecode VM
Runtime types and strict static checks
Cached, verifiable .sbc artifacts
Built-in runner and assertions
VS Code, LSP, and debugger
Signed releases and containers