Re: General concepts of grammar and file-parsing
Mike Gresens <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Sebastian Gsänger wrote > Or is it preferable to utilize a modified iterator as in > http://boost-spirit.com/home/2010/01/05/stream-based-parsing-made-easy/ ? 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... -- View this message in context: http://boost.2283326.n4.nabble.com/General-concepts-of-grammar-and-file-parsing-tp4689946p4689958.html Sent from the spirit-general mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Spirit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spirit-general