9 #include <vcsn/dyn/registries.hh>
26 auto res = d.
parse(is);
41 "automaton input format",
49 auto res = map[f](
is);
50 return strip_p ?
strip(res) : res;
60 std::istream& is,
const std::string& f)
66 "expression input format",
98 bool is_quoted = map[f];
99 return detail::read_label_registry().call(ctx, is, is_quoted);
dyn::automaton parse(std::istream &is, const location_t &l=location_t{})
Parse this stream.
An expressionset can implement several different sets of identities on expressions.
automaton read_automaton(std::istream &is, const std::string &format="default", bool strip=true)
Read an automaton from a stream.
std::shared_ptr< const detail::label_base > label
A mapping from strings to Values.
automaton strip(const automaton &a)
The automaton in a with its metadata layers removed.
automaton read_efsm(std::istream &is)
std::shared_ptr< const detail::context_base > context
A dyn::context.
automaton read_fado(std::istream &is)
std::shared_ptr< detail::automaton_base > automaton
std::istringstream is
The input stream: the specification to translate.
static dyn::context ctx(const driver &d)
Get the context of the driver.
expression read_expression(const context &ctx, rat::identities ids, std::istream &is, const std::string &format="default")
Read an expression from a stream.
std::string errors
The error messages.
std::shared_ptr< detail::expression_base > expression
dyn::expression read(const dyn::context &ctx, rat::identities ids, std::istream &is, const location &l)
The expression in stream is.
static identities ids(const driver &d)
Get the identities of the driver.
State and public interface for Dot parsing.
rat::identities identities(const expression &exp)
Bridge.
label read_label(const context &ctx, std::istream &is, const std::string &format="default")
Read a label from a stream.