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
DocsDeveloper Tools

SP Developer Toolchain

SP includes a first-class, fully native developer tools suite installed alongside the compiler.

Compiler CLI (spc)

Build, run, syntax check, and cross-compile SP source code.

Package Manager (spm)

Initialize projects, resolve dependencies, and publish to the registry.

Code Formatter (spc fmt)

Format source trees with deterministic idempotency.

Native Test Runner (spc test)

Execute embedded test blocks with assertion assertions and filters.

Doc Generator (spc doc)

Generate Markdown and modern HTML documentation from /// comments.

Language Server (spls)

JSON-RPC 2.0 language server providing autocomplete, diagnostics, and hover.

DAP Debugger (spd)

Step through execution, set breakpoints, and inspect local variables.

VS Code Extension

Official editor integration with TextMate syntax highlighting and LSP.

Previousstd.process ReferenceNextCompiler CLI (spc)

© 2026 SP Programming Language. Developed by Shanto Paul.

Edit this page on GitHub•Official Website