16 #include <boost/fusion/include/std_pair.hpp>
17 #define BOOST_SPIRIT_USE_PHOENIX_V3
18 #include <boost/spirit/include/qi.hpp>
19 #include <boost/spirit/include/qi_parse.hpp>
20 #include <boost/phoenix.hpp>
21 #include <boost/phoenix/core.hpp>
22 #include <boost/phoenix/object.hpp>
23 #include <boost/phoenix/operator.hpp>
24 #include <boost/phoenix/statement.hpp>
25 #include <boost/phoenix/stl.hpp>
26 #include <boost/spirit/include/support_line_pos_iterator.hpp>
28 #include <carl-formula/model/Assignment.h>
31 #define PARSER_BITVECTOR
35 #define HANDLE_ERROR std::cout << "(unknown)" << std::endl; exit(123);
43 namespace spirit = boost::spirit;
44 namespace qi = boost::spirit::qi;
45 namespace px = boost::phoenix;
51 struct Skipper:
public boost::spirit::qi::grammar<Iterator> {
53 main = (boost::spirit::qi::space | boost::spirit::qi::lit(
";") >> *(boost::spirit::qi::char_ - boost::spirit::qi::eol) >> boost::spirit::qi::eol);
55 boost::spirit::qi::rule<Iterator>
main;
boost::spirit::line_pos_iterator< BaseIteratorType > PositionIteratorType
boost::spirit::istream_iterator BaseIteratorType
PositionIteratorType Iterator
Class to create the formulas for axioms.
boost::spirit::qi::rule< Iterator > main