15 auto res = d.parse(is, l);
16 if (!d.errors.empty())
17 throw std::runtime_error(d.errors);
dyn::expression read(const dyn::context &ctx, rat::identities ids, std::istream &is, const location &l)
The expression in stream is.
Template-less root for contexts.
An expressionset can implement several different sets of identities on expressions.
State and public interface for rational expression parsing.
static identities ids(const driver &d)
Get the identities of the driver.
value_impl< detail::expression_tag > expression
static dyn::context ctx(const driver &d)
Get the context of the driver.