![]() |
Expressionist
Header-only C++20 evaluator of algebraic expressions embedded in JSON fields
|
#include <expressionist.hpp>
Inherits std::exception.
Thrown on any evaluation failure: a JSON parse error, a malformed expression, an undefined variable or constant, or a circular dependency. what() carries the offending field's path and expression text, e.g. ‘In ’/a' ("$missing + 1"): Undefined variable or constant: 'missing'`.