Limits and compatibility

EXS is expression infrastructure, not a complete language by itself. The atom and operator definitions determine operand semantics, supported types, and domain behavior.

  • The default Atom handles numeric and Boolean values. Strings, arrays, and application-specific values require a custom atom and matching operators.

  • An operator is usable only when it is registered in OperatorList and scheduled in a compatible StepList category. Passing custom lists replaces the corresponding defaults.

  • Recognition order and evaluation order are separate. Overlapping symbols must be registered in a safe order, while precedence is controlled by the step order.

  • A custom atom’s parse method may retain state only if the corresponding parse_for_composition behavior can consume the same syntax without evaluation-only state.

  • CompositionGraph is syntactic. It records operands, operators, groups, and their nesting; it does not resolve DIP references, record selected branches, or store intermediate values.

  • EXS has no standalone command-line interface. PUQ and DIP expose their own expression and parameter interfaces on top of the native solver.

See the C++ API reference and the runnable EXS examples for declarations and complete solver projects.