boostorg / boostorg/parser

Please provide an example for parsing a file

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
182
Forks
28
PR merge metrics
No merged PRs in 30d

Description

In spirit x3 we could use

```
#include

typedef boost::spirit::istream_iterator iterator_t;

std::ifstream stream(file);
iterator_t iterator(stream);

const bool ok = x3::phrase_parse
(
iterator, iterator_t(),
,
,

);
```

What is your design to do this job in boost::parser now?
The solution should be part of the documentation.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.