Concepts and model

CORE provides the small shared vocabulary used by every other module. It does not own a runtime service or a persistent object model; instead, it defines types and helpers that keep diagnostics, formatting, and process execution consistent across the framework.

Data types

snt::core::DataType is a bit-flag description of scalar storage. Individual flags describe Boolean, string, character, signed and unsigned integer, and floating-point values. Group flags such as DataType::Integer and DataType::Float allow a caller to test a set of compatible types without listing every width.

The type name is metadata. It does not replace the C++ type of a value, and modules that store values must keep the data type, shape, and storage representation consistent.

Formatting

StringFormatType controls textual rendering: numeric notation, significant digits, uncertainty precision, scientific-notation threshold, padding, and string quoting. number_to_string applies those settings to individual numbers. The higher-level value and quantity modules build their own formatting on top of this vocabulary.

Diagnostics and exceptions

Diagnostic carries severity, a stable code, message, details, suggestion, optional node path, and source locations. SourceLocation identifies a source file or input name, line, optional column, and optional source text. Exceptions carry the same structured information through ExceptionInfo so callers can inspect a failure without parsing formatted text.

Process execution

ProcessResult records the exit status, captured output tail, and POSIX termination signal for a child process. process launches an argument vector directly without invoking a shell.

Continue with Getting started for a small formatting and diagnostic example, or Workflows for structured errors, data-type checks, and process execution.