Skip to content

Experimental documentation — Work in progress

This page has not completed the documentation audit. Current documentation version: experimental.

Why Sagan works this way

Programming-language choices affect how code feels long before they affect the compiler. These pages explain Sagan's major choices in ordinary language:

  • Philosophy explains the simulation-first focus, explicit types, composition, and visible mutation.
  • Goals and non-goals defines what the initial language is trying to solve and what it deliberately leaves for later.
  • Determinism explains which results Sagan promises to repeat and where floating point, operating systems, and future libraries set limits.
  • Native units of measure explains how the compiler can distinguish meters from seconds without storing a unit beside every number.

You can use Sagan without reading these pages first. Return to them when you want to understand why a rule exists or what tradeoff it creates.