Official SP Documentation
SP Language Documentation
Welcome to the official developer documentation for the SP Programming Language. Here you will find comprehensive guides, grammar references, standard library documentation, and tooling manuals.
SP 1.0.0 Production Release
SP 1.0.0 is officially released with LLVM native compilation, a standard library containing 8 modules, a built-in package manager, and full VS Code integration.
Installation Guide
Install the SP toolchain on Windows, Linux, or macOS in under a minute.
Language Tour
Learn the syntax: variables, control flow, functions, OOP, and generics.
Standard Library
Explore 8 core native modules: I/O, Strings, Math, Collections, FS, and OS.
Compiler & Toolchain
Master the spc compiler, spm package manager, formatter, and debugger.
Hello World in SP
Save this to hello.sp and run with spc run hello.sp:
hello.sp
1import std.io;23fn main() -> void {4 println("Hello, SP World!");5}