std::string type(const automaton &a)
The implementation type of a.
std::shared_ptr< ast_node > parse_type(const std::string &type)
Parse a type, and return its AST.
std::shared_ptr< ast_node > parse_context(const std::string &ctx)
Parse a context, and return its AST.