DIP — Dimensional Input Parameters
The DIP (Dimensional Input Parameters) module brings the individual
capabilities of SciNumTools together into a powerful system for defining
and working with scientific input data. Through DIPL (Dimensional Input
Parameter Language), parameters become more than simple numbers: they can
carry types, units, defaults, constraints, expressions, and dependencies
within a single consistent definition.
DIP turns a collection of loosely managed input values into a structured, self-describing parameter model. Relationships between parameters can be expressed directly, allowing derived values and logical conditions to be defined alongside the parameters themselves rather than hidden in application code.
Built on VAL, EXS, and PUQ, DIP provides a common foundation for scientific applications where input data needs to be expressive, consistent, and reproducible. The result is a parameter system that can capture not only what a value is, but also what it means, how it is calculated, and what constraints it must satisfy.
Concepts and model — parser, environment, cursor, inspection, schemas, overrides, projects, and snapshots.
Getting started — register DIPL text, evaluate it, and read a known value.
Workflows — load projects, apply overrides, inspect, persist, export, and compare.
Parsing and environments — source registration, environment access, schemas, and overrides.
DIPfile projects — reusable manifests for complete parameter environments.
Inspecting and reloading environments — reading evaluated values and provenance through a small C++ API.
Environment persistence — saving, loading, and comparing evaluated environments in DIPH5 format.
Traceability and source identities — following DIPL inputs and registered constructs through diagnostics and DIPH5.
Inspect, propose, preview, review — the user-facing cycle for checked parameter proposals.
Static parameter generation — exporting evaluated environments as native source code or data files.
Application adapters — generating one or more application-specific files from an evaluated environment.
C++ report generation — Brief++ reports of evaluated environments.
CMake integration — evaluate DIPL while configuring a project.
DIPL developer tools — format, validate, and lint DIPL source.
Parameter Viewer — graphical DIPL and DIPH5 browser and source editor.
Limits and compatibility — evaluation, persistence, project-bundle, report, and interface boundaries.
Interfaces
The C++ API above is the native implementation. Applications can use DIP through any of the following interfaces:
Python — load DIPL sources, DIPfile projects, and DIPH5 snapshots.
C ABI — parse and inspect DIPL through opaque handles.
Rust — load projects and read typed nodes.
WebAssembly and JavaScript — parse, validate, override, and inspect DIPL in the browser.
Command line — parse, compare, export, and report with
snt dip.