std library

Universal std base module builder for the ball programming language.

The std module defines language-agnostic operations that every target language compiler implements natively: arithmetic, comparison, logical, control flow, error handling, etc.

This file is the single source of truth for the universal base. Each language-specific compiler (Dart, Go, Python, …) adds its own extension module on top of std.

Functions

buildStdModule() Module
Builds the universal std base module with language-agnostic types and functions.