Re: General concepts of grammar and file-parsing

Sebastian Gsänger <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <CAORbcvSDepouDA21POaRQ1OTQLadu4q+2cNrXRp4CiyphiR5TQ@mail.gmail.com>
2016-11-16 21:04 GMT+01:00 Mike Gresens <[email protected]>:

> IMO you always need iterators to work with boost spirit...
>
> So... Yes, it is preferable!
> The spirit::istream_iterator works with all std::istream's (e.g.
> std::ifstream and std::istringstream).
> Follow the example from
> http://boost-spirit.com/home/2010/01/05/stream-based-parsing-made-easy/
>
> Best regards,
> Mike...
>
>
Thanks for your input!
I will try my luck with this approach.

Still, can anyone help me understand the stream interface?

Regards,
Sebastian

------------------------------------------------------------------------------

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.