Skip to content

Experimental documentation — Work in progress

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

Standard-library status

Area Design status Implementation status
Built-in math availability Decided M0 operations implemented automatically
Math types and operations Direction settled; wider APIs open Minimal orbital M0 implemented
Physics as explicit first-party core library Decided P0/P1 plus solar Lagrange experiment implemented as sagan-physics 0.3.0
Rendering as explicit first-party core library Decided R0-R3 implemented as sagan-render 0.5.1
Module and package names Implemented for first slices render.window, render.canvas, physics.two_body, and current Lagrange modules
General standard-library boundary Open Not implemented
Basic output intrinsic Provisional print(value) implemented for the native subset

No physics, rendering, or general standard-library API beyond each library's documented implementation section should be inferred from the project's intended domains. Physical units are implemented by the language type system and available without importing physics; coordinate-frame identity remains deferred. The physics library builds on the native unit model rather than maintaining a parallel runtime wrapper.

The high-level core-library structure is decided. Math has its first narrow implementation slice, physics has independently versioned P0/P1 and solar experiment slices, and rendering has its first Windows 2D implementation; wider math, physics, and rendering work remains staged.

Core library Coupling Inclusion Status
Math Built into Sagan's language foundation Automatic M0 implemented
Physics First-party and tightly coupled to math; independently versioned Explicit import P0/P1 plus solar experiment implemented in 0.3.0
Rendering First-party and tightly coupled to math and simulation types Explicit import Windows R0-R3 implemented in 0.5.1; L1 packaged windowed demo verified on Windows

Open design work includes wider APIs, dependency boundaries, initialization behavior, and whether physics and rendering need smaller independently importable components.

The two-body window roadmap is the first cross-library implementation plan. Only milestones carrying an implementation status and checked commit are completed features.