San Programming Language

A minimal, strictly evaluated language targeted for people who want to start programming.

Download Source Code Read Docs

Familiar & Simple Syntax

Designed to remove boilerplate and keep the code readable and structure.

Teaches Multiple Languages

Perfect for learning conventions from multiple languages such as C, C++, Java, Python, Rust.

Strict Interpreter

Predictable execution using AST-based evaluation and clean parsing rules.

Immutability First

Immutable variables can be defined using the 'const' keyword.

Prevents Accidental Reassignment

Use dedicated keyword 'flux' to reassign variables

main.san — Fibonacci example

# Fibonacci in San

func fib(n) {
    if n <= 1 {
        return n;
    }
    return fib(n-1) + fib(n-2);
}

dec result = fib(10);
stdout("Result:", result);