SP
SP Docsdocs.splang.shantopaul.com
v1.0.0
Main SiteRegistryGitHub

Getting Started

  • Introduction & Overview
  • Installation
  • First Program (Hello SP)
  • Project Scaffolding (spm)

Language Tour & Syntax

  • Syntax Overview
  • Variables & Constants
  • Primitive & Complex Types
  • Control Flow & Matching
  • Functions & Closures
  • OOP, Classes & Structs
  • Zero-Cost Generics
  • Lambdas & Higher-Order
  • Null Safety & Operators

Standard Library (stdlib)

  • Stdlib Overview
  • std.io (Console I/O)
  • std.string (String Utils)
  • std.math (Math & Trig)
  • std.collections (List, Map, Set)
  • std.fs (File System)
  • std.time (Clock & Duration)
  • std.os (Environment & System)
  • std.process (Execution & IPC)

Developer Tooling

  • Toolchain Overview
  • Compiler CLI (spc)
  • Package Manager (spm)
  • Code Formatter (spc fmt)
  • Native Test Runner (spc test)
  • Doc Generator (spc doc)
  • Language Server (spls)
  • DAP Debugger (spd)
  • VS Code Extension

Performance & Architecture

  • 7-Language Benchmarks
DocsStandard Library

SP Core Standard Library

SP ships with 8 self-contained, native standard library modules designed for day-to-day systems and application development without external C dependencies.

std.io

Console printing, input reading, and formatted streaming.

std.string

String manipulation, UTF-8 parsing, search, and transforms.

std.math

Trigonometric functions, square roots, powers, min/max, constants.

std.collections

Dynamic arrays, HashMaps, Sets, and iterator utilities.

std.fs

Filesystem file reading, writing, directory walking, file exists.

std.time

Monotonic timestamps, formatting, sleep delays, Duration.

std.os

Environment variables, CLI argument arrays, and platform metadata.

std.process

Subprocess spawning, command execution, and exit codes.

PreviousNull SafetyNextstd.io Reference

© 2026 SP Programming Language. Developed by Shanto Paul.

Edit this page on GitHub•Official Website