|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Provides all the include files needed to develop a parsing file that uses boost qi. More...
#include <boost/fusion/adapted.hpp>#include <boost/fusion/include/adapted.hpp>#include <boost/spirit/include/qi.hpp>#include <boost/phoenix.hpp>#include <boost/spirit/include/qi_core.hpp>#include <boost/phoenix/core.hpp>#include <boost/phoenix/operator.hpp>#include <boost/fusion/include/std_pair.hpp>#include <boost/phoenix/bind/bind_function.hpp>#include <boost/phoenix/object/construct.hpp>#include <boost/bind/bind.hpp>#include <boost/fusion/adapted/adt/adapt_adt.hpp>#include <boost/fusion/include/adapt_adt.hpp>#include <boost/spirit/include/support_istream_iterator.hpp>#include <algorithm>#include <iostream>#include <sstream>#include <stdexcept>#include <cctype>#include <cstring>#include <string>#include "bertini2/io/parsing/unicode_ident.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bertini |
| namespace | bertini::parsing |
| namespace | bertini::parsing::classic |
Macros | |
| #define | BOOST_SPIRIT_USE_PHOENIX_V3 1 |
| Select Boost.Phoenix V3 for the Spirit grammars in this header. | |
Functions | |
| void | bertini::parsing::classic::StripUTF8BOM (std::string &s) |
Strip a leading UTF-8 byte-order mark (EF BB BF) from s in place, if present. | |
| void | bertini::parsing::classic::StripClassicComments (std::string &s) |
Remove Bertini 1 comments from s in place: everything from a % to the end of its line. | |
| void | bertini::parsing::classic::StripClassicFileWrappers (std::string &s) |
| Unwrap a Bertini 1 classic input FILE down to the declarations the grammar reads. | |
| std::string | bertini::parsing::classic::FormatParseError (std::string::const_iterator begin, std::string::const_iterator end, std::string::const_iterator err_pos, boost::spirit::info const &what, std::string const &parser_name) |
| Format a human-readable parse-error message (line, column, expected, and found text). | |
| void | bertini::parsing::classic::ReportParseError (std::string::const_iterator begin, std::string::const_iterator end, std::string::const_iterator err_pos, boost::spirit::info const &what, std::string const &parser_name) |
| Report a parse error (via FormatParseError) to the log, for use in a Spirit on_error handler. | |
Provides all the include files needed to develop a parsing file that uses boost qi.
| #define BOOST_SPIRIT_USE_PHOENIX_V3 1 |
Select Boost.Phoenix V3 for the Spirit grammars in this header.