EXS — Expression Solver
The EXS (Expression Solver) module provides the general parsing and
evaluation infrastructure for expressions in SciNumTools. It is designed
as a flexible foundation on which specialized expression solvers can be
built by defining the available operations and their evaluation order.
This makes it possible to create domain-specific expression languages without implementing a separate parser and evaluation engine for each application. Operations may represent numerical, logical, mathematical, or domain-specific functionality, while EXS takes care of their interpretation and evaluation.
PUQ and DIP build their specialized solvers on EXS. Its configurable parser and evaluation steps let those modules share expression infrastructure.
Concepts and model — atoms, solvers, operators, steps, settings, and composition graphs.
Getting started — evaluate a first expression with the default atom and operators.
Workflows — evaluate, inspect structure, replace operator configuration, and pass application settings.
Solver usage and composition graphs — the detailed evaluation path and graph semantics.
Operators and evaluation order — choose operator symbols and specify the order in which operations run.
Custom atoms and operations — add a new operator, its evaluation step, and application-specific atom behavior.
Solver settings — pass application data to atom parsing and operator evaluation.
Limits and compatibility — expression, extension, graph, and interface boundaries.