-
This code fails to compile:
```
#include
#include
#include
namespace x3 = boost::spirit::x3;
namespace ast {
struct tagged_string : std::string {};
enum token_enum {lcomment, rcommen…
-
```cpp
#include
#include
int main()
{
using boost::spirit::x3::eps;
using boost::spirit::x3::lit;
char const* const it = "";
int i;
char c;
boost::fusion::vector v;…
-
In Spirit.Qi, we had `qi::debug(...)` function for specifying custom debug handler.
https://github.com/boostorg/spirit/blob/889babc3839e12ac0bba448ecd7150956d17c783/include/boost/spirit/home/qi/nont…
saki7 updated
3 years ago
-
**When I try to install Mapnik, below error happens:**
_/usr/local/include/boost/spirit/home/x3/core/detail/parse_into_container.hpp:259:22: error: no member named 'insert' in
'boost::spirit…
-
In Spirit v3 (distributed with boost 1.60) the following code doesn't compile:
`double d1 = 0.0, d2 = 0.0;`
`x3::phrase_parse(begin, end, x3::double_ >> x3::double_, x3::space, d1, d2);`
The problem…
-
This code does not compile
```
#include
#include
#include
namespace x3 = boost::spirit::x3;
template
struct as_type{
template
constexpr auto operator[](E e) const {return x3…
-
In X3, matching a num by numeric parsers is not possible because numeric parsers do not have operator(), despite the docs stating the opposite.
https://www.boost.org/doc/libs/develop/libs/spirit/doc/…
-
unlike boost::recursive_wrapper, x3::forward_ast binds better to auto than to the underlying type.
```c++
#include
#include
#include
#include
#include
template struct overload_set {
…
-
Due to the lacking performance of ANTLR consider switching to a different parsing library.
Question: Is SPARQL context-free? (i.e. parsable with parser-combinators)
Answer: yes
Possible Librari…
-
The position returned by the error_handler where() points to the last successful parse point, not the beginning of the failure. Hence the error messaging is not very meaningful and does not match the…